Manoj


Active since 2013

Followers: 0   Following: 0

Message

Question:
Assuming the following waveform v=5*sin(wt+pi/6) at (t<0.1)+10*sin(wt+pi/6) at (t>=0.1);
f=60 Hz, and sampling frequency is 12 samples per cycle.
a. Estimate the amplitude of the signal using Full-cycle Fourier algorithm ;
This is the one i coded and i dont get result. Kindly help me in suggesting the correct solution.

f=60;
N=12;
w=2*pi*f;
dt=1/(f*N);
t=0:dt:0.2;
v=5*sin(2*pi*f.*t+pi/6).*(t<0.1)+10*sin(2*pi*f.*t+pi/6).*(t>=0.1);
for i=0:length(t)-1
Va=v(i);
Wx=cos(2*pi/N).*t;
Wy=sin(2*pi/N).*t;
a=Va*Wx;
b=Va*Wy;
vp(i)=sqrt(a.^2+b.^2);
end
length(t)=(length(t)-1);
plot(t,vp);

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
224,907
of 301,195

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,190

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 173,322

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


Assuming the following waveform v=5*sin(wt+pi/6) at (t<0.1)+10*sin(wt+pi/6) at(t>=0.1); f=60 Hz, and sampling frequency is N= 12 samples per cycle. a. Estimate the amplitude of the signal using Full-cycle Fourier algorithm
f=60; N=12; w=2*pi*f; dt=1/(f*N); t=0:dt:0.2; v=5*sin(2*pi*f.*t+pi/6).*(t<0.1)+10*sin(2*pi*f.*t+pi/6).*(t>=0.1); for i=0:l...

12 years ago | 0 answers | 0

0

answers