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...

3 years 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...

3 years 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...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years ago | 0

| accepted

Answered
深層学習を使用したセマンティックセグメンテーションについて
Hi You can use colormap property of labeloverlay function to indicate the different pixel labels with different colors. For mor...

4 years 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...

4 years ago | 0

Answered
Support Vector Machines for Regression problems
Hi You can refer to this documentation of support vector regression. Hope it will help!

4 years 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.

4 years 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...

4 years 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.

4 years 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 ...

4 years 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...

4 years 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 =...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years ago | 0

Load more