(→Problem 2) |
|||
Line 25: | Line 25: | ||
==Problem 2== | ==Problem 2== | ||
+ | Using Xujun Huang's example of <math>e^t</math> |
Revision as of 05:58, 12 September 2008
Problem 1
Pick a CT periodic signal that was posted on Rhea as part of homework 1, and create two DT signals, one periodic and one non-periodic, by sampling at different frequencies.
Using Eric Zarowny's function of y(0)=sin(t) I graphed the function using a periodic (.1) and a non-periodic (2) sampling rate.
This graph was generated with the following code
clear clc ratt=(0:.1:6*pi); nonratt=(0:2:6*pi); rational=sin(ratt); nonrational=sin(nonratt); hold on plot(ratt,rational,'b') plot(nonratt,nonrational,'r') legend('Periodic Sampling', 'Non-Periodic Sampling') hold off
Problem 2
Using Xujun Huang's example of $ e^t $