I have a 20x20 matrix of histogram values. How can I plot this using the histogram2 function? I do not have the x and y values.
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I'd like to plot a 20x20 matrix of histogram values using the histogram2 function? I was able to plot it using the heatmap function but this is not exactly what I want. I do not have the x and y values, so is it possible to plot it with histogram2?
1 件のコメント
Torsten
2022 年 3 月 10 日
How did you arrive at this 20x20 matrix ? You write it contains histogram values, but what are "histogram values" in your context ? Do the matrix values come from a Monte-Carlo simulation of a two-dimensional probability density function ? Then try MATLAB's "surf" function for display.
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
