Histogram decimal value error

15 次查看(过去 30 天)
Undefined function 'histogram' for input arguments of type 'double', in this code x = randn(1000,1); nbins = 25; h = histogram(x,nbins)

采纳的回答

Star Strider
Star Strider 2015-12-8
The histogram function was introduced in R2014b. If you’re using an earlier version, use hist (or one of its friends).

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by