Undefined function 'fftshow' for input arguments of type 'double'.

조회 수: 7 (최근 30일)
KYU DEOK OH
KYU DEOK OH 2015년 1월 30일
댓글: KYU DEOK OH 2015년 1월 30일
I want to show bandpass filtered image. This is matlab code i used
To aquire filtered image, there is an error in code.
what should i do for correct this error?
(image size : 1200x1200, gray scale)

채택된 답변

David Young
David Young 2015년 1월 30일
You probably don't have fftshow.m on your MATLAB path. This m-file is not part of MATLAB or its toolboxes, but needs to be obtained from somewhere else, such as the File Exchange. Make sure you have downloaded it, and put it in a folder that is on your path.
To check, give the command
which fftshow
  댓글 수: 1
KYU DEOK OH
KYU DEOK OH 2015년 1월 30일
Thank you so much your answers.
I acquired image i want
Thank you

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Luuk van Oosten
Luuk van Oosten 2015년 1월 30일
use
single(ima_out)
to convert the 'double' to 'single'.
  댓글 수: 1
David Young
David Young 2015년 1월 30일
Where is there a version of fftshow that accepts single but not double arguments? Why would anyone write such a thing?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by