Error in pixeldup function, Please help !!

44 views (last 30 days)
Amrinder Brar
Amrinder Brar on 31 Mar 2015
Commented: Image Analyst on 13 May 2015
CODE: w = [2 -1 -1; -1 2 -1;-1 -1 2];
>> g = imfilter(tofloat(f), w);
>> imshow(g, [])
>> gtop = g(1:120, 1:120);
>> gtop = pixeldup(gtop, 4);
ERROR: Undefined function 'pixeldup' for input arguments of type 'single'.
  2 Comments
Image Analyst
Image Analyst on 13 May 2015
So now that you've found it, do you still have a problem calling it?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 31 Mar 2015
Beats me. I've never heard of it either. Why did you write code to call a function that you don't even know what it is, and don't have it? Ask your buddies - maybe someone else has heard of it.

Community Treasure Hunt

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

Start Hunting!