1. Initialize: 2. Time Delay 3. Sampling Time 4. number Of Points 5. l Time Delay/Sampling Time 6. frac_m % is m according expression (3) 7. frac_m l – Time Delay/Sampling Time 8. 9. 10. For cont 1 to number Of Points – 1 11. k cont+1 12. 13. If then 14. % expression (10) 15. else 16. % expression (10) 17. End if 18. % expression (11) 19. If then 20. 21. Else if and 22. 23. Else 24. 25. End if 26. % expression (12) 27. If then 28. 29. Else 30. 31. End If 32. 33. End For |