Answered

how to write the code for, RoI eye is obtained by cropping eye area based on the central point of the eye.

Hi Vineesha As you wish to crop the central region of the eye in the image, these MATLAB answers link might help: <https:/...

how to write the code for, RoI eye is obtained by cropping eye area based on the central point of the eye.

Hi Vineesha As you wish to crop the central region of the eye in the image, these MATLAB answers link might help: <https:/...

2 years ago | 0

Answered

Do I create my own filter for dual tree discrete wavelet transform?

Hi Soo I am not sure as to what your requirement is, but this MATLAB Answers link speaks about implementation of Dual Tree Wa...

Do I create my own filter for dual tree discrete wavelet transform?

Hi Soo I am not sure as to what your requirement is, but this MATLAB Answers link speaks about implementation of Dual Tree Wa...

2 years ago | 0

Answered

Can someone explain to me the meaning of these numbers is this line of code?

Hi Nathan I think the documentation of the function 'fullyConnectedLayer' explains this accurately. 'WeightLearnRateFactor...

Can someone explain to me the meaning of these numbers is this line of code?

Hi Nathan I think the documentation of the function 'fullyConnectedLayer' explains this accurately. 'WeightLearnRateFactor...

2 years ago | 1

Answered

Write a script that will start with a rounded rectangle.

Hi Jabari This may not be exactly what you need, but I'm sure the following code can motivate you to write the code for your ...

Write a script that will start with a rounded rectangle.

Hi Jabari This may not be exactly what you need, but I'm sure the following code can motivate you to write the code for your ...

2 years ago | 0

Answered

Write a function ball that calculates the trajectory of a volleyball in 2 dimensions numerically using the Euler method

Hi Munther Check out this code: clear x,y,theta,u,n,g,h,u0; x(1) = 0; y(1) = 0; g = 9.81; h = 5; u0 = 80; theta = pi ...

Write a function ball that calculates the trajectory of a volleyball in 2 dimensions numerically using the Euler method

Hi Munther Check out this code: clear x,y,theta,u,n,g,h,u0; x(1) = 0; y(1) = 0; g = 9.81; h = 5; u0 = 80; theta = pi ...

2 years ago | 0

Answered

Significance of cross-validation in tuning weights in CNN

Hi Venkat The validation set is separate from the training set, and hence they do not influence the filter-weights. The v...

Significance of cross-validation in tuning weights in CNN

Hi Venkat The validation set is separate from the training set, and hence they do not influence the filter-weights. The v...

2 years ago | 0

| accepted

Answered

I need a loop for an unknown amount of variables

Hi Christina I am attaching a code fragment which would help you: data=xlsread('bank_data.xlsx') accounts={'1','2','3...

I need a loop for an unknown amount of variables

Hi Christina I am attaching a code fragment which would help you: data=xlsread('bank_data.xlsx') accounts={'1','2','3...

2 years ago | 0

Solved

Volume of a Parallelepiped

Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex. A cube is a special case ...

2 years ago

Solved

Circumscribed circles

Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

2 years ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

2 years ago

Solved

Similar Triangles - find the height of the tree

Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

2 years ago

Solved

Are all the three given point in the same line?

In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

2 years ago

Solved

Angle between two vectors

You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

2 years ago

Solved

Right and wrong

Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

2 years ago

Solved

The Goldbach Conjecture, Part 2

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

2 years ago

Solved

Subset Sum

Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

2 years ago

Solved

Quote Doubler

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

2 years ago

Solved

Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

2 years ago

Solved

Connect Four Win Checker

<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

2 years ago

Solved

Remove all the words that end with "ain"

Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

2 years ago

Solved

Return a list sorted by number of occurrences

Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

2 years ago

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

2 years ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

2 years ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

2 years ago

Solved

Word Counting and Indexing

You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

2 years ago

Answered

How can I fix my uicontrol script?

Hi Travis The following code should do the trick. global exe; exe=1; main_menu=uicontrol('Style','pushbutton','Positi...

How can I fix my uicontrol script?

Hi Travis The following code should do the trick. global exe; exe=1; main_menu=uicontrol('Style','pushbutton','Positi...

2 years ago | 0

| accepted

Answered

Is there a way to return variable names instead of values when constructing TF?

Hi Alex Unfortunately the only certain variables permitted to print out as transfer function. If you try to give other names ...

Is there a way to return variable names instead of values when constructing TF?

Hi Alex Unfortunately the only certain variables permitted to print out as transfer function. If you try to give other names ...

2 years ago | 0

Answered

How to fold up code in live script?

Hi Pierre I think this link can help you: <https://www.mathworks.com/matlabcentral/answers/34534-is-there-a-way-to-fold-up...

How to fold up code in live script?

Hi Pierre I think this link can help you: <https://www.mathworks.com/matlabcentral/answers/34534-is-there-a-way-to-fold-up...

2 years ago | 0

Answered

MATLAB Online Font Type

Hi Shah The font seems to be Bitstream Vera Sans Monospaced. Andale Mono also looks pretty similar. More details are availabl...

MATLAB Online Font Type

Hi Shah The font seems to be Bitstream Vera Sans Monospaced. Andale Mono also looks pretty similar. More details are availabl...

2 years ago | 1

| accepted

Solved

Get the area codes from a list of phone numbers

Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

2 years ago