The command r
in MATLAB is not a standard MATLAB command. Therefore, it will produce an error message. If you want to use the variable r
, you can define it as follows:
main.m45 chars2 lines
If you want to create a vector or a matrix, you can also use r
as a variable name:
main.m133 chars4 lines
However, you should avoid using variable names that conflict with MATLAB commands or built-in functions.
gistlibby LogSnag