Question: 1 Problem Write a function to determine whether an input argument is a scalar, a vector, or a matrix 2 Requirements Call your function at
1 Problem Write a function to determine whether an input argument is a scalar, a vector, or a matrix 2 Requirements Call your function at least three times by passing an input argument as a scalar, vector, and matrix. The function returns a char array scalar, vector, or matrix, respectivley. 3 Details 1. Create your function as a MATLAB m-file 2. name your fuction and save as your FirstnameLastname.m 3. You must include your name inside the function 4. You must document your function to support help. For example: (a) Using help with the function displays the contiguous comments un der the function header. It is very useful put the format of the call to the function in the comment block. 5. Suppress all output from inside the funciton using; 6. You must use if-elseif-else statments. 7. Your function must run error free and meet all requirements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
