Help me out on this error

1 view (last 30 days)
Dhruwal Dilipbhai Bhimani
Dhruwal Dilipbhai Bhimani on 15 Sep 2021
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:


Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by