photo

Fares Alfares


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


I have a matrix BB = [-1 5 6;4 -3 2;5 6 -7]. How can i print the location(index) of the positive elelments using for loop and using while loop ?
I have this matrix BB = [-1 5 6;4 -3 2;5 6 -7]. I want to know how can I display the location of the positive elements using for...

6 years ago | 1 answer | 0

1

answer

Question


I hava a matrix: BB = [-1 5 6;4 -3 2;5 6 -7] , i want to know how display the loctation of the positive elements using for loop and while loop ?
I have this matrix BB = [-1 5 6;4 -3 2;5 6 -7] I want to know how can I display the location of the positive elements using for...

6 years ago | 0 answers | 0

0

answers

Question


If I have a matrix My matrix is: BB = [-1 5 6;4 -3 2;5 6 -7]. How to print only positive values using a while loop?
How to print single values of a matrix in matlab. I am using a while loop to read the matrix and print only positive values usin...

6 years ago | 1 answer | 0

1

answer