[ I N ] = size(Input)
[ O N ] = size(Output)
P.S. posting the code in question generally gets faster answers than trying to explain in words. Ideally, use both
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!