02 Matlab and Roots I


Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cs: clc – clear command window who – list all variables whos – list all variables with sizes and other information clear – delete all variables clear var1, var2, … – delete selected variables help command – get help with command (also works with operators and functions) format compact – single space output format loose – double space output up and down arrows – allow recall of previous commands Point to remember: in Matlab scalars are treated as 1x1 arrays Matlab Function “roots”: The roots of polynomials can be quickly found using function roots. It expects a array containing the coefficients of the polynomial (highest order coefficient first) and the result is...
View Full Document

This note was uploaded on 03/30/2013 for the course ECOR 2606 taught by Professor Goheen during the Spring '10 term at Carleton CA.

Ask a homework question - tutors are online