Hypsographic curve of hights

1 Ansicht (letzte 30 Tage)
Madeleine Montagne
Madeleine Montagne am 1 Mai 2017
Bearbeitet: hmi amid am 1 Mai 2017
Hi everybody, I need to make a hypsographic curve of a matrix with different hights that I got from my teacher, but I have no idea how to do that. Is there anybody who could give me a hint or idea how to solve this problem? Thanks in advance, Mademo

Antworten (2)

John D'Errico
John D'Errico am 1 Mai 2017
Bearbeitet: John D'Errico am 1 Mai 2017
So your solution is to give up and ask someone else to do it for you?
What did you do? Where have you looked? Did you do a search to learn about what that curve means? Why not? In fact, had you done such a search, you might have learned much. And since that is what your professor wants you to do instead of being given the answer on a platter, then try doing a search.
I'll offer one hint here, to use the obvious keywords for Google: "hypsographic curve".
Once you do that, you might see the idea that a cumulative histogram might be a useful thing. A quick search will then find this:
https://www.mathworks.com/matlabcentral/answers/51796-help-in-making-a-cumulative-histogram-histc-or-accumarray
So make an effort. Do some reading. Think about what you read. You might learn something. I've already done half your job for you, but you need to do the remainder.

hmi amid
hmi amid am 1 Mai 2017
Bearbeitet: hmi amid am 1 Mai 2017
One hint I can give you is to use the function
A=cumsum(a)
which cumulatively sums the array a into an array A.

Community Treasure Hunt

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

Start Hunting!

Translated by