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.

回答 (1 件)

Image Analyst
Image Analyst 2021 年 9 月 15 日

0 投票

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

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by