Can we add a statement in between MATLAB codes? -
is possible add statements in between codes.
example: if have code this,
r(:,1) = a(:,1) - a(:,2);
then can write as,
r(:,1) = a(:,1)("this constant") - a(:,2)("this variable");
you need comment statements this
r(:,1) = a(:,1) ... % constant - a(:,2); % variable
for more information read this
Comments
Post a Comment