This preview shows page 1. Sign up to view the full content.
Unformatted text preview: . (Sample Answer and Commentary) (Paste figures directly if the problem asks for them) mycode.m (Use this box to show m-file code and title at the top. Use for any function that you create yourself) Function output = mycode(input) Output = 1 + input %Example Code End (Box any inputs typed at the command prompt and subsequent outputs) 1.2) (Label each subproblem individually) >> x = mycode(2) Output = 3 x = 3...
View Full Document
- Spring '10