wanna Plot this one its inductor voltage graph in my case

2 views (last 30 days)
Hello Everyone.
Hope u are fine and doing well .....
I want to code this plot...
its for voltage of inductor in my case...
Plot graph image is attached.

Accepted Answer

Kevin Holly
Kevin Holly on 2 Feb 2022
If you want to create that plot:
y=[1 2 0 -1 1 2 0 0 2 3 1 0 0];
x=[0 1 1 2 2 3 3 4 4 5 5 6 7];
figure
plot(x,y)
ylim([-3 3])

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!