Community Profile

photo

Amrit Lohia


Last seen: 4 months ago Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Trapz gives "Second and third argument must either be variables or a variable and a nonnegative integer specifying the number of differentiations."
Why does the following not work: f_scalar = @(x) 5*x^2+3*x-4; g_scalar = @(x) -4*x^2+6*x+5; f = @(vec) arrayfun(f_scalar,vec);...

4 years ago | 1 answer | 0

1

answer