Borrar filtros
Borrar filtros

integral of indicator function

1 visualización (últimos 30 días)
esra kan
esra kan el 7 de Sept. de 2021
Editada: esra kan el 7 de Sept. de 2021
Hello,
I need to write matlab code for below integral. I know how to write it in discrete time but couldn't write it in integral form. Do i mutlipy the discrete form with ds and then apply the cumsum? If you help me, I appreciate it. By the way, 1_{Xs=ai} is a indicator function which is 1 when Xs=ai, otherwise 0.
Thanks in advance.
X_t=(0,1,0,1,2,1,0,...)
a_i=(0,1,2)
Y_t=int_0^t(1_{Xs=ai}ds)

Respuestas (0)

Categorías

Más información sobre Oil, Gas & Petrochemical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by