Plotting sine wave.

18 ビュー (過去 30 日間)
Hassan Alhobail
Hassan Alhobail 2017 年 11 月 6 日
回答済み: Star Strider 2017 年 11 月 6 日
I need to plot sin(x) and cos(x), both in the same graph, with amplitude = 5, period = 10s. Two periods in the positive and two periods in the negative. Please help! I don't know how to plot the negative cycles :(

回答 (1 件)

Star Strider
Star Strider 2017 年 11 月 6 日
The ‘negative cycles’ take care of themselves, since the sine and cosine curves will go from +5 to -5, unless there is something about this homework assignment you have not told us.

カテゴリ

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