Question: MATLAB ASSIGMENT 1. A. Create a function called ch16initials3 Input: row vector of 101 values (Note: input values are specified in the function call) Output:

MATLAB ASSIGMENT

1.

A. Create a function called ch16initials3

Input: row vector of 101 values (Note: input values are specified in the function call)

Output: calculated maximum value

Create a row vector A of values from 50 down to 0, with an increment of 0.5 Multiply the elements of A and the square of the elements of the input vector Store the results in B Find the maximum value of B and store it in C this is the output of the function

B. Create a program file called ch16initials4 Create a vector 0 to 200, increments of 2 Call the function Ch16initials3 with this vector as input; assign the output to the variable maxval Display the value of maxval

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!