Question: using matlab (CL03) A. Write a MATLAB program using it statement that add 1 to even integer input and do nothing to odd Integer input

using matlab using matlab (CL03) A. Write a MATLAB program using it statement that

(CL03) A. Write a MATLAB program using it statement that add 1 to even integer input and do nothing to odd Integer input B. Write MATLAB program using switch Hint Input A from the user the following program calculates the value of y according to following conditions: 20 Alor 2 or 3 50 70 4-5 C Write a MATLAB program to count numbers which is greater than 30 from the given vector x-[45,23,1734,85,33) Use loop and if condition to solve it D. Create an average function that calculates the average of a vector with data. Use for loop to iterate through the values in the vector and find the sum in each iteration

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!