Community Profile

photo

Thomas Mattinzioli


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I get error using plot, vectors must be same lengths and error in midpt (line 27), plot (x,If)? Integral code works fine, was just trying to plot a graph too..
Here's my code: function [ area ] = midpt ( f,xl,xu,dx ) %area will be total area under integration curve %using midp...

9 years ago | 1 answer | 0

1

answer