File Exchange

image thumbnail

int2rgb

version 1.0.0.0 (1.3 KB) by Georg D
two functions. one converts an integer to rgb values, the other one converts rgb into an integer.

0 Downloads

Updated 20 Jul 2011

View License

two functions. one converts an integer to rgb values, the other one converts rgb into an integer.

Comments and Ratings (2)

John D'Errico

kick401 - I think you do not know how to call a function that has more than one return argument. The code is fine as it is in that respect.

However, I do have a complaint with the total lack of help in this submission. Had there been some help, then this user might have been more able to understand how to call it properly.

kick401

plz remove the semicolon for the first two lines ,curR,curG lines. in the int2rgb file.
its returning only one value.

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags