How to assign variable in MATLAB?

    Assign/declare a variable in MATLAB

    Team Leader Asked on December 6, 2017 in MATLAB.
    Add Comment
    1 Answer(s)

      In MATLAB,every variable is an array or matrix.
      Here is an example that you’ll understand how to assign variables in a simple way.

      a = 5;
      b = 10;
      c = a * b

      Output:-

      
      c = 50
      
      

      IT Head Answered on January 23, 2018.
      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.