symbolic functions of functions

1 view (last 30 days)
R yan
R yan on 3 Feb 2015
 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)

Categories

Find more on Symbolic Math Toolbox 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!