x が 0.0001 から 0.007 まで、 y が 0.00000001 から 0.0000009 までの部分でのみ、この f のプロットのカーブ フィットを実行したいと考えています。除外規則を使用してカーブ フィット ツール ボックスをいろいろ試しましたが、うまくいきませんでした。どんな助けでも大歓迎です。ありがとうございました!
x =0:32/1024000:32;
m = ( x <= 16) .* ... % select the first part 
(  0.0133   0.00002./((cos(pi/4)./sinh(0.5*log(0.05*x))) coth(0.5*log(0.05*x))) )   ...
( x > 16) .* ... % select second part
(  0.0133   0.00002./((cos(pi/4)./sinh(0.5*log(0.05*(32-x)))) coth(0.5*log(0.05*(32-x)))) ) ; 
k = ( x <= 16) .* ... % select the first part
(  -0.00004*cos(pi/4)./(cosh(0.5*log(0.05*x))  sin(pi/4)) ) - ... 
( x > 16) .* ... % select second part
(  -0.00004*cos(pi/4)./(cosh(0.5*log(0.05*(32-x)))  sin(pi/4)) ) ; 
z = complex(m,k); 
y = ifft(z); 
f = abs(y);
figure(1);
plot(x,(f));  
