help on a histogram plot!

2 views (last 30 days)
Ano on 16 Mar 2018
Commented: Ano on 16 Mar 2018
Hello! I have a matrix (5x5) which I would like to plot (in 3D) using the hist3, I would like the plot to be a (5x5) grid where the height of each pin reflects the entry value of the matrix at that position , how can I do it ? Thank you !
Ano on 16 Mar 2018
the answer I accepted answers literally the question. but I want to learn how to do it when the frequency is the third dimension. thank you!

Sign in to comment.

Accepted Answer

KL on 16 Mar 2018
use bar3,

More Answers (0)


Community Treasure Hunt

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

Start Hunting!