So this question is a bit related to my other question on using Pspice to get the required transfer function of the buck converter.
Here in this circuit I'm trying to get the open loop transfer function bode plot of the converter. As suggested by VerbalKint in the other question, I am using the dB(voltage) probe as shown (not using x,y points):-
The Pspice bode plot is wrong, since there should be an overshoot of nearly 32 dB at the resonant frequency 7.587 kHz, but here its all wrong. : An error I realized pretty late, I should be using the DCM buck transfer function.
Here is the circuit with bias voltage display.
So it is still quite different, as from Pspice I get PM = 48.73 degrees at 89.03 kHz, very different from MATLAB.