Gaussian Distribution
이전 댓글 표시
Hi All, I am trying to plot a amplitude Gaussian distribution in Matlab. I have only amplitude peak, mean and sigma (sd) values. The peak is corresponding to the mean. How to get a Gaussian normal plot using only that three values? What could be the code for that?
댓글 수: 1
Adam Danz
2020년 7월 14일
Here's a gaussian function where you can set the mean, standard deviation, amplitude, and vertical offset.
채택된 답변
추가 답변 (2개)
Sivylla Paraskevopoulou
2024년 12월 28일
0 개 추천
If you have access to Statistics and Machine Learning toolbox, you can also make use of the makedist function, like so:
mu = 4; % Mean/amplitude value
sigma = 2; % Sigma/sd value
normdist = makedist("normal", "mu", 4, "sigma", 2)
plot(normdist) % Automatically shows a graph of the distribution
카테고리
도움말 센터 및 File Exchange에서 Uniform Distribution (Continuous)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

