6 views

Uploaded by Shalini Sharma

matlab

- Robotic Car Traction Control
- Experiment 12
- Integration Formulas
- Fedora Installation and Booting Proccess.prasentation
- Fourier explanation
- Modern Digital and Analog Communications Systems - B P Lathi Solutions Manual
- Sapiens: A Brief History of Humankind
- The Unwinding: An Inner History of the New America
- The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
- Never Split the Difference: Negotiating As If Your Life Depended On It
- Shoe Dog: A Memoir by the Creator of Nike
- Maybe You Should Talk to Someone: A Therapist, HER Therapist, and Our Lives Revealed
- Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
- Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
- Yes Please
- John Adams
- Grit: The Power of Passion and Perseverance
- Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
- A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
- This Changes Everything: Capitalism vs. The Climate

You are on page 1of 3

Object: Write a MATLAB program to generate a Signal:s[n] = 2*n*(0.8^n) Corrupted by the noise d[n] resulting the signal x[n], where x[n]=s[n]+d[n] Also down sample the corrupted signal.

Software Used: MATLAB

Theory: The signal s[n] is the product of two functions. The two functions are namely the ramp function

‘n’ and the exponent power function. The signal is corrupted by noise d[n] which is a random noise. Random noise is defined as noise consisting of large number of transient disturbances with a statistically random time distribution. The input signal corrupted by noise is down sampled. Down sampling is the process of reducing the sampling rate of a signal, which means that the sampled sequence is replaced by a new sequence which is simply every Nth value of the original sampled sequence; that is, Xnew[n] = xoriginal[nN] where N is the Downsampling Factor. This process of extracting Nth sample is also known as Decimation.

In the figure above x[n] is the original signal, xp[n] is sampled signal and xb[n] is downsampled signal

7

subplot(4. end. ylabel('s[n]'). title('Noise Signal').1. ylabel('x[n]'). xlabel('n').Source Code:clear all.4). n=0:1:39.1).d). xlabel('n'). clc.1. stem(n. xlabel('n').3). subplot(4. x(i+1)=s(i+1)+d(i+1). title('Input Signal').2). stem(m. xlabel('n'). s(i+1)=2*i*(0.8. subplot(4. for i=0:39.^i). title('Signal+Noise'). m=0:1:19. title('Downsampled Signal by Factor N=2'). for j=0:19.x). y(j+1)=x(2*(j+1)). ylabel('y[n]'). subplot(4. end. close all.1.40).1.s).y). Results: 8 . stem(n. ylabel('d[n]'). stem(n. d=rand(1.

Conclusion: Signal s[n] is generated and then corrupted by random noise signal d[n] which is then downsampled using MATLAB. 9 .

- Robotic Car Traction ControlUploaded byShalini Sharma
- Experiment 12Uploaded byShalini Sharma
- Integration FormulasUploaded byJoyen Sanjana
- Fedora Installation and Booting Proccess.prasentationUploaded bywahyu1989
- Fourier explanationUploaded byChen Rimoch
- Modern Digital and Analog Communications Systems - B P Lathi Solutions ManualUploaded byIlija Sisoski