Info

此问题已关闭。 请重新打开它进行编辑或回答。

Plot the trapeoidal waveform using given equations

1 次查看(过去 30 天)
F(θe)
1 0 ≤ θe < 2π/3
16/π(θe 2π 3 ) 2π/3 ≤ θe < π
1 π ≤ θe < 5π/3
1 + 6/π(θe 5π 3 ) 5π/3 ≤ θe < 2π

回答(1 个)

Vladimir Sovkov
Vladimir Sovkov 2020-3-3
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 个评论
Mantavya Vashistha
thank you very much
can you help me to implement this waveform on generating back emf tapezoidal waveform on simulink
I have been made a simulink model to calculate wm
I have to find ea,eb and ec
Vladimir Sovkov
Vladimir Sovkov 2020-3-3
I am not much experienced in Simulink but I think that the overall programming linguistic does not differ very much.

此问题已关闭。

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by