Inner matrix dimensions must agree.
Show older comments
func = @(t) sin(t).*(cos(t).^2)
for x=0:10:90
teta=deg2rad(x)
q = integral(fun,0,teta)
plot(teta,q)
hold on
end
I get this error : Error using * Inner matrix dimensions must agree.
hope to get some help figurng it out :)
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!