Question: a) Write a single MATLAB instruction to compute the following mathematical equation. State the output. cos0.7+2510(19+62)5(81/3) (Mark 1) b) Given array a and array b:

a) Write a single MATLAB instruction to compute the following mathematical equation. State the output. cos0.7+2510(19+62)5(81/3) (Mark 1) b) Given array a and array b: a=[97531];b=[1214161820]; (i) Complete the MATLAB command that will produce the expected output. p=a(?) Expected output: p= 73 (Mark 1) (ii) Complete the MATLAB command that will produce the expected output. q=b(?) Expected output: q= 20181614
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
