I am plotting a pdf curve from a given mean and std deviation and I need to sample 200 data points within the pdf curve and from those random points need to again plot a pdf curve.
I am getting an error called Array indices must be positive integers or logical values. I am using stats for finding the new mean and std deviation.

Antworten (1)

Image Analyst
Image Analyst am 15 Sep. 2021

0 Stimmen

It's probably our most asked FAQ question. We've seen it at least once just today besides you. So, see the FAQ:

Kategorien

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by