Do something that makes

x> f1 > f2 ... > fn

equal to

fn(...f2(f1(x))...)

  • x : MATLAB object
  • fi: function handle

Example:

>> cos(sin(1))
ans =
         0.666366745392881
>> 1 > @sin > @cos
ans =
         0.666366745392881

Solution Stats

39 Solutions

3 Solvers

Last Solution submitted on Feb 26, 2023

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers3

Suggested Problems

More from this Author8

Community Treasure Hunt

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

Start Hunting!