Holooly Plus Logo

Question B.13.2: We also can use MATLAB to convert G(s) to G(z) when G(s) is ...

We also can use MATLAB to convert G(s) to G(z) when G(s) is not in cascade with a z.o.h. The command H= c2d(F , T , ‘zoh’) transforms F(s) in cascade with a z.o.h. to H(z), where H(z) = ((z – 1)/z)*z{F(s)/s}. If we let F(s) = sG(s), the command solves for H(z), where H(z) = ((z – 1)/z)*z{G(s)}. Hence, z{G(s)} = (z/[z – 1])*H(z). In summary, input F(s) = sG(s) , and multiply the result of H= c2d (F,T,’zoh’) by (z/[z – 1]) . This process is equivalent to finding the z-transform. We convert G(s)=(s+3)/(s^{2}+6s+13 ) into G(z). You will enter T, the sampling interval, through the keyboard. T is used to form H(z). We use an unspecified sampling interval, T=[  ], to form z/(z – 1).

The 'Blue Check Mark' means that either the MATLAB code/script/answer provided in the answer section has been tested by our team of experts; or the answer in general has be fact checked.

Learn more on how do we answer questions.

Related Answered Questions