| 2 | 1/1 | 返回列表 |
| 查看: 810 | 回復(fù): 1 | |||
[交流]
二維快速傅里葉變換 已有1人參與
|
|
想要請(qǐng)教一下用matlab代碼處理 二維快速傅里葉變換,有時(shí)間的大佬可以聯(lián)系我交流一下嗎,求助 發(fā)自小木蟲Android客戶端 |
木蟲 (正式寫手)
newbie
|
fft2 2-D fast Fourier transformcollapse all in page Syntax Y = fft2(X) Y = fft2(X,m,n) Description example Y = fft2(X) returns the two-dimensional Fourier transform of a matrix using a fast Fourier transform algorithm, which is equivalent to computing fft(fft(X).').'. If X is a multidimensional array, then fft2 takes the 2-D transform of each dimension higher than 2. The output Y is the same size as X. example Y = fft2(X,m,n) truncates X or pads X with trailing zeros to form an m-by-n matrix before computing the transform. Y is m-by-n. If X is a multidimensional array, then fft2 shapes the first two dimensions of X according to m and n. Examples collapse all 2-D Transform View MATLAB Command The 2-D Fourier transform is useful for processing 2-D signals and other 2-D data such as images. Create and plot 2-D data with repeated blocks. P = peaks(20); X = repmat(P,[5 10]); imagesc(X) Figure contains an axes. The axes contains an object of type image. Compute the 2-D Fourier transform of the data. Shift the zero-frequency component to the center of the output, and plot the resulting 100-by-200 matrix, which is the same size as X. Y = fft2(X); imagesc(abs(fftshift(Y))) Figure contains an axes. The axes contains an object of type image. Pad X with zeros to compute a 128-by-256 transform. Y = fft2(X,2^nextpow2(100),2^nextpow2(200)); imagesc(abs(fftshift(Y))); Figure contains an axes. The axes contains an object of type image. Input Arguments collapse all X — Input array matrix | multidimensional array Input array, specified as a matrix or a multidimensional array. If X is of type single, then fft2 natively computes in single precision, and Y is also of type single. Otherwise, Y is returned as type double. Data Types: double | single | int8 | int16 | int32 | uint8 | uint16 | uint32 | logical Complex Number Support: Yes m — Number of transform rows positive integer scalar Number of transform rows, specified as a positive integer scalar. Data Types: double | single | int8 | int16 | int32 | uint8 | uint16 | uint32 | logical n — Number of transform columns positive integer scalar Number of transform columns, specified as a positive integer scalar. Data Types: double | single | int8 | int16 | int32 | uint8 | uint16 | uint32 | logical More About collapse all 2-D Fourier Transform This formula defines the discrete Fourier transform Y of an m-by-n matrix X: Y p+1,q+1 = m−1 j=0 n−1 k=0 ω jp m ω kq n X j+1,k+1 ωm and ωn are complex roots of unity: ω m =e −2πi/m ω n =e −2πi/n i is the imaginary unit. p and j are indices that run from 0 to m–1, and q and k are indices that run from 0 to n–1. This formula shifts the indices for X and Y by 1 to reflect matrix indices in MATLAB®. |
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-04 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 085600材料調(diào)劑 總分330 +5 | 池池丶 2026-03-03 | 5/250 |
|
|
[考研] 求調(diào)劑院校 +6 | 云朵452 2026-03-02 | 12/600 |
|
|
[考研] 322分 085600求調(diào)劑,有互聯(lián)網(wǎng)+國(guó)金及主持省級(jí)大創(chuàng)經(jīng)歷 +6 | 熊境喆 2026-03-04 | 6/300 |
|
|
[考研] 材料化工調(diào)劑 +15 | 今夏不夏 2026-03-01 | 18/900 |
|
|
[考研] 歡迎采礦、地質(zhì)、巖土、計(jì)算機(jī)、人工智能等專業(yè)的同學(xué)報(bào)考 +9 | pin8023 2026-02-28 | 12/600 |
|
|
[考研] 325求調(diào)劑 +5 | 學(xué)家科 2026-03-04 | 5/250 |
|
|
[考研] 322,求調(diào)劑 +3 | 菜菜愛玩 2026-03-04 | 3/150 |
|
|
[考研] 291求調(diào)劑 +3 | 咕嚕咕嚕123123 2026-03-02 | 4/200 |
|
|
[考研] 276求調(diào)劑 +8 | 路lyh123 2026-02-28 | 10/500 |
|
|
[考研] 289求調(diào)劑 +7 | BrightLL 2026-03-02 | 9/450 |
|
|
[考研] 材料學(xué)碩318求調(diào)劑 +11 | February_Feb 2026-03-01 | 11/550 |
|
|
[考研] 288求調(diào)劑 +3 | 少71.8 2026-03-02 | 5/250 |
|
|
[考研] 0856調(diào)劑 +10 | 劉夢(mèng)微 2026-02-28 | 10/500 |
|
|
[考研] 321求調(diào)劑一志愿東北林業(yè)大學(xué)材料與化工英二數(shù)二 +5 | 蟲蟲蟲蟲蟲7 2026-03-01 | 9/450 |
|
|
[考研] 材料調(diào)劑 +3 | 恒順自然 2026-03-02 | 3/150 |
|
|
[考研] 275求調(diào)劑 +3 | L-xin? 2026-03-01 | 6/300 |
|
|
[考研] 272求調(diào)劑 +6 | 田智友 2026-02-28 | 6/300 |
|
|
[考研] 0856材料求調(diào)劑 +4 | 麻辣魷魚 2026-02-28 | 4/200 |
|
|
[考研] 317一志愿華南理工電氣工程求調(diào)劑 +6 | Soliloquy_Q 2026-02-28 | 11/550 |
|