フィルターのクリア

How to plot difference of two functions in matlab?

18 ビュー (過去 30 日間)
Nitigya Joshi
Nitigya Joshi 2021 年 4 月 25 日
コメント済み: Nitigya Joshi 2021 年 4 月 25 日
1. Given u[n] the unit step sequence, using the stem function plot the following :-
• u[n - 3] - u[n - 8]
• u[8 - n] - u[4 - n]
• u[6 - n]

採用された回答

Walter Roberson
Walter Roberson 2021 年 4 月 25 日
f1 = @(x) sin(3*x)
f1 = function_handle with value:
@(x)sin(3*x)
f2 = @(x) sin(8*x)
f2 = function_handle with value:
@(x)sin(8*x)
f3 = @(x) f1(x) - f2(x)
f3 = function_handle with value:
@(x)f1(x)-f2(x)
fplot(f3, [-10 10])
  1 件のコメント
Nitigya Joshi
Nitigya Joshi 2021 年 4 月 25 日
ok..................
Thank you very much sir.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by