Bonjour à tous,
J'aimerais ouvrir trois matrices avec imshow :
Mais je n'y arrive pas. Quelle est mon erreur ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 >> R = [0.5 0 1; 0 1 0; 1 0 0.5]; >> G = [0.5 0.6 0; 0.6 0 0.6; 0 0.6 0.5]; >> B = [0.5 1 0; 1 0 1; 0 1 0.5]; >> imshow(R,G,B,'InitialMagnification','fit');
Matlab m'affiche :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 ??? Error using ==> iptchecknargin at 77 Function IMAGEDISPLAYPARSEINPUTS expected at most 2 input arguments but was called instead with 3 input arguments. Error in ==> imageDisplayParseInputs at 133 iptchecknargin(0,2,num_args,mfilename); Error in ==> imshow at 173 [common_args,specific_args] = ...
Partager