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

New to MATLAB?

Output of Neural network ??

Asked by Mariem Harmassi on 5 Oct 2012

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

Walter Roberson (view profile)

on 5 Oct 2012
Accepted answer

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


Mariem Harmassi on 5 Oct 2012

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.

Matt Kindig

Matt Kindig (view profile)

on 5 Oct 2012

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
Mariem Harmassi on 6 Oct 2012

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

Walter Roberson

Walter Roberson (view profile)

Contact us