Output error in the grayscale
12 ビュー (過去 30 日間)
古いコメントを表示
Hi have this code:
resRGB = HSVtoRGB(resHSV);
but i have this error:
Input error: please pass as input a vector variable with 3 elements with value in the range [0,1]
How do I have improve my code?
0 件のコメント
回答 (1 件)
yanqi liu
2022 年 2 月 26 日
yes,may be check the resHSV value,such as
resHSV = rand(10, 3)
size(resHSV)
rgb = hsv2rgb(hsv);
surf(peaks);
colormap(rgb);
colorbar
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
