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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -