Need help understanding several MATLAB statement

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-04-12T09:58:42Z Indexed on 2010/04/12 10:03 UTC
Read the original article Hit count: 114

Filed under:
|

All are from this post.

What does these statement mean:

error(nargchk(5, 6, nargin));

plot(p(:,1), p(:,2), '.-'), axis equal

And what's this kinda syntax which I haven't quite often seen:

if nargin<6, steps = 36; end

© Stack Overflow or respective owner

Related posts about matlab

Related posts about syntax