I have the following code, I have a problem to solve it, please i need help
syms s ta=0.1;b=0.4;Rs=-log(s);Ws=vpa([int(log(s)*log(s)*Rs,s,a,b), -int(log(s)*Rs,s,a,b), -2*int(log(s)*cos(2*pi*s)*Rs,s,a,b); ... -int(log(s)*Rs,s,a,b), int(Rs,s,a,b), 2*int(cos(2*pi*s)*Rs,s,a,b); ... -2*int(log(s)*cos(2*pi*s)*Rs,s,a,b), 2*int(cos(2*pi*s)*Rs,s,a,b), 4*int(cos(2*pi*s)*cos(2*pi*s)*Rs,s,a,b)]);W11=inv(Ws);w1 = W11(:,1);g(s)=[-log(s);1;2*cos(2*pi*s)];g(t)=[-log(t);1;2*cos(2*pi*t)];Gs=((w1)'*g(s));Gt=((w1)'*g(t));fin = @(s,t) Gs.*Gt.*Rs.*Rt.*(min(1-s,1-t)-((1-s).*(1-t)));MM=integral2(fin,0.1,0.4,0.1,0.4)
The problem in the min(1-s,1-t)-((1-s).*(1-t))
Thank you in advance
Best Answer