how to create two sinusoidal signals
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
Create two sinusoidal signals that vary by 60 degrees
採用された回答
KALYAN ACHARJYA
2021 年 3 月 7 日
Hint:
A=.....%Amplitude
t=0:0.01:1; %time
ph=......%Set Phase difference
w=.....% Frequency
sin1=................% Asin(wt);
sin2=................%Asin(wt+ph);
plot(t,sin1,'-*r',t,sin2,'-ob');
grid on;
12 件のコメント
xavier
2021 年 3 月 7 日
i dont get the graph.
KALYAN ACHARJYA
2021 年 3 月 7 日
Can you show me what you have tried?
xavier
2021 年 3 月 7 日

KALYAN ACHARJYA
2021 年 3 月 7 日
A=10;%Amplitude
t=0:0.01:1; %time
ph=60;%Set Phase difference
w=20;% Frequency
sin1=A*sin(w*t);
sin2=A*sin(w*t+ph);
plot(t,sin1,'-*r',t,sin2,'-ob');
grid on;
got error on plot equation

KALYAN ACHARJYA
2021 年 3 月 7 日
Once I tried

Jan
2021 年 3 月 7 日
Remember, that the trigonometric functions like SIN() are using radians, no degrees. So either use:
ph = 60 * pi / 180;
or the sind() function.
KALYAN ACHARJYA
2021 年 3 月 7 日
編集済み: KALYAN ACHARJYA
2021 年 3 月 7 日
xavier
2021 年 3 月 7 日
got the graph thank you so much
Evans Sigei
2021 年 3 月 12 日
Kalyan hey
Evans Sigei
2021 年 3 月 12 日
i have some work i need help
KALYAN ACHARJYA
2021 年 3 月 12 日
Open a new question, I'm busy with my work, so you can get answers from other members
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
