Info

此问题已关闭。 请重新打开它进行编辑或回答。

Help with two problems

1 次查看(过去 30 天)
Steve Avilesmejia
关闭: MATLAB Answer Bot 2021-8-20
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by