Unit step function program

How to write a program code for u(n)-u(n-1) with explanation?

3 comentarios

Ameer Hamza
Ameer Hamza el 18 de Mzo. de 2020
What does your question have to do with the unit step function? Give more details of what you are trying to do.
Vanish Waghela
Vanish Waghela el 18 de Mzo. de 2020
How to do this operation of u(n)-u(n-1) using matlab
Geoff Hayes
Geoff Hayes el 18 de Mzo. de 2020
Vanish - is this homework? What have you tried so far?

Iniciar sesión para comentar.

Respuestas (1)

Sajeer Modavan
Sajeer Modavan el 18 de Mzo. de 2020

0 votos

u = @(x) (2*x+4); % u = @(variable) (equation)
u(4)-u(4-1)

3 comentarios

Sajeer Modavan
Sajeer Modavan el 19 de Mzo. de 2020
did this help you
vanshika waghela
vanshika waghela el 19 de Mzo. de 2020
I also need to show the graph of this!!
vanshika waghela
vanshika waghela el 20 de Mzo. de 2020
write a matlab program for u(n)+u(n-1) and verify how matlab reacts to it?

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 18 de Mzo. de 2020

Comentada:

el 20 de Mzo. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by