Index exceeds matrix dimensions.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
vasantha malairamar
le 6 Mar 2017
Commenté : vasantha malairamar
le 7 Mar 2017
for j=1:96 %Display the 3color channel
for k=1:96
mR=re(j,k,1);
mG=re(j,k,2);
mB=re(j,k,3);
d=[mR mG mB];
disp('d value is');
disp(d);
0 commentaires
Réponse acceptée
KSSV
le 6 Mar 2017
[m,n,p] = size(re) ;
for j=1:m %Display the 3color channel
for k=1:n
mR=re(j,k,1);
mG=re(j,k,2);
mB=re(j,k,3);
d=[mR mG mB];
disp('d value is');
disp(d);
end
end
7 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!