Here is the processed text with the code fragments restored and formatted:
Answer on Question #60417 - Programming & Computer Science – C#
Question:
Write any two programs of MATLAB.
Answer:
1.
x = 0:pi/100:2*pi;
y = sin(x);
figure
plot(x,y)2.
x = linspace(-2*pi,2*pi);
y1 = sin(x);
y2 = cos(x);
figure
plot(x,y1,x,y2)
Comments