How would I go about writing this equation in matlabs?

1 visualización (últimos 30 días)
Arnav Dharane
Arnav Dharane el 18 de Sept. de 2021
Comentada: Star Strider el 18 de Sept. de 2021
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.

Respuesta aceptada

Star Strider
Star Strider el 18 de Sept. de 2021
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.
.

Más respuestas (0)

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by