Histogram decimal value error

15 vues (au cours des 30 derniers jours)
Seemab  Janjua
Seemab Janjua le 8 Déc 2015
Undefined function 'histogram' for input arguments of type 'double', in this code x = randn(1000,1); nbins = 25; h = histogram(x,nbins)

Réponse acceptée

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

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by