How do I plot this square waveform using given equations for a SHM

조회 수: 1 (최근 30일)
Yuehan Zhang
Yuehan Zhang 2021년 5월 23일
답변: Joel Van Sickel 2021년 5월 24일
Hi guys, I have been struggling to plot this quasi square waveform using the given equation with the VDC, three alpha values.
I am doing the SHM for a three angle control techiniques to mitigate specific harmonics in output voltage of an H-bridge inverter.
I tried many methods but all I got is still not a square waveform
  댓글 수: 2
VBBV
VBBV 2021년 5월 23일
Can you share your code ?
Yuehan Zhang
Yuehan Zhang 2021년 5월 23일
yea sure, this is the code i got so far but i m pretty sure it's wrong cuz what i need is a quasi square waveform,

댓글을 달려면 로그인하십시오.

답변 (1개)

Joel Van Sickel
Joel Van Sickel 2021년 5월 24일
Hello Yuehan,
It looks like the code you shared is an image? Can you share the text. It also looks like you are psasing pi/6 for alpha1 alpha2 and alpha 3, however, they need to be different values or vo1 vo2 and vo3 will not be different. Another issue is that this is an infinite series, and it looks like you are plotting up to the n =5, but you'll need to go much higher than that to get anything that actually looks like a square wave.
Regards,
Joel

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by