How Do You Perform Basic Matrix Operations in MATLAB?

  • Context: MATLAB 
  • Thread starter Thread starter silly_me
  • Start date Start date
  • Tags Tags
    Basics Home Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
silly_me
Messages
1
Reaction score
0
hi
im learning MATLAB at home.So could someone tell me how to do the basic funtions add,subtract transpose,invert matix in the matlab.
 
Physics news on Phys.org
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 -
 
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!