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
(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
Get step-by-step solutions from verified subject matter experts
