symbolic functions of functions

 Hi,

I want to a sequence of functions $h_n(x) = f(n-x)$ for n =1,2,3.. I have written the following using symbolic. How can I implement $h_n(x)$ symbolically??

thanks

f =
piecewise([x in Dom::Interval([0], 1/2), 1], [x in Dom::Interval([1/2], 1), -5], [Otherwise, 0])

Answers (0)

Asked:

on 3 Feb 2015

Community Treasure Hunt

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

Start Hunting!