I am an Application Support Engineer at MathWorks.

Disclaimer : Any advice or opinions here are my own, and in no way reflect that of MathWorks.

Answered

Clustering Time Series with DTW

I think the error is due the reason that dtw function operates on 2 signals only and the output is always a scalar. As per the ...

Clustering Time Series with DTW

I think the error is due the reason that dtw function operates on 2 signals only and the output is always a scalar. As per the ...

17 days ago | 0

| accepted

Answered

How to find the center of mass of each cluster

From the above information I'm assuming that data is a matrix of size 168x65. So data(:) returns a new array of size 10920x1 (al...

How to find the center of mass of each cluster

From the above information I'm assuming that data is a matrix of size 168x65. So data(:) returns a new array of size 10920x1 (al...

20 days ago | 0

Answered

custom neural network error( About dlfeval )

The input dlX for the forward(dlnet,dlX) function should be a formatted dlarray. Refer to the documentation of forward (specific...

custom neural network error( About dlfeval )

The input dlX for the forward(dlnet,dlX) function should be a formatted dlarray. Refer to the documentation of forward (specific...

21 days ago | 0

| accepted

Answered

How can I add additional images to a neural network such as AlexNet ?

As per my understanding you want the the alexnet network to work on the object categories other than the 1000 object categories ...

How can I add additional images to a neural network such as AlexNet ?

As per my understanding you want the the alexnet network to work on the object categories other than the 1000 object categories ...

21 days ago | 0

Answered

blkbuild command is not working

One possible cause of the error is that the Control System Toolbox is not installed. If that's the case then refer to Get and Ma...

blkbuild command is not working

One possible cause of the error is that the Control System Toolbox is not installed. If that's the case then refer to Get and Ma...

21 days ago | 0

Answered

Which app is the best for data predictions?

Based on the above information I think you can start with Regression Learner followed by Neural Net Fitting or Curve Fitting App...

Which app is the best for data predictions?

Based on the above information I think you can start with Regression Learner followed by Neural Net Fitting or Curve Fitting App...

23 days ago | 0

Answered

From hyperspectral image to rgb image

The following functions may be useful: hypercube & colorize. Refer to the documentation page of Hyperspectral Image Processing...

From hyperspectral image to rgb image

The following functions may be useful: hypercube & colorize. Refer to the documentation page of Hyperspectral Image Processing...

23 days ago | 1

| accepted

Answered

Oscillation in neural network

You can refer to the documentation of Deep Learning Tips and Tricks & resources available under Deep Learning Tuning and Visuali...

Oscillation in neural network

You can refer to the documentation of Deep Learning Tips and Tricks & resources available under Deep Learning Tuning and Visuali...

24 days ago | 0

Answered

Perimeter by adding distance

You can refer to the documentation of the functions perimeter & polyshape. pgon = polyshape([0 0 1 3], [0 3 3 0]); plot(pgon) ...

Perimeter by adding distance

You can refer to the documentation of the functions perimeter & polyshape. pgon = polyshape([0 0 1 3], [0 3 3 0]); plot(pgon) ...

24 days ago | 0

Answered

Help!!! Why is it prompted that the subscript indices must be positive integer or logical type?

The value of n is a double whereas array indixes must be positive integers or logical type. Change the class of n to integer bef...

Help!!! Why is it prompted that the subscript indices must be positive integer or logical type?

The value of n is a double whereas array indixes must be positive integers or logical type. Change the class of n to integer bef...

24 days ago | 0

| accepted

Answered

Index exceeds the number of array elements (36)

One possiblity is that you have declared a variable with the name "title" and it has 36 elements. If that's causing the error th...

Index exceeds the number of array elements (36)

One possiblity is that you have declared a variable with the name "title" and it has 36 elements. If that's causing the error th...

24 days ago | 0

Answered

Using Variable in Legend in for loop

Refer to Add Legend to Graph for more information. You can make use of the 'DisplayName' name value pair argument as follows: ...

Using Variable in Legend in for loop

Refer to Add Legend to Graph for more information. You can make use of the 'DisplayName' name value pair argument as follows: ...

25 days ago | 0

Answered

Motor control toolbox license

You can check the products you are licensed to by Navigating to https://www.mathworks.com/licensecenter/licenses and Click on yo...

Motor control toolbox license

You can check the products you are licensed to by Navigating to https://www.mathworks.com/licensecenter/licenses and Click on yo...

25 days ago | 0

Answered

Plot a 2 y axis graph

Refer to the documentation of yyaxis for more information. I was getting two Y-axes when I tried your code: x = 0:0.05:0.333333...

Plot a 2 y axis graph

Refer to the documentation of yyaxis for more information. I was getting two Y-axes when I tried your code: x = 0:0.05:0.333333...

25 days ago | 0

| accepted

Answered

How to add new properties (layer name) in DlconvOp.m in deep network training

"Name" is already a property of the custom layer whereas you can define the "Index" property under the Optional Properties. You ...

How to add new properties (layer name) in DlconvOp.m in deep network training

"Name" is already a property of the custom layer whereas you can define the "Index" property under the Optional Properties. You ...

25 days ago | 0

Answered

set the contourslice line colors

The following syntax of s = contourslice(___) of the contourslice function returns the array of Patch objects created. You can r...

set the contourslice line colors

The following syntax of s = contourslice(___) of the contourslice function returns the array of Patch objects created. You can r...

25 days ago | 0

| accepted

Answered

Exception in thread "AWT-EventQueue-0": java.lang.OutOfMemoryError: Required array size too large

The following resources may help you to get more information on the "Required array size too large" error : Resolve “Out of Memo...

Exception in thread "AWT-EventQueue-0": java.lang.OutOfMemoryError: Required array size too large

The following resources may help you to get more information on the "Required array size too large" error : Resolve “Out of Memo...

26 days ago | 0

Answered

How to use error bars in scatter plot?

If you want the errorbars to appear on the scattered points then change your plotting code to the following: plot(yc_front,f_fr...

How to use error bars in scatter plot?

If you want the errorbars to appear on the scattered points then change your plotting code to the following: plot(yc_front,f_fr...

26 days ago | 0

Answered

Use of tight_subplot for plotting graphs from table

You can make use of TileSpacing Name-Value pair argument of tiledlayout. For more information you can refer to the hyperlinks an...

Use of tight_subplot for plotting graphs from table

You can make use of TileSpacing Name-Value pair argument of tiledlayout. For more information you can refer to the hyperlinks an...

26 days ago | 0

Answered

Plot with smaller variation in input argument under user defined function?

"hold on is not working when I execute this code": It's probably because the the value of del_x is very small and it is difficul...

Plot with smaller variation in input argument under user defined function?

"hold on is not working when I execute this code": It's probably because the the value of del_x is very small and it is difficul...

26 days ago | 0

Answered

What is the data "YTrain" in the Matlab CNN Regression example?

As you have mentioned already, the images in the subfolders (0-9) contain the Input images of both Training (XTrain) and Validat...

What is the data "YTrain" in the Matlab CNN Regression example?

As you have mentioned already, the images in the subfolders (0-9) contain the Input images of both Training (XTrain) and Validat...

28 days ago | 0

| accepted

Answered

shuffle and partition in training, validation and testing of a multi-label combined dataset

You can refer to the documentation of the functions partition & shuffle. For the list of other functions supported by the Combin...

shuffle and partition in training, validation and testing of a multi-label combined dataset

You can refer to the documentation of the functions partition & shuffle. For the list of other functions supported by the Combin...

1 month ago | 0

Answered

Reduce Matrix Dimensions for 5D-Data

You can make use of the functions permute and reshape as follows: % M is a matrix of size a x b x c x d x e Mp = permute(M,[1 ...

Reduce Matrix Dimensions for 5D-Data

You can make use of the functions permute and reshape as follows: % M is a matrix of size a x b x c x d x e Mp = permute(M,[1 ...

1 month ago | 0

| accepted

Answered

グラフの目盛りを非表示にする方法

By the term "scale" in the above question if you are referring to the Tick marks on the axes then you can make them disappear by...

グラフの目盛りを非表示にする方法

By the term "scale" in the above question if you are referring to the Tick marks on the axes then you can make them disappear by...

1 month ago | 1

| accepted

Answered

How to find a vector containing mean values of the corresponding cells?

You can refer to the documentation of for, mean and write the code. Seems that the question is not completely clear and based o...

How to find a vector containing mean values of the corresponding cells?

You can refer to the documentation of for, mean and write the code. Seems that the question is not completely clear and based o...

3 months ago | 0

Answered

How to build a CNN model to classify motor imagery tasks from EEG signals?

You can refer to Classify ECG Signals Using Long Short-Term Memory Networks, Modulation Classification with Deep Learning & Topi...

How to build a CNN model to classify motor imagery tasks from EEG signals?

You can refer to Classify ECG Signals Using Long Short-Term Memory Networks, Modulation Classification with Deep Learning & Topi...

3 months ago | 0

Answered

training "large scale" neural network

You can refer to the following documentation pages: Choose a Multilayer Neural Network Training Function, Improve Shallow Neural...

training "large scale" neural network

You can refer to the following documentation pages: Choose a Multilayer Neural Network Training Function, Improve Shallow Neural...

3 months ago | 0

Answered

interrupted axis and plotting non values

As per my understanding from your question, I'm replicating the said information using the below code: x1 = 1:5; y1 = 1:5; x2...

interrupted axis and plotting non values

As per my understanding from your question, I'm replicating the said information using the below code: x1 = 1:5; y1 = 1:5; x2...

3 months ago | 0

Answered

ImageInputLayer Error in deep learning toolbox

In case of layerGraph based approach we use trainNetwork to train the network and this function takes the entire data for the tr...

ImageInputLayer Error in deep learning toolbox

In case of layerGraph based approach we use trainNetwork to train the network and this function takes the entire data for the tr...

3 months ago | 1

| accepted

Answered

How to calculate confusion matrix , accuracy and precision

You can refer to the following functions available in MATLAB to compute confusion matrix: Functions for computing "confusion mat...

How to calculate confusion matrix , accuracy and precision

You can refer to the following functions available in MATLAB to compute confusion matrix: Functions for computing "confusion mat...

3 months ago | 0