



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This tutorial provides an overview of fundamental commands in ma tlab for creating, changing, and operating with vectors and matrices in the context of linear algebra. Topics include creating vectors and matrices, changing their entries, and performing matrix multiplication and inversion.
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




You need a small numb er of basic commands to start using MATLAB This short tutorial describ es those fundamental commands You need to create vectors and matrices to change them and to operate with them Those are all short highlevel commands b ecause MATLAB constantly works with matrices I b elieve that you will like the p ower that this software gives to do linear algebra by a series of short instructions
create E create u change E multiply E u E eye u E E v E u
The word eye stands for the identity matrix The submatrix u E picks out column The instruction E resets the entry to The command E u multiplies the matrices E and u All these commands are rep eated in our list b elow Here is an example of inverting a matrix and solving a linear system
create A create b invert A solve Ax b A ones eye b A C inv A x Anb or