Integration help (quad)
Show older comments
New to Matlab and stuck trying to integrate trigXtrig function.
Here's what I've been doing:
function y=rfun(theta)
y=(cos(theta).*sin(theta).);
end
EDU>> q=quad('rfun',0,0.644)
But I get this error:
Error in ==> quad at 77
y = f(x, varargin{:});
1 Comment
John D'Errico
on 8 Apr 2011
So what error did you get???? You only wrote part of the error here, the part that gives insufficient information!
Accepted Answer
More Answers (2)
Categories
Find more on Pole and Zero Locations 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!