How to generate waveforms in MATLAB from pre-calculated converter values?
Show older comments
Hello everyone,
I am working on a buck converter and I have already calculated the key values analytically (such as inductor current ripple, maximum/minimum current, and capacitor voltage change per switching interval).
What I am trying to do now is generate the corresponding waveforms in MATLAB (for example, inductor current and capacitor voltage vs. time) using these calculated values.
I am not using Simulink, and I am completely new to MATLAB.
Specifically, I would like to understand:
- How to convert my calculated values (e.g., current slopes, ripple magnitudes, switching times) into time-domain waveforms in MATLAB?
I am not looking for a full circuit simulation—just a way to plot waveforms based on known equations and switching intervals.
Any guidance, examples, or recommended approach would be greatly appreciated.
Thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!