I want to know how can I remove an AC 100 V 50 Hz signal from a DC 30 V.
For example when a AC signal is mixed or added to DC signal we see an AC signal in the scope output but my problem is I just want to see only DC signal even if AC signal is present.
I am looking for something which can Remove the AC component completely and enable me to see DC Component only.
Is there any MATLAB algoritham or Simulink block which can help me solve this problem?
I will be glad if some one can give solution.
With regrads,
Sandhi
You could mean the signal samples on the AC signal period in order to extract its DC component.
If I understood right, I want to extract only the DC component out of the AC signal.
f0 = 50 % fundamental AC frequency
T0 = 1/fo %fundamental AC period
T = M*T0 %Time for M periods (integer M)
dt = T0/N % Sample at N points per period (integer N > 20)
t = dt*(M*N-1); % Sampling times
DC = mean(S);
AC = S-DC.
Hope this helps.
Greg
In this code What is 'S' here?
Will S-DC give me only AC component?
f0 = 50 % fundamental AC frequency
T0 = 1/fo %fundamental AC period
T = M*T0 %Time for M periods (integer M)
dt = T0/N % Sample at N points per period (integer N > 20)
t = dt*(M*N-1); % Sampling times
DC = mean(S);%What is 'S'Here ?
AC = S-DC.
Greg Heath <he...@alumni.brown.edu> wrote in message <41a93ac4-b5a3-4268...@33g2000vbe.googlegroups.com>...
> On Oct 19, 10:36?am, "Prashant Sandhi" <sandd...@gmail.com> wrote:
> > "Bogdan Cristea" <crist...@gmail.com> wrote in message <hbhsgn$3m...@fred.mathworks.com>...
> > > "Prashant Sandhi" <sandd...@gmail.com> wrote in message <hbhs3i$5i...@fred.mathworks.com>...
> > > > Hallo Freinds,
> >
> > > > ? ? I want to know how can I remove an AC 100 V 50 Hz signal from a DC 30 V.
> >
> > > > For example when a AC signal is mixed or added to DC signal we see an AC signal in the scope output but my problem is I just want to see only DC signal even if AC signal is present.
> >
> > > > ? ?I am looking for something which can Remove the AC component completely and enable me to see DC Component only.
> >
> > > > Is there any MATLAB algoritham or Simulink block which can help me solve this problem?
> >
> > > > I will be glad if some one can give solution.
> >
> > > > With regrads,
> > > > Sandhi
> >
> > > You could mean the signal samples on the AC signal period in order to extract its DC component.
> >
> > If I understood right, ?I want to extract only the DC component out of the AC signal