MATLAB: GRB change in matlab colorImage Processing ToolboxMATLABmatrixrgb Please, I want a brown color if red = (:,:,1) green = (:,:,2) blue = (:,:,3) if I want a brown color matrix how much should I enter? Best Answer This triplet: [0.5 0.3 0.25] seems to work:figure(1)patch([0 1 1 0], [0 0 1 1], [0.5 0.3 0.25]) Related SolutionsMATLAB: Colour specification for gray colour Use a 1 by 3 array of numbers in the range 0-1, for example:hiso = patch(isosurface(Ds,5),'FaceColor',[0.5 0.5 0.5],'EdgeColor','none'); MATLAB: Hi i am newbie in matlab and i have to make a little game for the university but i have found some difficulties! Attach your m-file with the paper clip icon. Don't paste in code this long into the editor. But anyway, this link is guaranteed to solve your problem http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/Also, you can't do things like this (comparing floating point numbers for equality):while a~=k-0.05 && b~=l-0.1with floating point numbers. Why not? See the FAQ: http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F Related QuestionHow can convert binary Numerical Values to StringsHow to conver folder (images) from GRB to Gary and save them in Output folder with the same original namesIncrease RGB image saturation.
Best Answer