How to find the mean of the probability distribution without using histfit() and fitdist() in matlab function block in simulink?
3 views (last 30 days)
Show older comments
Hi,
I have n number of values of a variable, I want find mean of the probability distribution for this variable. I have used histfit() and fitdist(). But simulink shows the following error.
'The function 'fitdist' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.'
Is there any other way to find the mean of the probability distribution of a variable?
Any help will be highly appreciated.
Thank you.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!