Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Answered
Can I tell trainNetwork() to return the net with the lowest validation or training loss, as opposed to the net at the last iteration?
Hi Nethrick, As of now, it is not possible to save the network with the least validation error in DAGNetwork. However, you mi...

3 years ago | 1

Answered
Do not know how to use a downloaded neural network
Hi Arsen, The attached .mat file can be loaded into the MATLAB using load. load NET_90_19_576; net = net90_19_576; You can ...

3 years ago | 0

Answered
Order of labels in Alexnet's outputs vs. order of labels in ImageNet 2010
Hi Saon, You can get the labels for the pretrained Alexnet in MATLAB by loading the pretrained model. net = alexnet; net.La...

3 years ago | 0

Answered
Deep Q-Network Rewards incorporation?
Hi Zonghao, I understand you want to construct a Deep Q-Network. The observationInfo tells you the behaviour for your observat...

3 years ago | 0

Answered
Custom flattenLayer compatible with imageInputLayer
Hi Amelia, I understand that you want to use flatten layer with Image input layer. As of now, faltten layer supports sequence in...

3 years ago | 3

| accepted

Answered
Import text + data txt file into a matrix
Hi Michele, I understand that you want to read your data where each entry is separated by ';' and each row is separated by ';;...

3 years ago | 2

Answered
How to get an image contrast value?
Hi Denis, I understand that you want to calculate the contrast of your gray scale images. You can use a very simple max - min ...

3 years ago | 1

| accepted

Answered
Imfindcircles detecting massiveness?
Hi Wasgeht, I understand that you want to only retain those circles which have more than 70% of pixels that are white. One of ...

3 years ago | 1

| accepted

Answered
When I try to open my 2020a version of MATLAB, it quits immediately after displaying the startup window. What is going wrong, and how can I fix it? Thanks for any help.
Hi Aidan, For any problems related to installation, Contact Support ! They help with installation and setup problems for all ...

3 years ago | 1

Answered
my alphabet is misplaced
Hi Agnes, For any problems related to installation, Contact Support ! They help with installation and setup problems for all ...

3 years ago | 0

Answered
How do I open the application on a Dell desktop?
Hi Sagan, For any problems related to installation, Contact Support ! They help with installation and setup problems for all ...

3 years ago | 1

Answered
MATLAB question on Chapter 4
Hi Miriam, The variable H1 is a matrix of size [1, 1501] and the command y = sqrt(80^2 + (210-H1)^2); tries to multiply a ...

3 years ago | 0

Answered
Deep Learning NNet accuracy doesn't looks good
The loss is constantly 0 and the accuracy is 100 during training indicating that there is nothing to learn from the training dat...

3 years ago | 0

| accepted

Answered
Plot arrowheads pointing inward to a center with quiver
Hi Szu-Ting, I understand that you want to change the direction of arrowheads to point inwards. The current quiver-properties ...

3 years ago | 0

| accepted

Answered
How to use pspectrum() function
Hi Elinor, the ppsptectrum function does not return the output directly in dB to be plotted. According to the documentation, F...

3 years ago | 1

| accepted

Answered
Rotate individual labelled/segmented characters about its centroid
Hi Ronald, I understand that you want to rotate the letters 90 degrees anticlockwise. You are correct about extracting boundin...

3 years ago | 1

| accepted

Answered
after training a denoising network from dnCNNLayers, how to use it in denoisingNetwork and denoiseImage?
Hi Ming-Jer, I understand that you want to use your custom denoising network. I assume you have trained the network sucessfull...

3 years ago | 0

| accepted

Answered
Reading netcdf files and variables backwards
Hi Ana, I understand that you want to read the variables backward. I see that there is some problem with naming of the variable...

3 years ago | 1

Answered
Reinforcement Learning Episode Manager
Hi Ahmad, It is not possible to reopen the Episode Manager after closing it. The graphical window is triggered only when you r...

3 years ago | 0

| accepted

Answered
Previewing pre recorded video
Hi Koohyar, I understand that you want to preview pre-recorded video and not a live one. The preview function requires a video...

3 years ago | 0

| accepted

Answered
Locking sections of a Live Script
Hi William, I understand that you want to make the edits and changes yourself. As of now, there is no way to run some sections...

3 years ago | 0

Answered
Best practice for data normalization when using import model from Keras to predict ?
Hi Tuong, I understand that you want to do the preprocessing as done with the training data by using StandardScaler of sklearn...

3 years ago | 0

Answered
Can the "input data normalization" of "trainNetwork" be done separatedly?
Hi Jaime, I understand that you want to stop the inbuilt data normalization. You can do so by creating your own input data lay...

3 years ago | 0

| accepted

Answered
after the completion of offline training, how can I measure the testing time for individual sample?
Hi Ali, You can use tic toc function to calculate the time it takes for each sample during testing. Call tic before the predic...

3 years ago | 1

Answered
Error when using globalAveragePooling2dLayer in CNN
Hi Nour, The globalAveragePooling2dLayer was introduced in R2019b. As you are using R2018a, you are facing the Undefined funct...

3 years ago | 0

| accepted

Answered
Seeing the image overlaid on image
Hi, You can use hold on for this purpose. You can change the pointer by changing the YData of the plot. I am attaching a code s...

3 years ago | 0

Answered
Matlab on linux starts from terminal, but not from shortcuts or runners
Hi Ian, I understand that you can launch MATLAB from terminal. Make sure that you can launch MATLAB anywhere on your system by...

3 years ago | 4

| accepted

Answered
How to get equation of a sound
Hi Luis, I understand that you want to get the equation of the attached mp3 file. The attached signal is very random. However,...

3 years ago | 0

Answered
Can I use rlNumericSpec for GridWorld Env for Action Space
Hi Huzaifah, I understand that you are able to run grid world for discrete U, L, D, R actions and are trying it with continuou...

3 years ago | 0

Load more