静青山一 发表于 2013-5-1 12:35

复数拟合问题,求高手指点迷津

最近在做变压器的研究。做到关键部分出现了问题。我算出的矩阵一共有22个特征根,特征根如下d=[-1047463500.11668 + 0.00000000000000i
-1047463500.11656 + 0.00000000000000i
-1047463500.11656 + 0.00000000000000i
-1047463500.11666 + 0.00000000000000i
-1047463500.11666 + 0.00000000000000i
-1047463500.11666 + 0.00000000000000i
-4611.57086033327 + 0.00000000000000i
2305.78543013281 + 3993.72579335760i
2305.78543013281 - 3993.72579335760i
-1677.78548637833 + 0.00000000000000i
838.892743238954 + 1453.00329994952i
838.892743238954 - 1453.00329994952i
-813.626721065886 + 0.00000000000000i
406.813360561926 + 704.621054205355i
406.813360561926 - 704.621054205355i
-393.109797738260 + 0.00000000000000i
-255.792036064628 + 0.00000000000000i
196.554898900031 + 340.442985372860i
196.554898900031 - 340.442985372860i
127.896018040233 + 221.522372195079i
127.896018040233 - 221.522372195079i],
1.83168152066930e-09 + 0.00000000000000i]这22个特征根要进行分别进行如下运算:
x=0:4e-9:2e-6;

M=x.^(-0.5);
N=mlf(0.5,0.5,x.^(0.5)*d(1),10);
y1=M.*N;





这部分用matlab实现。调用MLf函数。可我的问题关键是运算后的y1存在复数,我拟合不成指数的形式,希望高手指点迷津。附件1:mlf函数,附件2:需要拟合的y值












页: [1]
查看完整版本: 复数拟合问题,求高手指点迷津