how to write delta function

26 visualizaciones (últimos 30 días)
shiv gaur
shiv gaur el 24 de En. de 2022
Comentada: shiv gaur el 25 de En. de 2022
how to write delta function in matlab
Write delta function in matlab
Y=f(x)
For a=1:10
m=x*exp(-x^2)+a^2
fm=integrate(f,0,a)
b=2;
y=summation (-inf ,inf) fm*delta(b-p*x)
how to write
end
End

Respuesta aceptada

David Hill
David Hill el 24 de En. de 2022
Or use dirac() built-in function
function x=delta(x)
if x==0
x=inf;
else
x=0;
end
  1 comentario
shiv gaur
shiv gaur el 25 de En. de 2022
pl you are req to solve the problem

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by