What is the equation for this graph?

1 view (last 30 days)
Kris
Kris on 14 Nov 2014
Commented: Kris on 14 Nov 2014
Eq

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);
plot(x,y)
grid on
axis([0 0.04 -6 6])

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!