axis mapping
显示 更早的评论
Hi Matlabers,
I have an intensity profile obtained after fft2 an aperture function. It is in Kx-Ky plane. I need to map both Kx and Ky to x and y so that the intensity profile in x-y plane. The relationship between Kx and x, Ky and y are just Kx=Constant*x and Ky=Constant*y. Same constant. So basically a scaling of axis. But because the intensity profile is a 2048 by 2048 matrix, I don't know how to map the axes.
Can anyone help me please?
回答(1 个)
Andrew Newell
2011-4-25
You seem to be asking for
x = Kx/Constant;
y = Ky/Constant;
which will work just as written if Kx and Ky are any kind of numerical array and Constant is a scalar.
2 个评论
Kevin
2011-4-25
Andrew Newell
2011-4-25
Sorry - now I see your reference to scaling the axis. By this I presume you mean the color scale, which you can do using CAXIS.
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!