誤: x[i] = sin(i*omega0+phase0)*amp0+sim(omega1+phase1)*amp1+... 正: x[i] = sin(i*omega0+phase0)*amp0+sim(i*omega1+phase1)*amp1+... でした