Effacer les filtres
Effacer les filtres

piecewise function only plotting half?

3 vues (au cours des 30 derniers jours)
Raphael Hatami
Raphael Hatami le 29 Août 2019
Commenté : Raphael Hatami le 31 Août 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 commentaires
Walter Roberson
Walter Roberson le 30 Août 2019
fplot(u, [min(x), max(x)])
Raphael Hatami
Raphael Hatami le 31 Août 2019
thanks Walter, this worked!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by