Question: copy and past matlab script Activity # 4 Introduction to using Matlab functions and building user defined functions (4 pts) 1. In the command window

copy and past matlab script
Activity # 4 Introduction to using Matlab functions and building user defined functions (4 pts) 1. In the command window enter doc max. Use the documentation to find out how the max command works. 2. Use the max command to find the maximum value in the following matrix: A= 4 2 3. In the command window enter help diff. Use a the MATLAB Function to find difference between the integers in the following matrix: A 156 2 85 14 6 4 23 4. In the command window enter help function. Write a function that evaluates the expression below for any two inputs of t, and x. In this case define your function name to be activity4 and let x-2 and t-9. y-2 sin(2t)- 3x Include the syntax to have you function evaluated at the point specified in the .m for the activity
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
