Rank: 2080 based on 54 downloads (last 30 days) and 2 files submitted
photo

Abhinava Kundu

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Abhinava View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu unique, matrix 7 7
  • 2.0
2.0 | 1 rating
27 Jun 2012 PSNR (Image Processing) PSNR of two images Author: Abhinava Kundu image processing, statistics 47 1
  • 3.0
3.0 | 1 rating
Comments and Ratings by Abhinava View all
Updated File Comments Rating
16 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu

Yes, now I know that it's not upto the standards. And it's mainly because I'm a beginner. Obviously, your code is the best! All I'll try to do next is to keep in mind the standards and try to make my code easier, simple, fast and upto the standards before submitting them here.

12 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu

No, I didn't change the file. I just corrected the description here!

11 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu

Yeah, that '1'/'0' was wrongly described. I've corrected it. And thanks for your suggestion man!

Comments and Ratings on Abhinava's Files View all
Updated File Comment by Comments Rating
17 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu Simon, Jan

Improvements are always welcome in the FEX. And of course I will update my voting, when a following version of your submission is more efficient and usable - while it is sufficiently useful already, because a check for uniqueness is required frequently.
So I hope, you are encouraged to share more of your work.

16 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu Kundu, Abhinava

Yes, now I know that it's not upto the standards. And it's mainly because I'm a beginner. Obviously, your code is the best! All I'll try to do next is to keep in mind the standards and try to make my code easier, simple, fast and upto the standards before submitting them here.

16 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu Simon, Jan

Ok, thanks for the answer. Then the help text of the file is still misleading, the algorithm is complicated and slow.
The program works, it has a help text, which does not follow the Matlab standards (e.g. no H1 line, no See also, no exact definition of inputs and outputs).
I would not use this submission for real work or to educate beginners, but recommend the much cheaper and nicer:
isuniq = all(diff(sort(X(:))))

15 Jul 2012 PSNR (Image Processing) PSNR of two images Author: Abhinava Kundu Luengo, Cris

Not a good example of good programming!

You can do exactly the same with:

X = double(X);
Y = double(Y);
m = sum((X(:)-Y(:)).^2) / prod(size(X));
psnr = 10*log10(255*255/m);

However, instead of assuming the peak is 255, you should use max(X(:)) as the peak.

12 Jul 2012 ISUNIQ function isuniq(array) Author: Abhinava Kundu Kundu, Abhinava

No, I didn't change the file. I just corrected the description here!

Contact us