Plot the trapeoidal waveform using given equations
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
F(θe)
1 0 ≤ θe < 2π/3
1− 6/π(θe − 2π 3 ) 2π/3 ≤ θe < π
−1 π ≤ θe < 5π/3
−1 + 6/π(θe − 5π 3 ) 5π/3 ≤ θe < 2π
Respuestas (1)
Vladimir Sovkov
el 3 de Mzo. de 2020
syms theta
y=piecewise(...
0<=theta<2*pi/3,1,...
2*pi/3<=theta<pi,(1-6/pi*(theta-2*pi/3)),...
pi<=theta<5*pi/3,-1,...
5*pi/3<=theta<2*pi,(-1+6/pi*(theta-5*pi/3))...
);
fplot(y,[0 2*pi]);
2 comentarios
Mantavya Vashistha
el 3 de Mzo. de 2020
Vladimir Sovkov
el 3 de Mzo. de 2020
I am not much experienced in Simulink but I think that the overall programming linguistic does not differ very much.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!