This preview shows page 1. Sign up to view the full content.
Unformatted text preview: The incorrect result would be computed, but there would be no error messages, as the command has been written in correct Matlab syntax. Style: writing arithmetic expressions • Use parentheses often Consider the equation to convert from temperature in Fahrenheit ( T F ) to temperature in Celsius ( T C ): T C = 5 9 ( T F − 32) This is computed correctly by the Matlab command: TC = 5/9*(TF-32) 20...
View Full Document
- Summer '09