Logical indexing to Loop

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

Answers (0)

This question is closed.

Tags

Asked:

on 2 Dec 2015

Closed:

on 2 Dec 2015

Community Treasure Hunt

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

Start Hunting!