unitize a symbolic equation
이전 댓글 표시
funX = -2*((x-t)^3)/((((x-t)^2)+(y^2))^2);
funXint = int(funX,t)
eqn1 = combine(subs(funXint,t,-s)-subs(funXint,t,-L)+subs(-funXint,t,L)-subs(-funXint,t,s),'log','IgnoreAnalyticConstraints',true);
I am computing two definite integrals and the output is:
log(((y^2 + ((3*L)/4 + x)^2)*(((3*L)/4 - x)^2 + y^2))/((y^2 + (L - x)^2)*((L + x)^2 + y^2))) + y^2/(((3*L)/4 - x)^2 + y^2) - y^2/((L + x)^2 + y^2) - y^2/(y^2 + (L - x)^2) + y^2/(y^2 + ((3*L)/4 + x)^2)
That is correct but I need to plot it dimensionless, ie x/L and y/L. By hand I can do this by manipulating the equation and the L's do cancel except for the two inputs being x/L and y/L. How do I do this in matlab? I have tried substitution methods but I always get the same equation returned.
Thanks
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!