Answered
Why doesn't heatmap use the default font?
Hi Hubert, Since you are using MATLAB 2016a release, the definition of “heatmap” is different from later releases. The syntax ...

1 year ago | 0

Answered
Choose Optimizer and Learning Rate in neural network
Hi Phoung, You can use the "trainFcn" property of the “net” to select one of the optimisers available. net.trainFcn = 'train...

1 year ago | 0

Answered
The MATLAB function xcepption apprears to return a xception-41 netowrk archtecture , not the xception-71 network architecture
Hi Chen, The architecture returned by “xception()” is working as intended. It is same as the model given in paper “Chollet, Fr...

1 year ago | 0

| accepted

Answered
Having high loss function with the custom training loop.
Hi Hui, Let’s start by analysing the difference between the MATLAB in-built and custom loss function. Generally, in image s...

1 year ago | 0

Answered
Conversion of Python code to Matlab.
Hi Joydev, In MATLAB, importing classes from other files is handled differently than in Python. Each class is typically defined...

1 year ago | 0

Answered
LENOVO LAPTOP CHARACTERISTICS FOR MATLAB SIMULATION
Hi @COULIBALY, You can refer to the below link to know about the minimum system specifications to run any MATLAB products inclu...

1 year ago | 0

Answered
Having problems with the trainnet function
Hi Andrew, I tried to run the code you provided on custom dataset, and it is working fine as you can see in the attached image...

1 year ago | 0

Answered
plot in predesigned figure
Hi Josefina, I understand that you want to create a plot on top of the predesigned figure created by “f_vorlage” without overw...

1 year ago | 0

Answered
How to make the correlation values appear at a mapcolor?
Hi Julia, You can use the “text” function to display the values of the correlation matrix in “mapcolor”. This function places ...

1 year ago | 0

Answered
In Simulink, how do I set the time step for simulations? I want it to be 0.1 seconds long. I've got it set to run 20 seconds.
Hi @DJ V, To set time step for Simulink simulation you need to make changes to solver settings. Kindly follow the below steps t...

1 year ago | 0

Answered
Finally i wrote this code for wind speed prediction with 3 parameters, why does my code has different prediction for the same dataset on each run?
Hi Morteza, I understand that the predicted values are changing every time the code is executed. The reason behind this can ...

1 year ago | 0

Answered
Calculation of training and validation R2 in regression model
Hi Seyed, I understand that you are developing a Gaussian Process Regression model in MATLAB for time series prediction and wan...

1 year ago | 0

Answered
Specifying interpreter type for heatmap
Hi Deepa, I understand that you want to display the title text exactly as typed, without interpreting any special characters. B...

1 year ago | 0

Answered
Neural network construction where different outputs have different dependencies on the inputs
Hi Xuming, You can start by defining all the layer component with appropriate size. Let’s assume you have input layer of size ...

1 year ago | 0

Answered
How to set correct number of arguments in map.rasterref.MapCellsReference ?
Hi Kuldeep, To solve this issue, you can set this property after creating the object since I think these properties are not par...

1 year ago | 0

Answered
Weibull does not seem to work gives error"Error using makedist Distribution name 'Weibull' is unrecognized."
Hi Gihahn, If you want to use Weibull distributions in MATLAB, particularly functions like makedist, pdf you need to have the S...

1 year ago | 0

Answered
Is there a way to represent linked-list functionality in Simulink?
In order to use Stateflow to simulate linked list functionality you can create states and transitions that mimic the behavior of...

1 year ago | 0

Answered
Shortcut set for "evaluate selection" not working / responding in Matlab 2022b Update 4
Since you mentioned "command+ <" as your shortcut key for evaluate selection, I am assuming you are working on mac platform. Her...

1 year ago | 0

Answered
how to merge two networks trained on different dataset ?
There is a technique called ensemble learning which allows to combine the multiple models. We can train various models to solve ...

1 year ago | 0

Answered
simulink logsout empty dataset
There are chances that when you compile a model, it resets the base workspace, which can sometimes affect the logging of signals...

1 year ago | 0

Answered
How do I make a condition be one or the other on Stateflow?
Since you want the traffic system to go from "Start" to "PrepareToStop" state for both the cases of button. I am assuming that y...

1 year ago | 0

Answered
The ann program doesn't run all 50 epochs that specified.
When you are training the neural network, it may not run till the specified number of epochs if any of the stopping criteria are...

1 year ago | 0

Answered
How to use uisetfont?
To place text on the image loaded into the axes, you can use “uisetfont” to select font properties, and then placing text on the...

1 year ago | 0

Answered
how to normalize CNN-Data?
Since you are getting NaN values as output, it might be due to numerical instability during the training of a neural network. Y...

1 year ago | 0

Answered
Feature Extraction using pretrained CNN
Yes, you can extract a specific number of features from an image dataset using a pre-trained CNN like “SqueezeNet”. But if you d...

1 year ago | 0

Answered
Undefined function or variable 'batchNorm​alizationL​ayer'.
The issue is arising because of different MATLAB version use. The function “batchNorm​​alization​L​ayer” is introduced in R201...

1 year ago | 1

| accepted

Answered
Regression equation from bias and weights in ANN
Since you want a mathematical equation of what the neural network has learned. There is a way to get it by representing each lay...

1 year ago | 0

Answered
i just build a rnn network layer and i got this error
I can see you are performing image classification task here. This issue is occurring because "sequenceInputLayer" function expec...

1 year ago | 0