Effacer les filtres
Effacer les filtres

how to introduce delay in matlab code

1 vue (au cours des 30 derniers jours)
Sivakumaran Chandrasekaran
I need to add two variables x and y. I will be getting the value of y after 4 seconds. how to mention it in matlab code? Is there any option to mention it in code or i should use simulink only. If we use simulink, whats the procedure for it, because initially i am getting the error as use discrete states alone.
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 20 Oct 2012
It's not clear, what are you using (Matlab or Simulink), which delay are you talking about? if you have tryed to make a code post it.

Connectez-vous pour commenter.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 20 Oct 2012
Modifié(e) : Azzi Abdelmalek le 20 Oct 2012
If you are using Simulink, you can use a Unit Delay block from Simulink/Discret

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by