how to correct this error?

1 回表示 (過去 30 日間)
prabhu singh
prabhu singh 2023 年 1 月 15 日
コメント済み: Image Analyst 2023 年 1 月 15 日
L=90;
M=90;
T=csvread('read.csv');
f=abs(fftshift(fft2(T)));
a=-L/2*0.12:0.12:0.12*L/2;
b=-M/2*0.20:0.20:0.20*M/2;
t=(a.^2-b.^2)/(2.*a);
f_t=20*log10(f);
figure
imagesc(t,b,f_t)
grid on
axis equal
title('after shift')
axis tight
colormap (hot);
figure
imagesc(a,b,f_t)
grid on
axis equal
axis tight
title('before shift')
colormap (hot);
if my data is shifted wrt t then the place from where the data is shifted towards the positive axis that place should be white blocks
  3 件のコメント
prabhu singh
prabhu singh 2023 年 1 月 15 日
but with other data why i am not able to see white box..bcoz other data is also shifted at the same time
Image Analyst
Image Analyst 2023 年 1 月 15 日
I don't know. You didn't post/attach the other data.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRed についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by