# MATLAB: Loop for T ( T > 10) = 10;

loop

So I was asked in class to do this at home and I am stumped. I have to write a loop that is equivalent to the command
 T ( T > 10) = 10;
Any help is appreciated