how to plot this function?
Mostrar comentarios más antiguos
Respuesta aceptada
Más respuestas (1)
f = @(x) abs(x)<=pi/2;
x = linspace(-pi,pi,200);
plot(x,f(x))
1 comentario
Niloufar
el 6 de Oct. de 2022
Categorías
Más información sobre Simulation, Tuning, and Visualization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


