Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Plz explain this code ? why is the loop required , and how parameters are restricted in the 4th last line of the code ?

1 vue (au cours des 30 derniers jours)
Amir
Amir le 26 Fév 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
if true
% code
x=0:255;
for i=1:20
if i==1;y=x;
else x=[x;y];
end
end
p= 100*ones(16,200)
x(28:27+16,29:28+200)=p;
imshow(uint8(p))
figure, imshow(uint8(x))
end

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by