ME 232A Lecture Notes - Lecture 1: Matlab, Block Diagram, String Figure

20 views2 pages

Document Summary

Current folder shows folders you have access to m-file. I or j exp() log() log(exp()) mean() max() help ___ roots. Suppresses output (doesn"t show in command window, just workspace) x = t. ^2 + // squares every element in array t. Constant value of pi (3. 14. 16) **can be changed if redefined. Defines and shows user how to use ____ . [y,i] = max() y gives max value, i gives location. Use [ ] (vector) p=[1 1 0 1 1] r=roots(p) Gives inverse cosecant in radians ( acscd() gives answer in degrees) Takes a number and convert it to a string close(#) Closes that figure window acsc() num2str figure(#) plot(_, _, _") plots whatever. Allows user to continue graphing on same plot xlabel( ___"), ylabel( ___"), title( ___") legend( __" , __") grid on // turns grid on. Transposes (inverts rows adn columns) matrix matrix(#) returns value. [a : b : c] variable(:,#) returns all values of column.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents