How would I go about writing this equation in matlabs?

1 回表示 (過去 30 日間)
Arnav Dharane
Arnav Dharane 2021 年 9 月 18 日
コメント済み: Star Strider 2021 年 9 月 18 日
I am relatively new to matlabs, currently using it for a course in college.
I need help in understanding how to write this equation in matlabs.
Image included.

採用された回答

Star Strider
Star Strider 2021 年 9 月 18 日
There are several options, depending on what you want to do.
syms x
p(x) = 1/(2*sqrt(sym(pi)))*exp(-(x-5)^2/4)
p(x) = 
figure
fplot(p, [-5 15])
Please explore MATLAB Onramp to understand how to use MATLAB effectively to do what you want.
.
  2 件のコメント
Arnav Dharane
Arnav Dharane 2021 年 9 月 18 日
Thank you so much
Star Strider
Star Strider 2021 年 9 月 18 日
As always, my pleasure!
.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by