Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - 日本語

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ヘルプ >> Signal Processing > ifftshift

ifftshift

fftshiftを反転する

呼び出し手順

y=ifftshift(x)

引数

x, y

実数または複素数のベクトルまたは行列.

説明

ifftshift(x) は,ベクトルxの 左半分と右半分を交換します.

行列の場合, ifftshift(x) は 最初の4分の1を3番目の4分の1,2番目の4分の1を4番目の4分の1と交換します.

x が多次元配列の場合, ifftshift(x) は各次元でxの "半分の空間"を交換します.

例 #1:

// 信号を生成
t = 0:0.1:1000;
x = 3*sin(t)+8*sin(3*t)+0.5*sin(5*t)+3*rand(t);
// fftを計算
y = fft(x, -1);
// 結果を反転
shift = fftshift(y);
// 反転結果を反転
invShift = ifftshift(shift);
// 元の結果を再成したどうかを確認
and(y == invShift)

例 #2:

// 2次元画像を生成
t = 0:0.1:30;
x = 3*sin(t')*cos(2*t)+8*sin(3*t')*sin(5*t)+..
  0.5*sin(5*t')*sin(5*t)+3*rand(t')*rand(t);
// fftを計算
y = fft(x,-1);
// 結果を反転
shift = fftshift(y);
// 反転結果を反転
invShift = ifftshift(shift);
// 元の結果を再成したどうかを確認
and(y == invShift)

参照

  • fftshift — fft出力を再配置し,スペクトルの中心に周波数0を移動する
  • fft — 高速フーリエ変換
Report an issue
<< hilbert Signal Processing mrfit >>

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 Oct 02 13:58:23 CEST 2014