MATLAB: Downloading data into a table from a transfer function

bode plottransfer function

Hi, I am trying to download data from a transfer function into a table, but the frequency must be in increments of 100.
I know how to create the transfer function, plot a bode plot, and download data, but I can't figure out how to set specific increments for the frequency.
My code so far:
sys = tf([0 0 250000000], [1,5000,25000000])
bode(sys)
[mag,phase,w] = bode(sys)
This gives me my transfer function, sys, a bode plot, and downloads many data points of the transfer function. Any help would be greatly appreciated.

Best Answer

I've figured this all out, in case anybody has the same problem, here is my solution.
Set x to be a vector of data from A to B with z increments: x = A:z:B;
Then to use this, do:
[mag,phase,w] = bode(sys,x)
Related Question