tan(x) graph

11 ビュー (過去 30 日間)
Levent Koman
Levent Koman 2021 年 4 月 20 日
コメント済み: Stephan 2021 年 4 月 20 日
How to draw this tan(x) graph on matlab.

採用された回答

Stephan
Stephan 2021 年 4 月 20 日
編集済み: Stephan 2021 年 4 月 20 日
I guess you know that your picture is not a tan function...
fplot(@tan,[0 7],'LineWidth',2)
  3 件のコメント
Stephan
Stephan 2021 年 4 月 20 日
fplot(@(x)0.5*sin(2*x-pi/2)+0.5,[0 2*pi],'LineWidth',2)
xlim([0 7])
Levent Koman
Levent Koman 2021 年 4 月 20 日
thanx for solution

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 4 月 20 日
syms x
fplot(sin(x)^2,[0 2*pi])
  1 件のコメント
Stephan
Stephan 2021 年 4 月 20 日
Nice ;-)
syms x
simplify(0.5*sin(2*x-pi/2)+0.5)
ans = 
rewrite(ans,'sin')
ans = 

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by