Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Discussion Groups | Matlab DSP | matlab and adding step functions

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

matlab and adding step functions - Aaron Friedman - Oct 2 9:04:17 2008



I'm new to Matlab, and I would like to know how to add step functions. 
I came up with a function y = u(t)where y(y>=0)=1 and y(y<0)=0.
But how do you add u(1-t)+u(2-t)... etc? Also how do you get the y 
axis's sampling rate to get smaller so I have a straight line from the 
y value to the x axis.

Thanks



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )