Question: please use MATLAB 5. Write a function M-file called big_enuf that: - Takes scalar or vector inputs, say x; Outputs the magnitude of the scalar
please use MATLAB
5. Write a function M-file called big_enuf that: - Takes scalar or vector inputs, say x; Outputs the magnitude of the scalar (or the magnitude of each scalar in the vector input) only if all of the entries have magnitude at least 5; Outputs a message: "Sorry this number (or some of these numbers) are too small." if at least one of the numbers has magnitude less than 5. Verify that your code works in inputs: -8, 3, [0 2 7] and [57-9)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
