Borrar filtros
Borrar filtros

Hypsographic curve of hights

2 visualizaciones (últimos 30 días)
Madeleine Montagne
Madeleine Montagne el 1 de Mayo de 2017
Editada: hmi amid el 1 de Mayo de 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

Respuestas (2)

John D'Errico
John D'Errico el 1 de Mayo de 2017
Editada: John D'Errico el 1 de Mayo de 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 el 1 de Mayo de 2017
Editada: hmi amid el 1 de Mayo de 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.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by