How to get values on Matlab GUI about Probability functions(expected value, PDF, CDF, variance, moments?)
1 次查看(过去 30 天)
显示 更早的评论
Dear Matlab Central
I am working on Matlab for my homework. Can you help me?
- Defining a polinominal function depends on x variable.
- Xmin and Xmax point should be defined for function to limit the values.
- probably density function PDF
- cumulative density function CDF
- expected value
- variance
- moments
- Building GUI to calculate these.
Would you kindly write codes, please? I am really new on Matlab even in GUI.
Very special thanks to you!
1 个评论
Image Analyst
2013-5-26
Then, what would be left for you to do? Just turn in our code as your own homework? See this: http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers
回答(1 个)
Image Analyst
2013-5-26
Did you look in the help for those terms? If so, you'd find functions for them, like min(), max(), hist(), var(), cumsum(), etc.
Description
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a ..............
1 个评论
Image Analyst
2013-5-26
Regarding your "Answer" (which really should have been a comment here rather than a new, additional answer)...
Well then go ahead and code them up just like you'd do in C. MATLAB is fairly similar to C so it shouldn't be too hard.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!