You have to have the same number of I dimensional "i"nput vectors and O dimensional "o"utput target vectors
{ I N ] = size(x)
[ O N ] = size(t)
Hope this helps
Thank you for formally accepting my answer
Greg
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!