Re: signal processing

30 views
Skip to first unread message
Message has been deleted

Rajesh D

unread,
May 30, 2013, 11:18:26 AM5/30/13
to signal_imag...@googlegroups.com
fs  = 2000;

t = 0:1/fs:1;

signal = sin(400*2*pi*t);

%%% clipping

idx = find(signal>0.5);

signal(idx) = 0.5;   % clipping on positive side

idx = find(signal<-0.5);

signal(idx) = -0.5;  % clipping on negative side



Here you have the clipped sinusoidal signal.


On Wed, May 29, 2013 at 8:09 AM, chess <manit...@gmail.com> wrote:
Hi
I am having problem understanding of this sentence, is there anyone can help me to figure out the Matlab code for this :

Generate 400 Hz sine tone
Pass it through a nonlinearity so that the amplitude is clipped at 50% of it maximum value on both the positive and the negative portions of the tone

what am I supposed to do ?

--
You received this message because you are subscribed to the Google Groups "Signal and Image Processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to signal_imageproce...@googlegroups.com.
To post to this group, send email to signal_imag...@googlegroups.com.
Visit this group at http://groups.google.com/group/signal_imageprocessing?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages