how to to address a specific cell

2 visualizaciones (últimos 30 días)
Faraz ZandTafreshi
Faraz ZandTafreshi el 7 de Jul. de 2019
Respondida: madhan ravi el 7 de Jul. de 2019
Hi
Lets imagine that I have a column with some random numbers between 1 to 100.
I want numbers which are above 60 but also I want MATLAB to show that number(above 60) is in which line and column. In other words I want MATLAB not only show me the numbers above 60 but also give their exact addresses. I hope I told my question clearly.
Thanks in advance

Respuestas (1)

madhan ravi
madhan ravi el 7 de Jul. de 2019
Use find() to know their indices:
doc find

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by