Sep-17-2018, 08:17 AM
Hello Buran ,
I have another similar question . This time I have an matrix like
C=[[1 2 3]
[4 5 6]
[7 8 9]
I need to choose second line [4 5 6] and check if each element is greater than 10. (check 4>10 ,5>10,6>10) and I have to write it in rhe same same with the previous idea . Let's say
if a>b and first element of the second line is greater than 10. (until third element of second line )
How can I write it ?
Thank you so much
I have another similar question . This time I have an matrix like
C=[[1 2 3]
[4 5 6]
[7 8 9]
I need to choose second line [4 5 6] and check if each element is greater than 10. (check 4>10 ,5>10,6>10) and I have to write it in rhe same same with the previous idea . Let's say
if a>b and first element of the second line is greater than 10. (until third element of second line )
How can I write it ?
Thank you so much