Build a matrix with a gradual value of intensity and an horizontal line with a constant value
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
palla seetha rama teja
le 8 Nov 2022
Réponse apportée : Davide Masiello
le 8 Nov 2022
hi i need to buil a image using the matrx. i ma new to matlab can you help me with this.

0 commentaires
Réponse acceptée
Davide Masiello
le 8 Nov 2022
A = repmat(linspace(0,1,1000),500,1);
A(220:280,:) = 0.5;
imshow(A)
0 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!
