Effacer les filtres
Effacer les filtres

addition

4 vues (au cours des 30 derniers jours)
Kugen Raj
Kugen Raj le 23 Mar 2012
qq =
33 48 82 91 101 138 176.
i want add 1 to each of the element in qq. how can i do that?
  1 commentaire
Jan
Jan le 23 Mar 2012
After your other questions, e.g. http://www.mathworks.com/matlabcentral/answers/25394-beampattern-calculation-for-linear-array , this is surprisingly basic.

Connectez-vous pour commenter.

Réponse acceptée

Thomas
Thomas le 23 Mar 2012
  2 commentaires
Jan
Jan le 23 Mar 2012
I'm speechless. "+1" adds 1. Congratulations to Cleve Moler, who had the marvelous idea to let Matlab syntax be intuitive.
This is, as far as I remember, the shortest accepted answer. It will be hard to beat this. I vote for this answer and state this by the unavoidable: +1.
Thomas
Thomas le 23 Mar 2012
:)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by