histogram code from Matlab
Afficher commentaires plus anciens
Hi I'm trying to convert histc() or hist() to HDL code so I wanted to see what it looks like inside under the bonnet as one do using edit call, but cant find the code in histc() when I type "edit histc" and just gives some basic explanation. For what its worth histc() is actually called inside hist() which you can do an edit on at least but just brings you back to histc() which you cant see. I know Matlab brought out a new histcounts(), but probably I wont be able to see this function either and I don't have this versions.
Do anyone know where I can find Matlab histogram code or any simial histogram code that can mimic either of the above to hist functions? Thanks in advance
Réponses (3)
John D'Errico
le 14 Juil 2016
0 votes
You cannot see the code for compiled functions. So you cannot get the code for the tools you indicate.
However nothing stops you from using google, with a search like "histogram calculation" or "histogram code" something of the sort. There you will find simple code to generate a histogram.
1 commentaire
DN
le 14 Juil 2016
Bharath Venkataraman
le 18 Juil 2016
0 votes
If you have access to Vision HDL Toolbox and HDL Coder, you can generate HDL code for the Histogram block or System object shipped with that product.
JERZY MJ
le 12 Mai 2019
0 votes
kop
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!