What is the equation for this graph?

 Réponse acceptée

David Sanchez
David Sanchez le 14 Nov 2014
I give you the first section and you extend it along the x-axis
x = 0:0.001:0.04;
y = (800.*x-4).*(x>=0 & x<0.01) + 4.*(x>=0.01 & x<0.02) + (-400.*x+12).*(x>=0.02 & x<=0.04);
plot(x,y)
grid on
axis([0 0.04 -6 6])

Plus de réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by