Info

This question is closed. Reopen it to edit or answer.

Help with two problems

1 view (last 30 days)
Steve Avilesmejia
Steve Avilesmejia on 8 May 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Y=4sin(X)
Z=Y+3X^2
  1. Create user defined functions that will calculate Y and Z for any array of X values.
  2. Generate a series of 5 random integer values between 1 and 10 for the X array.
  3. Calculate Y and Z using your UDFs
  4. Calculate the sum, median, mean and standard deviation for Z
A = [5 -10 1:2 8 0.5:1 0 5]
  1. Write a program to find the largest element in an nxm matrix and its index ( m,n >1)
  2. You can assume that there is only one largest element in the matrix (no repeats)
  3. The user should be prompted to enter the matrix in the Command Window
  4. The answer should be displayed in the Command Window within text
  5. You can NOT use the built in max function

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!