imagesc after fft2
Ältere Kommentare anzeigen
Hello - im new in here :)
I've got some kind of radar's signal that I want to show with the imagesc() function.
After an fft2 I wanted to show my signal with:
figure; imagesc(abs(tabsygn-mean(y,2)));
It all worked, however when I went to reduce my axis size, something strange happened. It changed the values, however the image itself didn't change. I've used the command below:
imagesc(0:200,250:400,(abs(tabsygn-mean(y,2))));
The image on the left is original, and on the right is after the command above.

3 Kommentare
Image Analyst
am 15 Dez. 2017
Bearbeitet: Image Analyst
am 15 Dez. 2017
So you're wondering about how the black spec at row 320, column 740 is missing from the image on the left? Is that it? When you say the image itself, do you mean the displayed image or the underlying image variable?
Michal Karwacki
am 15 Dez. 2017
Adam
am 15 Dez. 2017
The arguments you pass as x and y to imagesc to not change the image at all, they just give the values for the x and y data to put on the axes.
If you want to clip an image you do this in the normal way, after plotting it, using
doc xlim
doc ylim
or
doc axis
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!