This Script is already saved on MATLAB and it is used to plot B(t) for different values of A on the same graph. t=0:0.01:5; A=[0.05 0.1 0.25 0.5 0.7]; O for i=1:1:5 B=A(i)*sin(t) figure plot (t,B)...

In matlabThis Script is already saved on MATLAB and it is used to plot B(t) for different values of A on the same graph.<br>t=0:0.01:5;<br>A=[0.05 0.1 0.25 0.5 0.7];<br>O for i=1:1:5<br>B=A(i)*sin(t)<br>figure<br>plot (t,B)<br>hold on<br>end<br>The error in this Script is:<br>Select one:<br>O a. No error<br>O b. increment of (1) is wrong<br>O c. hold on should be after the loop<br>O d. figure should be before the loop<br>

Extracted text: This Script is already saved on MATLAB and it is used to plot B(t) for different values of A on the same graph. t=0:0.01:5; A=[0.05 0.1 0.25 0.5 0.7]; O for i=1:1:5 B=A(i)*sin(t) figure plot (t,B) hold on end The error in this Script is: Select one: O a. No error O b. increment of (1) is wrong O c. hold on should be after the loop O d. figure should be before the loop

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here