Page 1 of 1

Which of the following code can generate the plot if variables t and y are created as following? t=linspace(0,1,100); y=

Posted: Fri May 20, 2022 11:50 am
by answerhappygod
Which Of The Following Code Can Generate The Plot If Variables T And Y Are Created As Following T Linspace 0 1 100 Y 1
Which Of The Following Code Can Generate The Plot If Variables T And Y Are Created As Following T Linspace 0 1 100 Y 1 (28.42 KiB) Viewed 43 times
Which of the following code can generate the plot if variables t and y are created as following? t=linspace(0,1,100); y=sin(2"pit); 2 1.8 1.6 1.4 4 1.2 1 0.8 0.6 0.4 1 0.2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 O A.plot(t,2*y); O B. plot(t,y); OC.plot(t.y+1); O D.plot(t,2*y-1);