Area under curve with negative X and Y values

4 views (last 30 days)
I want to use the area() function, but I have negative x and y values on the axes
  10 Comments
Naomi Amuzie
Naomi Amuzie on 18 Jun 2019
I get what you said, strangely. i don't have a variable named area though...
"area is a variable.
/Applications/MATLAB_R2019a.app/toolbox/matlab/polyfun/@alphaShape/area.m % Shadowed alphaShape method
/Applications/MATLAB_R2019a.app/toolbox/matlab/polyfun/@polyshape/area.m % Shadowed polyshape method
/Applications/MATLAB_R2019a.app/toolbox/coder/half/@half/area.p % Shadowed half method
/Applications/MATLAB_R2019a.app/toolbox/matlab/specgraph/area.m % Shadowed"
Naomi Amuzie
Naomi Amuzie on 18 Jun 2019
Oh! There wasn't a variable in my code, but there was a variable in my workspace I created a long time ago, but never deleted.
Thank you! Sorry about the hassle!

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!