Untitled
Anonymous
plain_text
02/11/2026 9:16 PM
416 B
14
Indexable
% Define time vector
t = 0:1e-5:0.1; % 0 to 0.1 seconds, 10 microsecond steps
% AC Voltage Parameters
V_amplitude= 10; % Volts
frequency = 60; % Hz
V=V_amplitude *sin(2* pi* frequency * t
subplot(3,1,1);
plot(t, V);
titlef'AC Voltage Waveform');
xlabel("Time (s)");
ylabel("Voltage (V)')
grid on;
legend(V(t));Editor is loading...
Leave a Comment