Community Profile

photo

Amrit Lohia


Last seen: 2 days ago
1 total contributions since 2019

Amrit Lohia's Badges

  • Thankful Level 1

View details...

Contributions in
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 months ago | 1 answer | 0

1

answer