MATLAB: Interpolation

interpolation

Dear all, I have a problem with the output of a simulation. I have used PSpice to simulate a device and I am trying to use data in Matlab, but the sampling of data is not what I need. I have an x-y graph and I would like to know the value of my simulation every 0.01 ns, but by now I know it more or less every 0.1 ns and the frequency of sampling is not constant. Is it possible to solve my problem? I tryed whit polyfit and polyval, but they did not work. Thank you.

Best Answer

You probably need to use interp1. If you can post your code, I can maybe be more specific.
HTH,
Arnaud