Question

How to simulate a random castle in a chessboard?

%the randomly generated castle should be within the chessboard, let say zeros matrix: CB = zeros (8,8); ...

8 months ago | 1 answer | 0

Question

How does Matlab divide two row vectors by each other to get a scalar?

Let's consider, A is a vector like shown: A = [20 30 40]; and B is also a vector: B = [5 10 20]; when you want to execute th...

1 year ago | 1 answer | 0

Question

Why sets Matlab automatically the activation functions for a neural network like this?

I am asking myself why chooses Matlab always automatically for the hidden layer tan-Sigmoid and for the output layer pureline as...

1 year ago | 3 answers | 0

Question

Does Matlab make an automatic normalization for the input of a network?

Hello everyone, I am using the function feedforwardnet for my problem. The values are in the inputs very small (7.14078e-09) ...

1 year ago | 1 answer | 0

Question

Which method uses Matlab to solve Multi-output regression?

I am working right now on multi-output regression problem. There are a lot of methods to solve such a problem like single-target...

1 year ago | 0 answers | 0

Question

How does Matlab calculate the fit line in the regression graph?

I am using right now the neural network toolbox for my problem. The regression graph, which is calculated and represented by Mat...

1 year ago | 0 answers | 0

Question

where are the graphs of neural_network_toolbox explained?

I am using right now the neural_network_toolbox for my problem. But I get at the end of training graphs, which are unclear for m...

1 year ago | 1 answer | 0

Question

Why accept Matlab no vector as a response when I use CNN with residual connection?

I train my own CNN model like this tutorial: https://de.mathworks.com/help/deeplearning/examples/train-residual-network-for-im...

1 year ago | 0 answers | 0

Answered

How are the number of neurons in the output layers chosen?

I discovered why Matlab does that. I will explain it. Matlab tried to make the samples easier to train, that why he deletes the...

How are the number of neurons in the output layers chosen?

I discovered why Matlab does that. I will explain it. Matlab tried to make the samples easier to train, that why he deletes the...

1 year ago | 0

Question

How to keep colorbar without changing the figure size?

Hallo, I have 2 figures. One of them should be figured with colorbar and another one without. But they have the same scale. Th...

1 year ago | 1 answer | 0

Question

How to train CNN with an image in the input and an image in the output?

I have a task to train CNN with an image as input and an image as output. I have tried to do it at the beginning with Matlab tut...

1 year ago | 2 answers | 0

Question

how to normalize CNN-Data?

I got always NaN as output from my network and it might be possible that the network parameters diverge during training. Could s...

1 year ago | 0 answers | 0

Answered

Input and target have different number of sampel

You have to let the whole data in cell, so that Matlab know which input belong to which target. p %% input p = con2s...

Input and target have different number of sampel

You have to let the whole data in cell, so that Matlab know which input belong to which target. p %% input p = con2s...

1 year ago | 0

Question

Why do not Matlab split my inputs into 3 portions, although I've so set?

I've trained a neural network, but the whole data is trained without test and validation. My input is 10000 (vector) and I have ...

1 year ago | 0 answers | 0

Question

How to define a variable form a value in for loop?

Hello everybodey, I'm trying to define a variable name that depends on the value i in the loop for. That's my code: for i = ...

1 year ago | 1 answer | 0

Question

how to get a good resolution for a binary image from an image, which took through getframe?

Hello everyone, I have an image, which must be captured from a plot and then resized and converted to a binary image, that's my...

1 year ago | 1 answer | 0

Question

how to define a variable in directory to save many of .mat in loop?

Hallo, i am trying the whole time to create a folder and in this folder must be a lot of folders, where I would to save my .mat....

1 year ago | 1 answer | 0

Question

how to create 1 in zeros matrix, in order to convert oblique line, which's plotted in x and y coordinates

I have a line, which's rotated in random angle, but I want this line in an image (0-1) that's why I scaled the points (Leiter) i...

1 year ago | 1 answer | 0

Question

Scale RGB values for a matrix and plot it as image according to the scaled values

I have a matrix Tot_Magnet (100,100,3) and when I plot it as image then I get black image, because the RGB vales are very small....

1 year ago | 1 answer | 0

Question

how to create logical image from plot in a given scale?

I want to transform two vectors (x, y) that describe a straight line in the domain (axis([1e-2 7e-2 1e-2 7e-2])) into a logical ...

1 year ago | 1 answer | 0

Question

How to draw a line on a logical matrix in a given scale?

I want to transform two vectors (x, y) that describe a straight line into a logical matrix, but on a certain scale. For example...

1 year ago | 0 answers | 0