piecewise function only plotting half?
Show older comments
Hello, I am very new to matlab and am trying to graph a function of mutiple piecewise conditions. However, it only seems to be graphing up to x=5 (I need it tot graph to x=10). I've tinkered with it, and it seems to only be count the a= piecewise, none of the others. Can anybody see why that is? thank you

4 Comments
dpb
on 29 Aug 2019
Not without the code, no...
Raphael Hatami
on 30 Aug 2019
Edited: dpb
on 30 Aug 2019
Walter Roberson
on 30 Aug 2019
fplot(u, [min(x), max(x)])
Raphael Hatami
on 31 Aug 2019
Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!