Question

SIGNALS AND SYSTEMS Experiment 1    Signal Generation Date: January 1-8, 2018 The purpose of this...

SIGNALS AND SYSTEMS

Experiment 1

   Signal Generation

Date: January 1-8, 2018

The purpose of this laboratory is to familiarize you with the basic commands in MATLAB for signal generation and verify the generated signal.

Objectives

1.Learn basic MATLAB commands and syntax, including help system.

2.Use MATLAB ( from Citrix) to generate and plot different signals.

Assignments

Generate and plot the signal x1(t) = 1+ sin (4pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title.

Generate and plot the function x2(t) = sin (30pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title.

Generate and plot the combination function x3(t) = x1(t)*x2(t) as above. Use proper axes labels with title.

Generate and plot the sum of two cosine waves   v1(t) = cos(20pt) and v2(t) = cos(22pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title. Let x4(t) =v1(t) +v2(t).

Generate and plot the signal represented by    x5(t) = e-0.1t sin (2t/3), for t ranging from 0 to 30 in 0.1 increments. Use proper axes labels with title.

Generate and plot the signal represented by    x6(t) = sin (4pt)/ 4pt, for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title

                                                                                                 

Plot the function x7(t) = (1 – e -2t ) cos (60 pt). Use t from 0 to 0.25 in 0.001 increments. Use proper axes labels.

Plot a discrete-time signal x[n] using the following commands:

>> n= -2: 6;

>> x=[ 0 0 1 2 1 0 –1 0 0];

>> stem(n,x);

>> xlabel(‘n’);

>> ylabel(‘x[n]’);

>> title (‘ Plot of a discrete-time Signal’);

The force f(t) in newtons(N) in a certain industrial process increases with the square of time over a particular time interval and cab be expressed as

                        f(t) = 0.25 t2 .

      Use MATLAB to plot the function from t=0 to t= 10 s.

Write MATLAB Program codes and Comments on your observation about each signal plot.

     

Use help command for all MATLAB commands to know the detail.

  

MATLAB commands used:

sin     cos       exp     pi     plot    stem   grid    xlabel    ylabel      title

Homework Answers

Know the answer?
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
Similar Questions
Assignments Generate and plot the signal x1(t) = 1+ sin (4pt), for t ranging from -1...
Assignments Generate and plot the signal x1(t) = 1+ sin (4pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title. Generate and plot the function x2(t) = sin (30pt), for t ranging from -1 to 1 in 0.001 increments. Use proper axes labels with title. Generate and plot the combination function x3(t) = x1(t)*x2(t) as above. Use proper axes labels with title. Generate and plot the sum of two cosine waves   v1(t) =...
Below are three different codes in Matlab, please copy those your matlab and answer the following...
Below are three different codes in Matlab, please copy those your matlab and answer the following questions: Thank you for your help!!!! 1.1 Baseband Signal a) Plot time versus baseband signal (m_sig). b) Plot freq versus baseband signal spectrum (M_fre). 1.2 Amplitude Modulation – Suppressed Carrier. a) Plot time versus the DSB-SC signal (s_dsb). b) Plot freq versus the DSB-SC signal spectrum (S_dsb). 1.3 Coherent Demodulation a) Plot freq versus the pre-filtered signal (S_dem). b) Plot freq versus the post-filtered...
Question : Design the low and high pass filter for the signal, x(t) = 10 sin...
Question : Design the low and high pass filter for the signal, x(t) = 10 sin (10 t) + 1 sin (1000 t) by MATLAB Is below answer right? at ?High pass , 5row shouldn't this change from sin(100*t) ? sin(1000*t) x = 10*sin(10*t) + 1*sin(100*t); ?   x = 10*sin(10*t) + 1*sin(1000*t); ??? ..................................................................................................................................................... ?Low pass clc; rng default Fs=2000; t=linspace(0,1,Fs); x=10*sin(10*t)+sin(1000*t)%given signal n=0.5*randn(size(t));%noise x1=x+n; fc=150; Wn=(2/Fs)*fc; b=fir1(20,Wn,'low',kaiser(21,3)); %fvtool(b,1,’Fs’,Fs) y=filter(b,1,x1); plot(t,x1,t,y) xlim([0 0.1]) xlabel('Time (s) ') ylabel('Amplitude') legend('Original Signal','Filtered Data')...
PLEASE USE MAT LAB ONLY. THANK YOU (a) Create and plot the signals listed below and...
PLEASE USE MAT LAB ONLY. THANK YOU (a) Create and plot the signals listed below and save your Matlab code in a script file. i) Cosine signal of frequency 100 Hz over the range [0,0.1] seconds and samples spaced 10^- 4 seconds apart with a phase of pi/2 and an amplitude of 1.   PLEASE USE MAT LAB ONLY. THANK YOU ii) A square wave that oscillates between 0 and 1 every five samples, plot 3 periods of the waveform. iii)...
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone...
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone spot the error and try the code to fix the error. %The beginning step is to generate a functionf(t) that consists of the sum %of the following components % 25 Hz cosine function of magnitude 1 % 50 Hz sine function of magnitude 1 % 40 Hz square wave function of magnitude 1 clear; clc; close all; %sample rate is given at 2500 Hz...
Analog Signal Processing & Filter Design Instructions: Please show how you arrived at the result. Use...
Analog Signal Processing & Filter Design Instructions: Please show how you arrived at the result. Use 3 significant figures and scientific or engineering notation. Use standard rounding, >0.5 in the next significant figure, round up & <0.5 round down. Provide the numerical solution to problems (unless the problem asks for a formula or equation). e.g. don't write Ö79, write 8.89, don't write 127/9, write 14.1 For the problem below: Please Use Matlab for plots. Label the Matlab plots, then capture...
MATLAB FIR filter design. The audio file, covering the frequency range of roughly 0 to 3000...
MATLAB FIR filter design. The audio file, covering the frequency range of roughly 0 to 3000 Hz, is very badly corrupted with high?level noise. Your problem is to design a digital filter that will sufficiently attenuate the noise so that the audio speech is intelligible. (sorry but chegg doesn't allow me to attach the wav file) Here is the design template: clear, clc % clear all variables %% Read in the noisy audio signal from the file 'CapnJ.wav' using audioread...
Use Matlab to solve the following (a) Create a plot with a sphere at the center...
Use Matlab to solve the following (a) Create a plot with a sphere at the center of the graph (origin) representing the sun with a radius of 6955000 km. Make sure that the outside of the sphere is painted in ’autumn’ colors. (Hint: look up the sphere() function, the colormap() function, and the surf() function). (b) Create a variable t ranging from 0 to 2? with increments of 0.01. (c) The following Table gives you important values needed to compute...
Problem 3 you can use Matlab and also i give u the Problem 1 code its...
Problem 3 you can use Matlab and also i give u the Problem 1 code its on Matlab Using the same initial code fragment as in Problem 1, add code that calculates and plays y (n)=h(n)?x (n) where h(n) is the impulse response of an IIR bandpass filter with band edge frequencies 750 Hz and 850 Hz and based on a 4th order Butterworth prototype. Name your program p3.sce this is the Problem 1 code and the solutin clear; clc;...
Using the following code: % Ex 6.4 First-order step and impulse response for two time constants...
Using the following code: % Ex 6.4 First-order step and impulse response for two time constants % clear all; close all; t = 0:.1:100; % Time vector subplot(1,2,1); x = 250*exp(-0.05*t); plot(t,x,'k'); xlabel('Time (hrs)','FontSize',14); ylabel('P_A (mmHg)','FontSize',14); title('Impulse Response','FontSize',14); subplot(1,2,2); x = 20*(1-exp(-0.05*t)); plot(t,x,'k'); xlabel('Time (hrs)','FontSize',14); ylabel('P_A (mmHg)','FontSize',14); title('Step Response','FontSize',14);    ANSWER: The response of a 1st order linear body fluid balance system to step function (L m (t) = 1/s, Eqn. 6.9/p226) and impulse function (L d (t) = 1,...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT