フィルターのクリア

how to write this in matlab???? and plot graph between y and x;

1 回表示 (過去 30 日間)
Mithun Routh
Mithun Routh 2018 年 9 月 11 日
コメント済み: Walter Roberson 2018 年 9 月 12 日
z=2;
y=0.5-0.00167(z-2)sin(π(x+0.1)/(18.5-0.3(z-2) ))-0.00184(x-3)(z-2)
  8 件のコメント
Mithun Routh
Mithun Routh 2018 年 9 月 11 日
y=(0.5-0.00167.*(3-2)).*sin((pi.*(x+0.1)/(18.5-0.3.*(3-2))))-0.00184.*(x-3).*(3-2); for z=3, still it is showing error
PromoCodeBSJ
PromoCodeBSJ 2018 年 9 月 11 日
編集済み: PromoCodeBSJ 2018 年 9 月 11 日
what is x? you need to define x. on my machine it works fine

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

採用された回答

PromoCodeBSJ
PromoCodeBSJ 2018 年 9 月 11 日
編集済み: Walter Roberson 2018 年 9 月 11 日
x=1:10
z=1
y=(0.5-0.00167.*(3-2)).*sin((pi.*(x+0.1)/(18.5-0.3.*(3-2))))-0.00184.*(x-3).*(3-2);
Copy and paste this
  2 件のコメント
Mithun Routh
Mithun Routh 2018 年 9 月 12 日
thanks sir for ur help @ walter Roberson
Walter Roberson
Walter Roberson 2018 年 9 月 12 日
It was PromoCodeBSJ who provided the solution; I just reformatted it to look nicer.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by