Filter löschen
Filter löschen

piecewise function only plotting half?

3 Ansichten (letzte 30 Tage)
Raphael Hatami
Raphael Hatami am 29 Aug. 2019
Kommentiert: Raphael Hatami am 31 Aug. 2019
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 Kommentare
Walter Roberson
Walter Roberson am 30 Aug. 2019
fplot(u, [min(x), max(x)])
Raphael Hatami
Raphael Hatami am 31 Aug. 2019
thanks Walter, this worked!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

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

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by