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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Normalisation of matrices using mapminmax function

As mentioned in the documentation of mapminmax under the Normalize Inputs and Targets Using mapminmax section, "The normalized...

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

trainNetwork error- categorical responses

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

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

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

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

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

3 months ago | 0

Answered

Sum of a function into a new file

In addition to the suggestions in the comments, you can refer to the documentation of sum function.

Sum of a function into a new file

In addition to the suggestions in the comments, you can refer to the documentation of sum function.

3 months ago | 0

Answered

Color Code Plotted Data According to Value in Un-Plotted Column

Refer to the documentation of plot & legend. Also the following code may help you (Note that you may have to make changes accor...

Color Code Plotted Data According to Value in Un-Plotted Column

Refer to the documentation of plot & legend. Also the following code may help you (Note that you may have to make changes accor...

4 months ago | 0

Answered

Divide input and target for prediction

You may refer the following: crossvalind, cvpartition & Cross-Validation: Assess and improve predictive performance of models.

Divide input and target for prediction

You may refer the following: crossvalind, cvpartition & Cross-Validation: Assess and improve predictive performance of models.

4 months ago | 0

| accepted

Answered

LSTM forecasting time series

Refer to the documentation of trainNetwork to understand what should be the input and target data format & shape. Specifically:...

LSTM forecasting time series

Refer to the documentation of trainNetwork to understand what should be the input and target data format & shape. Specifically:...

4 months ago | 0

Answered

fully connected layer in a CNN

You can use the analyzeNetwork to view the network architecture, shape of layerwise Activations & Learnables etc. Based on the ...

fully connected layer in a CNN

You can use the analyzeNetwork to view the network architecture, shape of layerwise Activations & Learnables etc. Based on the ...

4 months ago | 0

| accepted

Answered

How to create large matrix with a pattern of sorts.

Refer to MATLAB Onramp to get started with MATLAB. The following code might help you: s = 64; m = zeros(s,s); for i = 2:64...

How to create large matrix with a pattern of sorts.

Refer to MATLAB Onramp to get started with MATLAB. The following code might help you: s = 64; m = zeros(s,s); for i = 2:64...

4 months ago | 0

Answered

Does train function return neural network with the weights of last epoch or the weights of the model with the smallest loss of all epochs?

You can refer to Early Stopping & Improve Shallow Neural Network Generalization and Avoid Overfitting documentation. According ...

Does train function return neural network with the weights of last epoch or the weights of the model with the smallest loss of all epochs?

You can refer to Early Stopping & Improve Shallow Neural Network Generalization and Avoid Overfitting documentation. According ...

4 months ago | 0

| accepted