Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Index in position 1 exceeds array bounds (must not exceed 1). please do help to fix this error.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
for y=0:0.1:1
if y(i,j)<=0.5
p(i,j)=2*(y(i,j)^2);
else
p(i,j)=1-2*((1-y(i,j))^2);
end
end
end
end
figure, imshow(p)
3 commentaires
Réponses (1)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
