how to to address a specific cell

2 views (last 30 days)
Faraz ZandTafreshi
Faraz ZandTafreshi on 7 Jul 2019
Answered: madhan ravi on 7 Jul 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

Answers (1)

madhan ravi
madhan ravi on 7 Jul 2019
Use find() to know their indices:
doc find

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!