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

3 ビュー (過去 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?

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

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by