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.
.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by