Then you will need LabTalk script, see below
function dataset simulate(dataset ds1)
{
dataset ds2;
ds2.SetSize(ds1.GetSize());
range rx = col(B);
range ry = col(C);
for (int i = 1; i <= rx.GetSize(); i++)
{
ds2 += nlf_gaussian(ds1, 0, rx[i], ry[i], 0.5);
}
return ds2;
}
James