MATLAB Answers

Help me out on this error

2 views (last 30 days)
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.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!