フィルターのクリア

piecewise function only plotting half?

2 ビュー (過去 30 日間)
Raphael Hatami
Raphael Hatami 2019 年 8 月 29 日
コメント済み: Raphael Hatami 2019 年 8 月 31 日
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 8 月 30 日
fplot(u, [min(x), max(x)])
Raphael Hatami
Raphael Hatami 2019 年 8 月 31 日
thanks Walter, this worked!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by