Help with two problems

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개)

이 질문은 마감되었습니다.

질문:

2020년 5월 8일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by