我有两个符号复杂变量函数,我想找到这些函数的交集。
%% close all;clear; clc
x1=sym('x1','real');
x2=sym('x2','real');
x=x1+1i*x2;
R=8;
S=1+1i;
Ck=0;
for k=20:-1:0
Ak=(k+1)*(k+1);
Bk=-k*(k+1)+1i*2*k*R;
Sk=Bk-x-(Ak*Ck)/S;
S=Sk;
Ck=-2*R-1i*2*R*k;
end
Sk(x1,x2)=Sk;
f1(x1,x2)=real(Sk(x1,x2));
f2(x1,x2)=imag(Sk(x1,x2));
ezplot(f1);
hold on;
ezplot(f2);
grid on;
graph of these functions and intersection
感谢。