This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Relational operators < <= ++ ~= >= > Logical operators And - & Or - | Not - ~ Functions` Sin(x) sin of x in radians Tan(x) tangent of x in radians Log10(x) common log of x Log(x) natural log of x Exp(x) e^x for x Sqrt(x) square root of x Abs(x) absolute value of x Round(x) round off x to nearest integer Arguments F(arg1,arg2) Known constants pi %pi = 3.1415 Plot Plot(x,y) Commands Clc clears the command window Clear - removes all variables from memory Clear var1 var2 - just clears these specific variables Exist (name) - determines if there is a variable with the name name Quit stops Matlab Who lists all current variables Whos lists all current variables and their size : - used to generate an array , - suppresses elements of an array ; - suppresses screen printing...
View Full Document
This note was uploaded on 12/30/2011 for the course ENG 160 taught by Professor J.alleman during the Fall '11 term at Iowa State.
- Fall '11