Step response is not showing up in the legend of my plot

5 ビュー (過去 30 日間)
Ryan
Ryan 2025 年 2 月 4 日
回答済み: Sam Chak 2025 年 2 月 4 日
I am trying to plot both the experimental and simulated (step function of a first order transfer function) data. Both of the data sets are being displayed on the same graph, but when I try to put a legend on the plot it only says the step function is "untitled 1"

回答 (1 件)

Sam Chak
Sam Chak 2025 年 2 月 4 日
I tried plotting both to display on the same graph and inserted the legends. There's no problems so far.
legend('simulated', 'experimental', 'location', 'east')

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by