tan(x) graph

11 Ansichten (letzte 30 Tage)
Levent Koman
Levent Koman am 20 Apr. 2021
Kommentiert: Stephan am 20 Apr. 2021
How to draw this tan(x) graph on matlab.

Akzeptierte Antwort

Stephan
Stephan am 20 Apr. 2021
Bearbeitet: Stephan am 20 Apr. 2021
I guess you know that your picture is not a tan function...
fplot(@tan,[0 7],'LineWidth',2)
  3 Kommentare
Stephan
Stephan am 20 Apr. 2021
fplot(@(x)0.5*sin(2*x-pi/2)+0.5,[0 2*pi],'LineWidth',2)
xlim([0 7])
Levent Koman
Levent Koman am 20 Apr. 2021
thanx for solution

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 20 Apr. 2021
syms x
fplot(sin(x)^2,[0 2*pi])
  1 Kommentar
Stephan
Stephan am 20 Apr. 2021
Nice ;-)
syms x
simplify(0.5*sin(2*x-pi/2)+0.5)
ans = 
rewrite(ans,'sin')
ans = 

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by