to creat 'gabor' matrix

I am trying to create gabor matrix from your code but there is an error 'Undefined function or method 'gabor' for input arguments of type 'double'. How to solve it? code is as follows
close all;
clear all;
clc;
G = cell(5,8);
for s = 1:5
for j =1:8
G{s,j}=zeros(32,32)
end
end
for s = 1:5
for j = 1:8
G{s,j} = gabor([32 32],(s-1),j-1,pi,sqrt(2),pi);
end
end
for s = 1:5
for j = 1:8
subplot(5,8,(s-1)*8+j);
imshow(real(G{s,j}),[]);
end
end
for s = 1:5
for j = 1:8
G{s,j}=fft2(G{s,j});
end
end
save gabor G

1 件のコメント

Jan
Jan 2011 年 11 月 15 日
Please format you code as explained in the "markup help" link on this page.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 11 月 15 日

0 投票

gabor() is not provided with any MATLAB toolkit.
There are some MATLAB File Exchange contributions that provide gabor routines.

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

製品

質問済み:

2011 年 11 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by