how to to address a specific cell

2 visualizzazioni (ultimi 30 giorni)
Faraz ZandTafreshi
Faraz ZandTafreshi il 7 Lug 2019
Risposto: madhan ravi il 7 Lug 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

Risposte (1)

madhan ravi
madhan ravi il 7 Lug 2019
Use find() to know their indices:
doc find

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by