Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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 ?

1 Ansicht (letzte 30 Tage)
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 loop and using while loop
  1 Kommentar
Walter Roberson
Walter Roberson am 24 Jul. 2018
Duplicated by later https://www.mathworks.com/matlabcentral/answers/411966-i-have-a-matrix-bb-1-5-6-4-3-2-5-6-7-how-can-i-print-the-location-index-of-the-positive-ele which has more activity

Antworten (0)

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by