Answered

Create double workspace variable from Table

Hi You can always access the variable name using the table object. Consider an example below Height = [71;69;64;67;64]; Weigh...

Create double workspace variable from Table

Hi You can always access the variable name using the table object. Consider an example below Height = [71;69;64;67;64]; Weigh...

mer än 3 år ago | 0

Answered

Index exceeds the number of array elements (4)

Hi There was some error in the code. The error was there in assigning xk, hk and the range of n in the for loop. The below cod...

Index exceeds the number of array elements (4)

Hi There was some error in the code. The error was there in assigning xk, hk and the range of n in the for loop. The below cod...

mer än 3 år ago | 0

Answered

pretrained deep learning network for Drowsy detection

Hi To find the best network combination, you can refer some literature and look for the existing state of the art network for d...

pretrained deep learning network for Drowsy detection

Hi To find the best network combination, you can refer some literature and look for the existing state of the art network for d...

mer än 3 år ago | 0

Answered

Transform and Combine fileDatastores to Train CNN

Hi One possible approach is already suggested by Luisa. In your approach, replace your read function with the following line of...

Transform and Combine fileDatastores to Train CNN

Hi One possible approach is already suggested by Luisa. In your approach, replace your read function with the following line of...

mer än 3 år ago | 0

Answered

I want to write a code for the attached file.

Hi I assume the signal shown in the image is the input signal. I think whatever you are doing is correct, you might be getting ...

I want to write a code for the attached file.

Hi I assume the signal shown in the image is the input signal. I think whatever you are doing is correct, you might be getting ...

mer än 3 år ago | 0

Answered

How to creat and plot a confusion matrix of the trained CNN netowork?

Hi To find the confusion matrix, first you have to test the model on testing data and then use plotconfusion function. For mor...

How to creat and plot a confusion matrix of the trained CNN netowork?

Hi To find the confusion matrix, first you have to test the model on testing data and then use plotconfusion function. For mor...

mer än 3 år ago | 0

Answered

Transfer Function of Closed Loop

Hi To find the transfer function, "tf" function require the coefficient of numerator and denomenator. For example, consider bel...

Transfer Function of Closed Loop

Hi To find the transfer function, "tf" function require the coefficient of numerator and denomenator. For example, consider bel...

mer än 3 år ago | 0

Answered

fill array with null if index is empty

Hi You can check for a particular index, if the array content of that index is empty then you can assign it to "nil". For exam...

fill array with null if index is empty

Hi You can check for a particular index, if the array content of that index is empty then you can assign it to "nil". For exam...

mer än 3 år ago | 0

Answered

Confusion Matrix with known True and Predicted Values

Hi You are already having the class-wise information about the number of correct and misclassified objects, you can use confusi...

Confusion Matrix with known True and Predicted Values

Hi You are already having the class-wise information about the number of correct and misclassified objects, you can use confusi...

mer än 3 år ago | 0

| accepted

Answered

Too many input arguments for function not called in live script

Hi I replicate your code, its working in my case. You have not defined the variable fs, also did not put end after for loop. Fo...

Too many input arguments for function not called in live script

Hi I replicate your code, its working in my case. You have not defined the variable fs, also did not put end after for loop. Fo...

mer än 3 år ago | 0

Answered

How to fit three independent variable as function of one independent variable?

Hi You are having 1 equation with 3 unknowns. It will have many solution. You can use vpasolve function to solve this, it will ...

How to fit three independent variable as function of one independent variable?

Hi You are having 1 equation with 3 unknowns. It will have many solution. You can use vpasolve function to solve this, it will ...

mer än 3 år ago | 0

Answered

ImageDataStore read issue -- works sometimes, sometimes not

Hi It seems either the folder path is inappropriate or the files are not in the supported image format. Correct the folder path...

ImageDataStore read issue -- works sometimes, sometimes not

Hi It seems either the folder path is inappropriate or the files are not in the supported image format. Correct the folder path...

mer än 3 år ago | 0

Answered

how to combine two separately trained semantic segmentation neural networks into one to detect mixtures

Hi You can train a single network which can segment the multiple classes in an image. Assign the different label ID of each cla...

how to combine two separately trained semantic segmentation neural networks into one to detect mixtures

Hi You can train a single network which can segment the multiple classes in an image. Assign the different label ID of each cla...

mer än 3 år ago | 0

Answered

Image clustering with CNN as feature extractor

Hi I assume you want to apply the k-means clustering on the features extracted from the trained CNN. You can perform the clus...

Image clustering with CNN as feature extractor

Hi I assume you want to apply the k-means clustering on the features extracted from the trained CNN. You can perform the clus...

mer än 3 år ago | 0

Answered

Error: Invalid network layer does not support sequence input

Hi There is a requirement of sequenceFoldingLayer and sequenceUnfoldingLayer in the layer graph. For a sample layergraph, you c...

Error: Invalid network layer does not support sequence input

Hi There is a requirement of sequenceFoldingLayer and sequenceUnfoldingLayer in the layer graph. For a sample layergraph, you c...

mer än 3 år ago | 0

| accepted

Answered

深層学習を使用したセマンティックセグメンテーションについて

Hi You can use colormap property of labeloverlay function to indicate the different pixel labels with different colors. For mor...

深層学習を使用したセマンティックセグメンテーションについて

Hi You can use colormap property of labeloverlay function to indicate the different pixel labels with different colors. For mor...

mer än 3 år ago | 0

Answered

Fine-tuning resnet18 (transfer learning) - layer connections error

Hi It seems that the network input layer is not connected to the next layer or the lgraph is having some unconnected layers. Us...

Fine-tuning resnet18 (transfer learning) - layer connections error

Hi It seems that the network input layer is not connected to the next layer or the lgraph is having some unconnected layers. Us...

mer än 3 år ago | 0

Answered

Support Vector Machines for Regression problems

Hi You can refer to this documentation of support vector regression. Hope it will help!

Support Vector Machines for Regression problems

Hi You can refer to this documentation of support vector regression. Hope it will help!

mer än 3 år ago | 0

| accepted

Answered

Index in position 2 exceeds array bounds (must not exceed 1).

Hi It seems Y is not defined correctly. Either it is a single column matrix or just a scalar. So assign the value correctly.

Index in position 2 exceeds array bounds (must not exceed 1).

Hi It seems Y is not defined correctly. Either it is a single column matrix or just a scalar. So assign the value correctly.

mer än 3 år ago | 0

Answered

How do i create a transformation matrix using function?

Hi The function definition in a script is defined at the end of the file or in a separate file. So the below code will work: c...

How do i create a transformation matrix using function?

Hi The function definition in a script is defined at the end of the file or in a separate file. So the below code will work: c...

mer än 3 år ago | 0

Answered

3d Point Cloud Training in CNN

Hi You can refer to the resources given in the following links: Link 1 Link 2 Link 3 Hope it will help.

3d Point Cloud Training in CNN

Hi You can refer to the resources given in the following links: Link 1 Link 2 Link 3 Hope it will help.

mer än 3 år ago | 0

Answered

Dimension of the problem

Hi It depends how the objective function has been defined. It may be the objective function have 100 different variables/ have ...

Dimension of the problem

Hi It depends how the objective function has been defined. It may be the objective function have 100 different variables/ have ...

nästan 4 år ago | 0

Answered

Solving Non-Linear Equation in a loop

Hi The function vpasolve returns the structure which can be stored in a cell array. Also there were some missing initialization...

Solving Non-Linear Equation in a loop

Hi The function vpasolve returns the structure which can be stored in a cell array. Also there were some missing initialization...

nästan 4 år ago | 0

| accepted

Answered

Angles between points and a point different from the origin of axis?

Hi The similar approach can be used to find the angle which you already mentioned in the question. Moreover, the point 'p' (p =...

Angles between points and a point different from the origin of axis?

Hi The similar approach can be used to find the angle which you already mentioned in the question. Moreover, the point 'p' (p =...

nästan 4 år ago | 0

| accepted

Answered

Count overlapping Objects Matlab image

Hi You can try with area based approach which can give an approximate count of leaves. First segment the leaves from background...

Count overlapping Objects Matlab image

Hi You can try with area based approach which can give an approximate count of leaves. First segment the leaves from background...

nästan 4 år ago | 1

Answered

How can I check the Transfer function stability ?

Hi You can use isstable function to find if the system is stable or not. For more, information refer to this documentation. If ...

How can I check the Transfer function stability ?

Hi You can use isstable function to find if the system is stable or not. For more, information refer to this documentation. If ...

nästan 4 år ago | 0

Answered

How to read multiple files in a folder and extract information for each one

Hi You can use dir function to list out the content of a folder. After this use a for loop, in that you can keep the file read...

How to read multiple files in a folder and extract information for each one

Hi You can use dir function to list out the content of a folder. After this use a for loop, in that you can keep the file read...

nästan 4 år ago | 2

Answered

Using an image, how do I find the coordinates of pixels of a certain colors?

Hi You can use regionprops function to find the pixel list and centroid of the white and black part. For more information, you ...

Using an image, how do I find the coordinates of pixels of a certain colors?

Hi You can use regionprops function to find the pixel list and centroid of the white and black part. For more information, you ...

nästan 4 år ago | 0

Answered

The gradient of mini batches

Hi The function dlfeval evaluate the custom deep learning models. The loss are calculated based on what has been defined in mod...

The gradient of mini batches

Hi The function dlfeval evaluate the custom deep learning models. The loss are calculated based on what has been defined in mod...

nästan 4 år ago | 0

| accepted

Answered

How to improve the validation accuracy of the CNN network in deep learing ?

Hi By looking at the loss curve, it seems the loss is not saturated. So you can train with more epochs and check the performanc...

How to improve the validation accuracy of the CNN network in deep learing ?

Hi By looking at the loss curve, it seems the loss is not saturated. So you can train with more epochs and check the performanc...

nästan 4 år ago | 0