Respuesta aceptada

Stephan
Stephan el 20 de Abr. de 2021
Editada: Stephan el 20 de Abr. de 2021

0 votos

I guess you know that your picture is not a tan function...
fplot(@tan,[0 7],'LineWidth',2)

3 comentarios

Levent Koman
Levent Koman el 20 de Abr. de 2021
I know tan(x) function, but how can I draw my graph?
Stephan
Stephan el 20 de Abr. de 2021
fplot(@(x)0.5*sin(2*x-pi/2)+0.5,[0 2*pi],'LineWidth',2)
xlim([0 7])
Levent Koman
Levent Koman el 20 de Abr. de 2021
thanx for solution

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 20 de Abr. de 2021

0 votos

syms x
fplot(sin(x)^2,[0 2*pi])

1 comentario

Stephan
Stephan el 20 de Abr. de 2021
Nice ;-)
syms x
simplify(0.5*sin(2*x-pi/2)+0.5)
ans = 
rewrite(ans,'sin')
ans = 

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 20 de Abr. de 2021

Comentada:

el 20 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by