Asked by FIR
on 9 Jan 2013

I have a code for new rb

A=rand(64,2);

Tc=[ones(64,1) 2*ones(64,1)];

D=newrb(A,Tc);

E=A(:,2);

Y=sim(D,E)

NEWRB, neurons = 0, MSE = 0.25

i get output as 2(64x1),but what that MSE means,please tell

and i have been asked to take 40 datas(40x2) for training nd rest for testing,if i perform i get error

Error using ==> network.sim at 178 Inputs are incorrectly sized for network. Matrix must have 64 rows.

so please can anyone tell what command must be used

*No products are associated with this question.*

Answer by DHARMRAJ PRASAD
on 10 Apr 2013

use, for any network m=mse(name_of_network,output_of _network,target_of_network)

Opportunities for recent engineering grads.

## 3 Comments

## José-Luis (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/58312#comment_121585

MSE is mean squared error.

## FIR (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/58312#comment_121586

OK BUT in my output i get ass value as 2,but why i get MSE as 0.25

## José-Luis (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/58312#comment_121771

MEAN squared error