Conditional approach in a matrix variables

Hi
Assuming I have the following matrices
Y = [ 4,6,8,4,3,.......n]
I want to compute a conditional statement that would go through each number and if it is greater than 10 the computation stops and if not it continues to go through
the array until the end.
Thanks for your help in advance
Regards
Tino

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Release

R2019a

Tags

Asked:

on 9 May 2019

Commented:

on 9 May 2019

Community Treasure Hunt

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

Start Hunting!