Answered
question on Invalid file identifier
Inside your custom function make sure that you obtain the fileID using the fopen function and use it instead of directly using t...

5 years ago | 0

Answered
Can I generate HDL for series neural network models using HDL coder?
For importing Keras network into MATLAB you can refer to the documentation of importKerasLayers & Deep Learning Import and Expor...

5 years ago | 0

Answered
Mean neighbour values of a vector
You can learn the essentials of MATLAB throught the MATLAB Onramp course. If you are already familiar then you can refer to the ...

5 years ago | 0

| accepted

Answered
How to add legend for graph with multiple lines on it
Refer to the documentation of Add Legend to Graph & legend.

5 years ago | 0

Answered
Neural Network in Bayes Optimization
The network is defined in the "valErrorFun" function, which is inside the "makeObjFcn" function. Refer to the Objective Function...

5 years ago | 1

Answered
What app for artificial neural network to predict property values?
To get started refer to Fit Data with a Shallow Neural Network. Then you can refer to Function Approximation and Clustering and ...

5 years ago | 0

| accepted

Answered
Find nearest neighbors of a point
Refer to the documentation of knnsearch & Nearest Neighbors.

5 years ago | 0

| accepted

Answered
In the Matlab command input the following matrices.
As Jon said, completing the MATLAB Onramp course is recommended to learn the essentials of MATLAB. Then you can refer to the do...

5 years ago | 1

Answered
Can anyone help me in reshaping a fully connected layer output to a image?
Instead of writing the code for fullyconnected layer you can make use of the existing fullyConnectedLayer & write the custom lay...

5 years ago | 0

| accepted

Answered
How to set up report margin correctly?
As per the documentation of mlreportgen.dom.PageMargins class: "For PDF, the total height of the top margin equals the value of ...

5 years ago | 0

Answered
Error Variable in a parfor cannot be classified - Parfor
The code itself displays the following warnings before executing it: Try to fix these warnings before executing the code & t...

5 years ago | 0

| accepted

Answered
Matrix dimensions must agree.
You can refer to Set Breakpoints & Debugging and Analysis to set breakpoint at line 37 and idenitfy the cause of the error. Whi...

5 years ago | 0

Answered
Having a trouble combining two plots using hold and plot3
In order to get black pixels change the color argument from 'b' to 'k' (refer to LineSpec) plot3(X,Y,Z,'o','color','k') In ord...

5 years ago | 0

Answered
I have 2 input files and one output file for supervised learning. I wanted to use nnstart because I really don't know Matlab but I want to learn it. The nnstart tool only allows one input. What should I do?
You can refer to How to give multiple inputs to the train function of Neural Network? and follow the steps mentioned in Using Co...

5 years ago | 0

Answered
I have 189 sets of data, each has dimensions 30x27x159. I input all of them into a cell array using code as stated below. Now I want to find the mean of each set of data. How can i loop all of them and set their name accordingly?
From the above code I see that you have used the mean function twice, instead of that you can make use of the following syntax M...

5 years ago | 0

Answered
neural network training for price and load forecasting
To get started refer to the documentation of the following: Function Approximation and Clustering, Deep Learning Tips and Tricks...

5 years ago | 0

Answered
How can i unnormalize the forecasted system load outputs in Neural Networks in Matlab
It is recommended to normalize the entire dataset first and then split it for training and testing so that the normalization wou...

5 years ago | 0

Answered
Normalisation of matrices using mapminmax function
As mentioned in the documentation of mapminmax under the Normalize Inputs and Targets Using mapminmax section, "The normalized...

5 years ago | 0

Answered
Combining 5 images from a camera and add them together to yield one image.
You can refer to the documentation of sum function and use the following syntax S = sum(A,dim). frame = rand(1824,2736,1,5); f...

5 years ago | 0

| accepted

Answered
How can I run keras models in matlab ?
Import the network into MATLAB using importKerasLayers, then replace any unsupported layers with custom layers. You can refer t...

5 years ago | 0

| accepted

Answered
Training Option! How can we use a new defined algorithm (as a training function) to train a Deep Neural Network?!
You can refer to Define Custom Training Loops, Loss Functions, and Networks & Deep Learning Custom Training Loops.

5 years ago | 1

| accepted

Answered
not enough input arguments
I have tested your code for the following input: noisy = uint8(randi([0 255],100,100)); and I'm not getting any errors. Also i...

5 years ago | 0

Answered
Bug in index output of max and min on gpuArray
The issue has been reported to the concerned team. The workaround would be to transpose the matrix and reducing along the colum...

5 years ago | 0

Answered
How to design a locally connected layer for use in a convolution neural network??
You can refer to Define Custom Deep Learning Layers & Deep Learning Custom Layers and implement your own custom deep learning la...

5 years ago | 0

Answered
Create an animated free body diagram?
You can refer to the documentation of plot, pause, Specify Axis Limits, hold & figure. The following is the example code based ...

5 years ago | 0

Answered
How DeepLab v3+ is connected with ResNet-18 in matlab?
You can make use of analyzeNetwork function to see and analyze how resnet18 or other networks are being used in the deeplabv3plu...

5 years ago | 0

Answered
DL designer in DL toolbox
As of current release, Deep Network Designer does not support networks with multiple input layers. You can refer to Multiple-Inp...

5 years ago | 0

| accepted

Answered
trainNetwork error- categorical responses
You can refer to the docoumenatation of trainNetwork. As per your syntax of trainNetwork: net = trainNetwork(X,Y,layers,options...

5 years ago | 0

Answered
Deep Learning network Train
Make sure that the file 'ScrewQuality9350_net.mat' has the SeriesNetwork or a DAGNetwork object with name "net". It seems tha...

5 years ago | 0

| accepted

Answered
How do I animate a 3d plot of a satellite orbit given its' orbital parameters.
You can refer to the documentation of plot3, pause, Specify Axis Limits, hold & figure. The following is the example code based...

5 years ago | 0

Load more