這裏就是我與現在的工作: for (int i = 0, numSamples = soundBytes.length/2; i < numSamples; i += 2)
{
// Get the samples.
int sample1 = ((soundBytes[i] & 0xFF) << 8) | (soundBytes[i + 1] & 0xFF); // Aut
我有一個光譜(波長(x)對吸收(y)),它是兩個信號(xa,ya)和(xb,yb)的混合。我試圖用PCA(代碼我在網上找到),以UNMIX的信號(X,Y): %step 1, input data
numdata=length(data(:,1));
x=data(:,1);
y=data(:,1);
%step 2, finding a mean and subtracting
xm