matlab_review

matlab_review - % % % This script describes the...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This script describes the functionality of Matlab in a nutshell % Author : Erick Delage, [email protected] % Acknowledgements : % This script was inspired by a Matlab review from Arthur F. % Veinott, Jr. and M. O'Sullivan which can be found at % http://www.stanford.edu/class/msande251/handouts/Matlab07.pdf % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % By now you know that "%" labels comments % %finding help about Matlab help general %basic console commands 1+1 %creating variable "x" x = 1 %the ; x = 1; %printing a variable x %listing variables who whos exist('x') %clearing clear x %help help clear %m-FILES (MATLAB PROGRAMS) pwd cd . . dir %scripts % open matlab_review.m % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Basic editor functionality % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %saving a file, opening a file, %setting breakpoints tmp = 0; %running a file %using the debugging tools %step, step in, step out % %%%%%%%%%%%%%%%%%%%%%%%%% % OPERATIONS ON SCALARS % %%%%%%%%%%%%%%%%%%%%%%%%% % 1+2 2*3 6/2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3^2 i j real(1+i) imag(1+i)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/03/2011 for the course MS&E 221 taught by Professor Ramesh during the Winter '11 term at Stanford.

Page1 / 6

matlab_review - % % % This script describes the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online