Question: Create a function file, which takes 1 input argument and 1 output argument, The input argument corresponds to length expressed in inches, The output argument

Create a function file, which takes 1 input argument and 1 output argument, The input argument corresponds to length expressed in inches, The output argument is the corresponding length expressed in centimeters. Once you have the function file, go to the command window and do the following: Define a row vector using some variable name. This variable corresponds to length expressed in inches; the value ranges from0to10inches with an increment of I inch. Suppress the VI ATI.AB response by using semicolon at the end of the command line. Call your function file, so that the vector from Part (a) will be converted into another vector: length expressed in centimeters. Now show a "table," which really is a matrix containing two columns: length expressed:in inches on the left and length expressed in centimeters on the right. Use the variable name table for this matrix. Submission: I function m-file, printout of your command window. Study the"Mar"function file (P. 220).which was also discussed during the lecture
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
