MATLAB Answers


Output of Neural network ??

i used a backpropagation neural network and i get this output 3.5838e-006 .baut what i need is juts values that lies between 0 and one ,what does it mean cauz all the other output lies between 0 and 1 expect this one


1 Answer

Answer by Walter Roberson
on 5 Oct 2012
 Accepted answer

3.5838e-006 is between 0 and 1. It is approximately 0.000003583799999999999890


i need to sum up an array which contains this value but when i used the sum function matlab return this : ??? Error using ==> sum Dimension argument must be a positive integer scalar within indexing range.

It looks like you are trying to pass this number 3.583e-006 as the (second) dimension argument. Look at the help documentation for sum. The first argument is where you pass in your matrix.

doc sum

Thank u for answering i found the error it was not due to the output bounds.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!