i am getting error ... ??? Undefined function or method

2 views (last 30 days)
abdullah ek
abdullah ek on 15 Jul 2018
Edited: Jan on 15 Jul 2018
image=im2double(imread('C:\s01_01','jpg'));
j=rgb2gray(image);
A= histeq(j);
B = imresize(A, [150 130]);
cr=fdct_wrapping(B,1,1,3,16);
img =cr{1}{1};
??? Undefined function or method 'fdct_wrapping' for input arguments of type 'double'.
Error in ==> resize at 5
cr=fdct_wrapping(B,1,1,3,16);

Answers (1)

Jan
Jan on 15 Jul 2018
Edited: Jan on 15 Jul 2018
This means, that the file fdct_wrapping.m is not found in your Matlab path. I guess you have either forgotten to install the required toolbox, or to add it to your path. See:
doc addpath
doc pathtool

Categories

Find more on Function Creation in Help Center and File Exchange

Tags

Products


Release

R2010a

Community Treasure Hunt

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

Start Hunting!