Question

3) Develop Matlab code to plots of chirp signal and its FFT (sampling frequency-500 Hz, duration: 1 second, length of FFT 102

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Fs=500; % sample rate

tf=1; % 1 seconds

t=0:1/Fs:tf-1/Fs;

f1=100;

f2=400; % start @ 100 Hz, go up to 400Hz

semi_t=0:1/Fs:(tf/2-1/Fs);

sl=2*(f2-f1/2);

f1=f1*semi_t+(sl.*semi_t/2);

f2=f1(end)+f2*semi_t-sl.*semi_t/2;

f=[f1 f2];

y=1.33*cos(2*pi*f.*t);

soundsc(y,Fs)

spectrogram(y,1024,[],1024,Fs,'yaxis')

#############################################################

A chirp is a signal in which the frequency increases (up-chirp) or decreases (down-chirp) with time. In some sources, the term chirp is used interchangeably with sweep signal.In spread-spectrum usage, surface acoustic wave (SAW) devices such as reflective array compressors (RACs) are often used to generate and demodulate the chirped signals. In optics, ultrashort laser pulses also exhibit chirp, which, in optical transmission systems, interacts with the dispersion properties of the materials, increasing or decreasing total pulse dispersion as the signal propagates.

APPLICATIONS

It is commonly used in sonar, radar, and laser, but has other applications, such as in spread-spectrum communications.

Add a comment
Know the answer?
Add Answer to:
3) Develop Matlab code to plots of chirp signal and its FFT (sampling frequency-500 Hz, duration:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a MATLAB code for the question below. There is an initial signal containing 60 Hz...

    Write a MATLAB code for the question below. There is an initial signal containing 60 Hz sinusoid of amplitude 0.8 and a 150 Hz sinusoid of amplitude 1.2 corrupted by a noise - using the randn command - (zero-mean white noise with variance of 4). Plot the noisy signal in the time domain. After that compute the Fourier transform -using the fft command of the noisy signal, compute the two-sided spectrum. Define the frequency domain f and plot the single-sided...

  • Part A:- Synthesising a Discrete Signal using Matlab: Using a sampling frequency of 8000 Hz, determine...

    Part A:- Synthesising a Discrete Signal using Matlab: Using a sampling frequency of 8000 Hz, determine the discrete signal, x[n] that is obtained from sampling a 1000 Hz sine wave, with a peak magnitude of 0.8. (that is, x(t)-0.8cos(2rtft)). Determine an equation for xin] in terms of 'n' and then create the signal in Matlab. (Remember in this case 'n' is your independent variable not t'.) Play the x[n] signal through the PC soundcard using the 'sound' command in Matlab....

  • Using MATLAB simulate and create: Use Frequency Modulation to modulate a cosine function with fm=500 Hz...

    Using MATLAB simulate and create: Use Frequency Modulation to modulate a cosine function with fm=500 Hz with fc=10000 Hz . Create plots of the modulated signal sampled at 25000 Hz and its spectra for the following values of β : 0.25, 0.5, 1, 2, 5, 10 .

  • Program from problem 1: (Using MATLAB) % Sampling frequency and sampling period fs = 10000; ts...

    Program from problem 1: (Using MATLAB) % Sampling frequency and sampling period fs = 10000; ts = 1/fs; % Number of samples, assume 1000 samples l = 1000; t = 0:1:l-1; t = t.*ts; % Convert the sample index into time for generation and plotting of signal % Frequency and amplitude of the sensor f1 = 110; a1 = 1.0; % Frequency and amplitude of the power grid noise f2 = 60; a2 = 0.7; % Generating the sinusoidal waves...

  • (B) Implement Matlab code for each part as described below: i) Define the following signal in tim...

    Using MATLAB, Please read carefully, EXPLAIN CODE AND ANSWERS, DISCUSS RESULTS, I NEED EVERY PART (B) Implement Matlab code for each part as described below: i) Define the following signal in time and plot it where Ai 10, A2-3, fi-10 Hz, f2-40 Hz. part of the DFT, and discuss the results. zero. Do this carefully for both positive and negative frequencies. Call this signal G (f). ii) Compute the DFT S(f) of s (t) using the fft() function. Plot the...

  • 4. (20 pts) Using a delicate temperature sensor, two students are continuously measuring temperature which fluctuates...

    4. (20 pts) Using a delicate temperature sensor, two students are continuously measuring temperature which fluctuates with a frequency of 50 Hz. 4-1) (5 pts) What sampling frequency is required so that the 50 Hz temperature signal will not be aliased? 4-2) (5 pts) Student A decided to sample the temperature signal at 200 Hz. What is the time between samples? If the sampling continues for 20 seconds, how many samples will be taken? 4-3) (5 pts) Student B sampled...

  • Q: please solve using matlab code withe comment 1.      Write the Matlab code to generate: x...

    Q: please solve using matlab code withe comment 1.      Write the Matlab code to generate: x = cos(w1*t) + cos(w2*t); where, w1=7; w2=23; t = [0:0.005:2] 2.   Plot the signal using sub plot a.   in time domain b.   in frequency domain 3)   Sample the signal under different sampling conditions: a.      Ts<1/2fm b.      Ts=1/2fm c.       Ts>1/2fm 4).      Multiple plot: the signal sampled under sampling condition and the signal x a.      in time domain b.      in frequency domain c.       Label and Title...

  • Please show the code and the plots. I want to double check my work. Plot the...

    Please show the code and the plots. I want to double check my work. Plot the following functions, r(t), in MATLAB: 1. c(t) = real(e32w10t) 2. r(t) = real(e)2x10tejš) 3. r(t) = real(ej2w10teji) For problem 4, assume the following: 1. Sampling frequency: Fs = 1000 samp 2. Signal length: T=1 second

  • 1.) You want to send a "square wave" pulse signal at a frequency of 60 Hz....

    1.) You want to send a "square wave" pulse signal at a frequency of 60 Hz. What characteristics would this signal have? 2.) You want to set up a flicker fusion stimulus with a duty cycle of 50%. Lets say you want to set up a stimulus that is a total of 2 seconds long with a frequency of 1 Hz, 10 Hz, 20 Hz, 40 Hz, 60 Hz, 80 Hz, and 100 Hz. How do you do that? What...

  • Data communication Qs A signal has a bandwidth frequency of 150 Hz and the highest frequency...

    Data communication Qs A signal has a bandwidth frequency of 150 Hz and the highest frequency is 170 Hz. What is the lowest frequency of the signal? (just put the whole number. No decimal values. No units next to the number) A periodic signal completes one cycle in 0.04 second. What is the frequency? A sine wave completes 7200 cycles in one hour. What are its frequency and period? I: 50 Hz, II: 10 Hz, 0.1 seconds I: 25 Hz,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT