Hello RobboFlea,
I am not sure if I am understanding your question, but I think it would make more sense to store this data as a Parameter-Dependent Matrix (PDM). As a PDM, frequency would be your domain, and you could have your pressures as the columns. Then you can just use the interpolate function with a new domain and it will do all the work for you. Here's an example of something I tried.
fre=[10;20;30;40;50];
p1=[0.1;0.2;0.3;0.4;0.5];
p2=3*p1;
p3=p2-.1;
p4=p3*2+.5;
mypdm=pdm([p1,p2,p3,p4],fre)
mypdm (a pdm) =
domain | Col 1 Col 2 Col 3 Col 4
-------+-----------------------------
10 | 0.1 0.3 0.2 0.9
20 | 0.2 0.6 0.5 1.5
30 | 0.3 0.9 0.8 2.1
40 | 0.4 1.2 1.1 2.7
50 | 0.5 1.5 1.4 3.3
myinterpolation=interpolate(mypdm,25)
myinterpolation (a pdm) =
domain | Col 1 Col 2 Col 3 Col 4
-------+-----------------------------
25 | 0.25 0.75 0.65 1.8
The formatting is a little off, but if you try it out, you can see what it does. The beauty of this is that your second domain can be more than a single value.
Hope this helps, please post back if you have more questions about this.
Regards,
Angela M
Product Support Engineer