Effacer les filtres
Effacer les filtres

Info

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

can I abbreviationv these steps to few steps?

1 vue (au cours des 30 derniers jours)
Mary Jon
Mary Jon le 4 Oct 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
v_now=zeros(111,34);
v_now(1,2:33)=100;
v_now(6,14:21)=100;
v_now(5,2:5)=0;
v_now(5,30:33)=;
  5 commentaires
Mary Jon
Mary Jon le 4 Oct 2013
ok
Walter Roberson
Walter Roberson le 5 Oct 2013
You could remove the v_now(5,2:5)=0; as those locations were already set to 0 because you used zeros() to initialize the matrix.

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by