Question: If you define x = [1 2 3 4 5), which of the following is the correct MATLAB statement that will define 5 corresponding y

If you define x = [1 2 3 4 5), which of the following is the correct MATLAB statement that will define 5 corresponding y values according to this equation: y = ax2 + x + c 1. y = a.*x.^2 + b.*x + C 2. y = a*x^2 + b*x + C 3. y = a.*x^2 + b.*x + c 4. y(a.*x^2 + b.*x + c); 5. y[a.*x.^2 + b. "X + c); B. 0.89 pts. 20% # tries: 1 Show Details 20% try penalty C. If the MATLAB variable A is a list of real numbers, which command below is equivalent to mean(A)? 1. sum(A)/size(A) 2. average(A) 3. sum(A)./length(A) 4. median(A) 0.83 pts.75% # tries: 1 Show Details 25% try penalty Why does MATLAB's atan2 function have two input parameters, Y and X? Look in MATLAB help if you don't know. 1. So it can calculate the correct angle based on the signs of both values. 2. So you don't have to do an extra calculation 3. So it can calculate two different angles 4. So it can calculate the magnitude and direction of an angle D. 1.11 pts. 100% #tries: 0 Show Details 25% try penalty E. What is the difference between 'sin' and 'sind? 1. nothing, they are the same 2. sin calculates the sine for angles measured in radians, sind calculates the sine for angles measured in degrees 3. sind is the inverse sin function 1.11 pts. 100% # tries: 0 Show Details 33% try penalty Which of the following would provide the correct result for the sine of a 90 degree angle? 1. sin(90) F. 1.11 pts. 100% #tries: 0 Show Details 2 asin1901
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
