Community Profile

Professional Interests: Control theory, Model Predictive Control

Contact

It depends how this PDF is represented. For instance, if it is the normal distribution, then you can use MATLAB's function randn...

16179 views

Responded 2 years ago

You may consider using this <http://www.mathworks.com/matlabcentral/fileexchange/41689 PDFSampler>. I believe, it does exactly w...

0

Answered 2 years ago

A simple and handy PDF (Probability Distribution Function) re-constructor and sampler.

32 downloads

2 years ago

Just my two cents... The code posted by Kai Gehrs will not work if the returned polynomial has some zero coefficients. Try for ...

Answered 3 years ago

You can use this sampler: http://www.mathworks.com/matlabcentral/fileexchange/41689-pdfsampler/content/PDFsampler.m

5239 views

14 downloads

Is there a way to do the same using plain MATLAB (without MuPad). I guess MuPad uses symbolic algorithms to calculate the minimu...

3947 views

Responded 3 years ago