Saturday, March 21, 2009

Lambda Function at Baseline=1



function y=lambda(x)
%        y=lambda(x) generates a triangular signal
y=(x+1).*(x>-1 & x<0)+(x==0)+(-x+1).*(x>0 & x<1);

Labels:


Comments:

Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]