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: -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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!