Stuart’s MATLAB Videos

Watch and Learn

Expression evaluation in MATLAB

MATLAB is constantly evaluating expressions and expressions within expressions. A lot of MATLAB users do not think about this, or the implications. Simple examples of using a vector as the index into a for loop instead of one that is dynamically created (1:10 for example) is shown. Also, the use of a variable as an input to a function expecting a string is shown.

|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.