Question #60417

Q. Write any two programs of MATLAB.
1

Expert's answer

2016-06-30T04:05:02-0400

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)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS