How to integrate numerically Z(t1,t2) ? My function is more complicated than cos but is analytical.
integral(integral(cos(t),-10,t) ,t1,t2) F = @(t) cos(t);A = @(t) -integral(F,-10,t)Z = @(t1,t2) - integral(A,t1,t2) Z(0,1)
integrationMATLABnumerical integration
integral(integral(cos(t),-10,t) ,t1,t2) F = @(t) cos(t);A = @(t) -integral(F,-10,t)Z = @(t1,t2) - integral(A,t1,t2) Z(0,1)
Best Answer