How can I find the index number for a given value in the matrix?
1 view (last 30 days)
Show older comments
I am using atmosisa to find Pressure values till a given altitude. For a certain height I want to know what number does it lie on in the matrix so I can find see the pressure at that height.
height=0:1000:21000
[~, ~, P, ~]= atmosisa(height);
x=2/3*h;
height(n)=x;
How do I find n?
0 Comments
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!