Cody

Problem 44083. First use of arrayfun() and anonymous function @(x)

Create an anonymous function using @(x) for a parabola equation for the given coefficients stored in s with

s(1)x2 + s(2)x + s(3).

Use arrayfun() to apply the parabola equation to each element in the array A.

Note: for , while , and eval are forbidden.

Have fun :o)

Solution Stats

71.79% Correct | 28.21% Incorrect
Last solution submitted on Feb 06, 2019

Problem Comments

Solution Comments