Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

9 months ago

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

9 months ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

9 months ago

Solved

Getting the indices from a vector

This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

9 months ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

10 months ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

10 months ago

Solved

Maximum value in a matrix

Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

10 months ago

Solved

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

10 months ago

Question

complex values are not supported for video data matlab

I have made an app in MATLAB app designer. Function of this app is to display videos corresponding to given input. My app is wor...

10 months ago | 1 answer | 0

Question

MATLAB designed app not working after exporting it to system

1) I had designed a MATLAB app in app designer. It is running successfully and a GUI window opens. I give inputs and correspondi...

10 months ago | 1 answer | 0

Answered

remove the empty values

Please take hint/help from the following link: https://in.mathworks.com/matlabcentral/answers/27042-how-to-remove-empty-cell-ar...

remove the empty values

Please take hint/help from the following link: https://in.mathworks.com/matlabcentral/answers/27042-how-to-remove-empty-cell-ar...

11 months ago | 0

Answered

How can i reduce the size of the legend and increase the size of the plot figure?

After running the code, in the figure window having the subplots, there is an arrow for edit plot as shown in the attached figur...

How can i reduce the size of the legend and increase the size of the plot figure?

After running the code, in the figure window having the subplots, there is an arrow for edit plot as shown in the attached figur...

1 year ago | 0

Answered

Is there a function that plot or show the architecture of the lstm model i made?

There are two functions for this: 1) analyzeNetwork and 2) layerGraph.

Is there a function that plot or show the architecture of the lstm model i made?

There are two functions for this: 1) analyzeNetwork and 2) layerGraph.

1 year ago | 0

Answered

Index exceeds the number of array elements. Index must not exceed 1.

I tried running your code in the command window and I was getting the same problem. As per me, when the value of i will be 3, it...

Index exceeds the number of array elements. Index must not exceed 1.

I tried running your code in the command window and I was getting the same problem. As per me, when the value of i will be 3, it...

1 year ago | 0

| accepted

Question

Numerical Analysis of changes happening in subsequent image difference

Suppose I have 25 images. Next, I subtract the 1st image from subsequent images. It means now I have (2nd-1st), (3rd-1st), (4th-...

1 year ago | 2 answers | 0

Question

Query related to optical flow calculation

I am calculating optical flow of video frames using the follwing basic lines of code of optical flow. I am also getting good res...

1 year ago | 1 answer | 0

Question

Number of Layers in Googlenet

We know that number of layers in Googlenet is 22. But, when I use it in MATLAB and write the following line of code analyzeNetw...

2 years ago | 1 answer | 0

Question

Convert categorical to string

I have two categorical column vectors of size 872-by-1. I want to calculate the Levenshtein distance between these two. When I a...

2 years ago | 0 answers | 0

Question

concatenating elements of cell

I have a data in 300-by-1 cells and each cell contains 500-by-1 single value. How can I make it 1) two 150-by-500 matrix contain...

2 years ago | 1 answer | 0

Question

Invalid training data. Sequence responses must have the same sequence length as the corresponding predictors.

numFeatures = 1024; numClasses = 249; layers1 = [ ... sequenceInputLayer(numFeatures,'Name','sequence') fullyConnect...

2 years ago | 1 answer | 0

Question

Large gap between training and validation accuracy

I am working on gesture video classification. I have gone through the MATLAB tutorial https://in.mathworks.com/help/deeplearning...

2 years ago | 0 answers | 0

Question

Invalid validation data. For a recurrent layer with output mode 'last', responses must be a categorical column vector.

I am trying to train LSTM network following the example given in mathworks entitled "Classify Videos Using Deep Learning". But ...

3 years ago | 1 answer | 0

Question

Change the dimesion of concatenation of RGB images

I am concatenating 95 RGB images of size 240-by-320 and as output I am getting a 4-D image of dimension 240-by-320-by-3-by-95. ...

3 years ago | 1 answer | 0

Question

find intersection points of a line and a curve.

I am attaching here the plot. I want to get the intersection points of the horizontal red line with the curve. Also, I want to d...

3 years ago | 1 answer | 0

Question

Query regarding finding the index which will give 90% of the total area under the curve

I have a curve obtained using curve fitting toolbox. I calculated the area of this curve using both 'trapz' and 'polyarea' fu...

3 years ago | 2 answers | 0

Answered

String manipulation with printing of characters

I think the following code should work t=input('Enter a word: ', 's'); disp(t(1));

String manipulation with printing of characters

I think the following code should work t=input('Enter a word: ', 's'); disp(t(1));

3 years ago | 0

Question

writing multiple video files in a folder

I have some videos suppose 10 in number like 1.avi, 2.avi,...,9.avi,10.avi. I am reading those videos, then extracting their fra...

3 years ago | 1 answer | 0

Question

Query related to inflated3D supporting function in activity recognition from video and optical flow data using deep learning

I was going through an example given in the following link. There I found a supporting function "Inflated3D" under the sub-secti...

3 years ago | 1 answer | 0