Hypsographic curve of hights

조회 수: 2 (최근 30일)
Madeleine Montagne
Madeleine Montagne 2017년 5월 1일
편집: hmi amid 2017년 5월 1일
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

답변 (2개)

John D'Errico
John D'Errico 2017년 5월 1일
편집: John D'Errico 2017년 5월 1일
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 2017년 5월 1일
편집: hmi amid 2017년 5월 1일
One hint I can give you is to use the function
A=cumsum(a)
which cumulatively sums the array a into an array A.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by