First time here? Check out the FAQ!
answered 2014-08-29 06:21:01 -0600
Because signal is a vector<vector<double>>, if you want to insert a (as one) signal in temp1, then you shall insert jut that one; so use:
vector<vector<double>>
temp1.insert(temp1.end(), signal[i].begin(), signal[i].end());