Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Help with two problems

1 vue (au cours des 30 derniers jours)
Steve Avilesmejia
Steve Avilesmejia le 8 Mai 2020
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by