Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Math in matlab

  1. Feb 26, 2009 #1
    im learning matlab at home.So could someone tell me how to do the basic funtions add,subtract transpose,invert matix in the matlab.
  2. jcsd
  3. Feb 26, 2009 #2


    User Avatar
    Science Advisor
    Gold Member

    Have you tried looking the help files? The Matlab help is actually very good.

    E.g the operators for adding and subtracting are -not surprissingly- + and -
  4. Feb 27, 2009 #3
    matlab stands for Matric Laboratory. By default an operation/function is a matrix operation. So if you are familier with matrix operations then there shouldn't be a problem. By the way do you know to enter matrices into matlab in the first place?

    The pitfall - beware of array operation!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook