フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

The following three lines could be used to create a plot of the Sine function: >> a = 3; >> b = 0: pi/a: 2*pi; >> plot(b,sin(b))

1 回表示 (過去 30 日間)
OLAOYE abass
OLAOYE abass 2013 年 11 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Kinda new to matlab, nd i want to know how can smoothen this sine function and how i can make its cosine fuction

回答 (1 件)

Jos (10584)
Jos (10584) 2013 年 11 月 21 日
If you split the commands, you might figure it out yourself
a = 3
b = 0:pi/a:2*pi
y = sin(b)
plot(b,y,'o-') % connect the dots
What happens if you give a a different value? (e.g. a = 10)
What happens if you change the function used in line 3?

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by