Filter löschen
Filter löschen

ploting graph.

1 Ansicht (letzte 30 Tage)
ruth okoh
ruth okoh am 10 Dez. 2011
y1(x)= 5x^2 + 9x - 5 y2(x)= -2x^2 + 4x + 10 plot graph of y1 & y2.

Antworten (1)

Mohsen  Davarynejad
Mohsen Davarynejad am 10 Dez. 2011
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 Kommentar
Paulo Silva
Paulo Silva am 10 Dez. 2011
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by