Question: Part B (40%) 1. (12%) Suppose array u is used to store all values starting from 0.0 to 100.0 with an increment of 0.5 a)
Part B (40%) 1. (12%) Suppose array u is used to store all values starting from 0.0 to 100.0 with an increment of 0.5 a) Using a single Octave statement to create u. b) How many elements are stored in u? c) What Octave method can be used to obtain the size of u? 2. (16%) An array (vector) w will be used to store all values starting from sin(-pi) to sin(pi) with an increment of 0.5 a) How many elements are stored in ? b) Use the Octave linspace command to create u? c) What Octave function / command you can use to determine the magnitude of the vector u? d) Determine the magnitude of u by hand
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
