Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lab3 (Signal & System) Instructor: Anan Osothsilp Date: 13 Feb 07.

Similar presentations


Presentation on theme: "Lab3 (Signal & System) Instructor: Anan Osothsilp Date: 13 Feb 07."— Presentation transcript:

1 Lab3 (Signal & System) Instructor: Anan Osothsilp Date: 13 Feb 07

2 Anan OsothsilpPage 1 Lab3 Date: 13 Feb 07 Objective: Learn Matrix and Vector Assignment and their operation Learn Vector and Matrix Indexing technique Learn how to create Unit step function and apply for particular interval Learn how to create conditional function for particular time interval

3 Anan OsothsilpPage 2 Lab Instruction: Follow the video tutorial and do Lab exercises Lab3 Date: 13 Feb 07

4 Anan OsothsilpPage 3 Exercise 1: Create function to process 3 input signal and output 2 signal using matrix multiplication technique as follow Lab3 Date: 13 Feb 07 Process_signal t = 0:0.01:2; x1 = sin(2*pi*t); x2 = 2*sin(2*pi*t); x3 = 4*sin(2*pi*t);

5 Anan OsothsilpPage 4 Exercise 2: Example for creating and plotting conditional function Lab3 Date: 13 Feb 07 >>t = -2:0.01:3; >>y = (t.*t).*((t>=-1)-(t>=0)) + (t-1).*((t>=0)-(t>=1)) >>plot(t,y);

6 Anan OsothsilpPage 5 Exercise 2: Create and plot the following conditional function Lab3 Date: 13 Feb 07 >>t = -2:0.01:5;


Download ppt "Lab3 (Signal & System) Instructor: Anan Osothsilp Date: 13 Feb 07."

Similar presentations


Ads by Google