I have a a transfer function that I plotted manually using Plot(w,abs(f1(w)))(plotted for a digital filer since I dont have signal toolbox) and I have another function that I used directly bode(f2(s))(analog filter). I would like to plot them both in one bode plot?
This is just a concept, but you could transform
f2 to be a transfer function, e.g.
tf2 = xx2tf(f2) (if it's not already, since it seems you are already talking about
f2(s)), and then just run:
[F2mag, F2phi, w] = bode(tf2);
and then use
mag, together with
hold on/off and
plot(w, abs(f1)), "", w, F2mag);
Or the reverse, transform
tf() and then do as in the comment:
bode(...); hold on; bode(...); hold off;