I am trying to find complex values, gain and gain in dB for a transfer function at specific frequenciies. For this purpose I used for loop and plotted the bode plot and nicholls chart using the DSP toolbox's inbuilt functions.
So, I want Matlab to produce answers like in the screenshot attached. I have of course attached my matlab file too. Please have a look and give me advice.