08.07.2015 Views

Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET

Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET

Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Assignment Opera<strong>to</strong>r =• Typing x = 3 assigns the value 3 <strong>to</strong> the variable x.• We can then type x = x + 2. This assigns the value3 + 2 = 5 <strong>to</strong> x. But in algebra this implies that 0 = 2.• In algebra we can write x + 2 = 20, but in <strong>MATLAB</strong> wecannot.• In <strong>MATLAB</strong> the left side of the = opera<strong>to</strong>r must be asingle variable.• The right side must be a computable value.1-9More? See pages 11-12.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!