Logical indexing to Loop

Given a vector T, write a loop in Matlab that is equivalent to the following command? T ( T > 10) = 10;

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 2 Déc 2015

Community Treasure Hunt

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

Start Hunting!

Translated by