Histogram Only Plotting 1 Point
Afficher commentaires plus anciens

Hello,
I have a 1x100 table.
If I print 'error', it does the math, by taking the field 'constant' from each row of the table and subtracts by 94, and then prints all 100 results.
This is working correctly, but the plotting is not.
When I go to create the histogram of the 100 results, it only prints 1. Any idea why?
Thank you!
Réponse acceptée
Plus de réponses (1)
Binbin Qi
le 18 Août 2020
I think you can use bar, not histogram
bar(error)
Catégories
En savoir plus sur Histograms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!