Info
This question is closed. Reopen it to edit or answer.
I need to do fitting with a integral function and a data experimt
1 view (last 30 days)
Show older comments
function f= integral(par,tdata);
tmax=length(tdata);
a=par(1);
for i=1:tmax;
tk=tdata(i);
f_s=@(s)(a.*s.^2);
f(i)=quadv(@(m)f_s(tk),0,1);
end
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!