How can I draw this circuit in MATLAB and get the output of this waveform?
4 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1466052/image.png)
2 Comments
Walter Roberson
on 27 Aug 2023
Could you confirm that you want to program this in MATLAB, and not in Simulink ? Simulink is designed for this kind of work.
Answers (1)
Walter Roberson
on 27 Aug 2023
This is easier if you use the Sim Powersystems add-on product:
You would use an AC Voltage Source such as https://www.mathworks.com/help/sps/powersys/ref/acvoltagesource.html and you would use a Series RLC Branch, https://www.mathworks.com/help/sps/powersys/ref/seriesrlcbranch.html
0 Comments
See Also
Categories
Find more on Circuits and Systems 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!