x1 = xlsread('x1.xls');
x2 = xlsread('x2.xls');
x3 = xlsread('x3.xls');
x4 = xlsread('x4.xls');
XX = [x1 x2 x3 x4];
X = dataset(XX);
X.axisscale{2}=250:5:700;
X.axisscale{3}=200:5:650;
NewEEM=eemscat(X,[10,10],[10,10],[10,10]);
按说明应该是这样,不过还是报错,另请高明吧。
附报错信息:
Attempted to access V(:,1); index out of bounds because size(V)=[0,0].
Error in interp1>Interp1D (line 349)
F = griddedInterpolant(X,V(:,1),method);
Error in interp1 (line 241)
Vq = Interp1D(X,V,Xq,method);
Error in eemscat (line 148)
mm=interp1(ax2cut,Eendcut,ax2,'pchip','extrap'); %%% interpolation using cubic option