Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Signal Processing > mrfit

# mrfit

### 呼び出し手順

```sys=mrfit(w,mag,order)
[num,den]=mrfit(w,mag,order)
sys=mrfit(w,mag,order,weight)
[num,den]=mrfit(w,mag,order,weight)```

w

mag

order

weight

num,den

### 説明

`sys=mrfit(w,mag,order,weight)` は, 周波数応答の振幅`abs(G(w(i)))``mag(i)`に一致する,すなわち, `abs(freq(num,den,%i*w))``mag`に近い, 指定された次数`order`の 双安定伝達関数`G(s)=sys=num/den`を返します. `weight(i)``w(i)`に関する重みです.

### 例

```w=0.01:0.01:2;s=poly(0,'s');
G=syslin('c',2*(s^2+0.1*s+2),(s^2+s+1)*(s^2+0.3*s+1)); // syslin('c',Num,Den);
fresp=repfreq(G,w);
mag=abs(fresp);
Gid=mrfit(w,mag,4);
frespfit=repfreq(Gid,w);
plot2d([w',w'],[mag(:),abs(frespfit(:))])```

### 参照

• cepstrum — ケプストラム計算
• frfit — 周波数応答フィッティング
• freq — 周波数応答
• calfrq — 離散的な周波数応答
 << mfft Signal Processing %asn >>

 Copyright (c) 2022-2023 (Dassault Systèmes)Copyright (c) 2017-2022 (ESI Group)Copyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Thu May 12 11:45:54 CEST 2011