Info
This question is closed. Reopen it to edit or answer.
Help with two problems
1 view (last 30 days)
Show older comments
Y=4sin(X)
Z=Y+3X^2
- Create user defined functions that will calculate Y and Z for any array of X values.
- Generate a series of 5 random integer values between 1 and 10 for the X array.
- Calculate Y and Z using your UDFs
- Calculate the sum, median, mean and standard deviation for Z
A = [5 -10 1:2 8 0.5:1 0 5]
- Write a program to find the largest element in an nxm matrix and its index ( m,n >1)
- You can assume that there is only one largest element in the matrix (no repeats)
- The user should be prompted to enter the matrix in the Command Window
- The answer should be displayed in the Command Window within text
- You can NOT use the built in max function
1 Comment
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!