From: rams on 25 Apr 2010 11:41 I have written following code for interpolating data points... load rawdata.txt a=rawdata; for i=1:9793%total number of data points c = a(i,:);%original value b = [2.5, 5., 7.5];%old location d = [4., 7.];%new location where the data is needed x=interp1(b,c,d);% D2(:,i)=x; end xlswrite('interpolated_rawco2data',D2');% when i run this for fewer data points it works well but when i use large number of data points it is giving me the following error...not sure whats going wrong...may it is something to do with excel. ??? Error using ==> xlswrite at 213 Invoke Error, Dispatch Exception: Source: Microsoft Office Excel Description: The disk is full. Help File: C:\Program Files\Microsoft Office\Office12\1033\XLMAIN11.CHM Help Context ID: 0 Error in ==> Interpolation at 15 xlswrite('interpolated_rawco2data',D2');%
From: Thomas Britton on 25 Apr 2010 18:00 rams <lramsb4u(a)gmail.com> wrote in message <7841822.20394.1272224494129.JavaMail.root(a)gallium.mathforum.org>... > I have written following code for interpolating data points... > > load rawdata.txt > a=rawdata; > > for i=1:9793%total number of data points > c = a(i,:);%original value > b = [2.5, 5., 7.5];%old location > d = [4., 7.];%new location where the data is needed > x=interp1(b,c,d);% > D2(:,i)=x; > end > > xlswrite('interpolated_rawco2data',D2');% > > when i run this for fewer data points it works well but when i use large number of data points it is giving me the following error...not sure whats going wrong...may it is something to do with excel. > > ??? Error using ==> xlswrite at 213 > Invoke Error, Dispatch Exception: > Source: Microsoft Office Excel > Description: The disk is full. > Help File: C:\Program Files\Microsoft Office\Office12\1033\XLMAIN11.CHM > Help Context ID: 0 > > Error in ==> Interpolation at 15 > xlswrite('interpolated_rawco2data',D2');% How big is the data set? How much space is on your disk? What 'form' (rows and cols, data type) is your data set? And finally, what version of Excel are you using? It is claiming that your disk is full, which would most likely mean that you need to either write to another disk or clear space on the current disk.
|
Pages: 1 Prev: for loop combined with if loop.. (new to matlab) Next: power spectral density |