Question: I need to plot V a =q*V m * cos(w o t+ ) in matlab with a 20% step change in voltage gain at t=0.1s

I need to plot Va=q*Vm* cos(wot+I need to plot Va=q*Vm* cos(wot+) in matlab with a 20% step) in matlab with a 20% step change in voltage gain at t=0.1s like below

where

q (voltage gain)=0.5 ;Vm=720v; fo=50 Hz;change in voltage gain at t=0.1s like below where q (voltage gain)=0.5=0

what is the change in this code to the voltage will continue to rise (with a 20% step change in voltage gain) after t=0.1s

Code:

clc; clear all; close all;

fs = 1000; t = 0:1/fs:0.2;

Vm = 720; % Volt f0 = 50 ;% Hz q = 0.5 ; % Voltage Gain alpha = 0;

Va = Vm*q*cos(2*pi*f0*t + alpha);

Vb = Vm*(q + 0.2*q*(t == 0.1)).*cos(2*pi*f0*t + alpha);

figure, plot(t,Va,'r',t,Vb,'b'); xlabel('Time'); ylabel('Va and Vb')

;Vm=720v; fo=50 Hz;=0 what is the change in this code to the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!