matlab code for expressions
Show older comments
how do i write the code for following expression: y(n)=ramp(n)+x(n+5)+ramp(-n)
6 Comments
Jan
on 1 Nov 2015
What is "ramp()"? A variable or a function?
Star Strider
on 1 Nov 2015
Ramp is a Simulink block. I’m not certain that it has a function representation.
@saranya s — What do you want to do? What is ‘n’ and what do you want ‘y(n)’ (apparently a function) to produce?
saranya s
on 4 Nov 2015
saranya s
on 4 Nov 2015
Image Analyst
on 4 Nov 2015
How many elements are between 0 and 5 and between 8 and 15? How many do you want to have? Have you simply tried linspace() or the colon operator?????
saranya s
on 5 Nov 2015
Accepted Answer
More Answers (0)
Categories
Find more on Audio Processing Algorithm Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!