Borrar filtros
Borrar filtros

piecewise function only plotting half?

8 visualizaciones (últimos 30 días)
Raphael Hatami
Raphael Hatami el 29 de Ag. de 2019
Comentada: Raphael Hatami el 31 de Ag. de 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 comentarios
Walter Roberson
Walter Roberson el 30 de Ag. de 2019
fplot(u, [min(x), max(x)])
Raphael Hatami
Raphael Hatami el 31 de Ag. de 2019
thanks Walter, this worked!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by