Cody

Problem 42817. Pipeline

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

36.84% Correct | 63.16% Incorrect
Last Solution submitted on Aug 15, 2019

Problem Comments