Clear Filters
Clear Filters

How can i applicate kernel Distribution with upper and lower bounds to a matrix (276x418)?

1 view (last 30 days)
How can i applicate kernel Distribution with upper and lower bounds to a matrix (276x418)? and how can i write this code?

Accepted Answer

the cyclist
the cyclist on 19 Nov 2015
I don't fully understand your question. I suggest you write a more complete explanation of what you are trying to do. Remember, we don't know anything about your particular problem, except for what you share with us.
About the only thing I can suggest is that maybe the ksdensity function in the Statistics and Machine Learning Toolbox could be helpful.
  3 Comments
the cyclist
the cyclist on 19 Nov 2015
What does your matrix R represent? The FEX code you mention is for plotting the joint density of two vectors of data. In this case, x(:,1) and x(:,2). You don't seem to have two such vectors.
Davide Di Cesare
Davide Di Cesare on 20 Nov 2015
R is a matrix (275x418) containing an index calculated ( index= log ((a^n)/ slope) where a and slope have been already calculated for each element )for each cell in the DEM file that I have uploaded in matlab ( this is also a matrix containing information about terrain morphology of an area that I'm studying. I know that te Code isn't correct for a Matrix. Could you help me to write the right code for my case?

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!