Control Theory Examples

1. Simulation of a first order plus time delay plant. Task: Text  Solution: ex_1st_plus_delay.m
2. Simulations with for-loops: Alternative 1. Using x=x+y. Alternative 2 using x(i+1)=x(i)+y  Remark: For efficiency when coding using "any" programming language the x=x+y way of coding as illustrated in the m-file in alternative 1 above sholuld be used.
3. Calculating the Phase crossover frequency, w180, in Example 9.6 in lecture notes, using "fix-point" iteration. main_ex96_w180.m