Make a matlab step function?

3 views (last 30 days)
louay karout
louay karout on 22 Apr 2014
Edited: Star Strider on 23 Apr 2014
how to create a matlab step function without heaviside(x) function?
  1 Comment
Star Strider
Star Strider on 23 Apr 2014
Edited: Star Strider on 23 Apr 2014
I suggest you restate your original question title and text here about your wanting to create a digital bandpass filter with a sampling frequency of 8000 Hz and a passband of 100 to 1000 Hz.
Your original question has already been answered and accepted (thank you), so people will likely not look at this thread.
Please create a new thread with the ‘Make a MATLAB step function?’ title. It will also help if you describe what you are doing, what you want the step function to do (include sampling rate and signal duration), the code you have already written to implement your step function and your passband filter, and any problems you are having with your code. (If you have the Signal Processing Toolbox, the step function is included in it.)
To create your own step function, see the documentation for ones. That will get you started.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 22 Apr 2014

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!