Preview

Signals and systems

Good Essays
Open Document
Open Document
1649 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Signals and systems
EEEL500 2.1 Signal and System Analysis
By
Prashanthan Uthayakumar (w1412291)

1.
(a) Create your own plots of the unit step, and triangular signals. Now, use the same approach to create the plots of the rectangular signal ( ) and the signal ( ) shown in the Figure below. Include in your report the texts of the programmes you have used and copies of the obtained plots.

(b) Use MATLAB help to learn about xlabel, and ylabel commands. When creating the plots in part (a) and throughout the report make sure that the axes of the plots are always properly labelled.

(c) Use different line styles, e.g. thicknesses, shapes (broken continuous etc.), and colours in the created plots. MATLAB help on the plot function (>>help plot) instructs how to achieve these effects.
[30 marks]

a)
Plot of a unit step(t)

clear all time=-3:0.01:5; ind1=find(time=0); x(ind1)=0; x(ind2)=1; plot(time,x,'linewidth',2) set(gca,'fontsize',12) axis([-3, 8, -2, 4]) grid on xlabel('x'); ylabel('y'); title('Unit Step')

Plot of a triangular signal

clear all time=-8:0.001:10; ind1=find(time=-2 & time < 0); ind3=find(time>=0 & time < 2); ind4=find(time>=2); y(ind1)=0.5; y(ind2)=1+time(ind2); y(ind3)=1-time(ind3); y(ind4)=0.5; plot(time,y) plot(time,y,'linewidth',3) set(gca,'fontsize',12) axis([-3, 3, -1, 2]) grid on xlabel('x'); ylabel('y'); title('Triangular Signal') This part of the task also required me to add labels to both the x and y axis using the xlabel and ylabel command. In order for me to reach that, I had to use: xlabel(‘text’) and ylabel(‘text’) where text is a string variable.
Approach to create the given signal x(t).
First step was to create a Rect(t). clear all time=-3:0.001:4; ind1=find(time=-0.5 & time < 0.5); ind3=find(time>0.5); y(ind1)=0; y(ind2)=1; y(ind3)=0; plot(time,y) plot(time,y,'linewidth',3) set(gca,'fontsize',12) axis([-3, 3, -1, 2]) grid on xlabel('x'); ylabel('y');
title('Rect(t)')

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Answers Lab06 ECG

    • 446 Words
    • 4 Pages

    4. Draw an ECG wave form representing one heartbeat. Label the P, QRS, and T waves; the P-R interval; the S-T segment; and…

    • 446 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    GRPAHING WITH MOTION

    • 928 Words
    • 4 Pages

    3. What did you have to do to match the graph you were given in Step 7?…

    • 928 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Methanol Boiling Point

    • 569 Words
    • 3 Pages

    Describe results – clearly state the trend from the graphs, citing specific values. Link this to the results you obtained from conducting the experiment.…

    • 569 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Bio 111

    • 285 Words
    • 2 Pages

    3) a) In the graph, the independent variable is the time of exposure to UV light, and the dependent variable is the amount of bacterial growth (absorbance)…

    • 285 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    5. Choose “Linear” for the trend/regression type. Then at the bottom of the window, select “display equation on chart” and “Display R-squared value on chart”.…

    • 581 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Lab 8

    • 1110 Words
    • 5 Pages

    Keep track of your findings and then create graphs of your data using the provided tools. Take a screen shot of your graph, save as an image file, and upload for grading. You will have a screen shot for each paramecium grown alone for a total of 2 screen shots. Paste them below.…

    • 1110 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Netw410 Week 1 Lab Report

    • 702 Words
    • 3 Pages

    Find another diagram from this site, or any other site, that you feel can be improved. Paste a screen shot in your lab report and explain what you think can be improved about the diagram. (3 points) You must include a detailed explanation to get credit for this portion of the question.…

    • 702 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    5. Press 2nd Y= to access the STAT PLOTS menu, how many stat plots are there? _____ Which option turns the stat plots off? ________________…

    • 641 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    lab assignmeny

    • 467 Words
    • 2 Pages

    Follow the directions on the left side of the menu to complete the lab. Record your data in Chart 1.…

    • 467 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    MATLAB: command line mode, M files, data input, formatting output, file I/O, random numbers, statistics, reducing, solving equations, n equations in n unknowns, 2- and…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Lab Report

    • 738 Words
    • 3 Pages

    1. View the three scenarios listed below. You must observe and analyze these as part of the lab.…

    • 738 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Tip: The elevation levels for step 1 are (from South to North) 11,300 ft, 10,500 ft, 10,000 ft, 10,000 ft, 10,500 ft, 10,750 ft, and 11,000 ft. For step 2, plot the points evenly on a grid similar to the one shown below.…

    • 3173 Words
    • 11 Pages
    Satisfactory Essays
  • Satisfactory Essays

    lab3c chem11

    • 314 Words
    • 2 Pages

    1. Data in Lab #4, Experiment 3C will be analyzed in two different graphs. One of the graphs containing your own data and the other containing the class data.…

    • 314 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Data: On the x-axis, the time will be set in 10 second intervals for a total of nine intervals. The number of rolypolies on each side of the petri dish at any given time will be on the y-axis. There will be two separate colored (i.e. green and blue) lines for each varying distance intensity…

    • 673 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Scilab Manual

    • 1385 Words
    • 6 Pages

    Scilab also provides many visualization functionalities including 2D, 3D, contour and parametric plots, and animation. Graphics can be exported in various formats such as Gif, Postscript, Postscript-Latex, and Xfig. In addition to Scilab’s user interface functions, the Scilab Tcl/Tk…

    • 1385 Words
    • 6 Pages
    Good Essays

Related Topics