Azzera filtri
Azzera filtri

Hypsographic curve of hights

2 visualizzazioni (ultimi 30 giorni)
Madeleine Montagne
Madeleine Montagne il 1 Mag 2017
Modificato: hmi amid il 1 Mag 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

Risposte (2)

John D'Errico
John D'Errico il 1 Mag 2017
Modificato: John D'Errico il 1 Mag 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 il 1 Mag 2017
Modificato: hmi amid il 1 Mag 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.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by