필터 지우기
필터 지우기

ploting graph.

조회 수: 1 (최근 30일)
ruth okoh
ruth okoh 2011년 12월 10일
y1(x)= 5x^2 + 9x - 5 y2(x)= -2x^2 + 4x + 10 plot graph of y1 & y2.

답변 (1개)

Mohsen  Davarynejad
Mohsen Davarynejad 2011년 12월 10일
x=linspace(0,10,100);
y1 = 5*x.^2 + 9*x - 5;
y2 = -2*x.^2 + 4*x + 10;
plot(x,y1,'r'); hold on;
plot(x,y2,'b');
legend('y1','y2')
  댓글 수: 1
Paulo Silva
Paulo Silva 2011년 12월 10일
Hi Mohsen, it's very generous of you to answer this kinds of questions but please be aware that you might be doing the homework of others, they should at least show some effort solving their assignments not just copying and pasting the questions, they learn nothing, thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by