What is the equation for this graph?

1 view (last 30 days)

Accepted Answer

David Sanchez
David Sanchez on 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);
grid on
axis([0 0.04 -6 6])

More Answers (0)

Community Treasure Hunt

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

Start Hunting!