why am i getting ans = Empty sym: 0-by-1
Show older comments
clc
%variables
syms X Y;
solve (cos(X+0.5)+Y==0.8,X)
solve (sin(Y)-2*X==1.6,Y)
%convergence
G1(Y)=-acos(4/5 - Y) - 1/2;
G2(X)=pi - asin(2*X + 8/5);
%Derivative
G1X=diff(G1,X)
G1Y=diff(G1,Y)
G2X=diff(G2,X)
G2Y=diff(G2,Y)
%convergence limits
solve(-2/(1 - (2*X + 8/5)^2)^(1/2)==1)
solve(-2/(1 - (2*X + 8/5)^2)^(1/2)==-1)
solve(-1/(1 - (Y - 4/5)^2)^(1/2)==1)
solve(-1/(1 - (Y - 4/5)^2)^(1/2)==-1)
after convergence limits i am getting ans = Empty sym: 0-by-1, why is this and how to fix it
ans =
Empty sym: 0-by-1
ans =
- (3^(1/2)*1i)/2 - 4/5
(3^(1/2)*1i)/2 - 4/5
ans =
Empty sym: 0-by-1
ans =
4/5
Accepted Answer
More Answers (0)
Categories
Find more on Numeric Solvers 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!








