採用された回答

Adam Danz
Adam Danz 2021 年 8 月 23 日
編集済み: Adam Danz 2021 年 8 月 27 日

1 投票

That's because there's only 1 point and it takes >=2 points to form a line. By default, plot() does not show markers, only lines.
The reason there is only 1 point is because there is only 1 value in t:
t=12:0.01:12
t = 12
x=sin(t);
plot(t,x, 'o-')

2 件のコメント

Shahadat Hossain
Shahadat Hossain 2021 年 8 月 28 日
thanks a lot adam i am student currently studying signal system and trying to understand matlab
Adam Danz
Adam Danz 2021 年 8 月 30 日
Happy to help.

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

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by