MATLAB: Addition 1MATLAB qq = 33 48 82 91 101 138 176. i want add 1 to each of the element in qq. how can i do that? Best Answer c=qq+1 Related SolutionsMATLAB: Signals addition Assuming they correspond to the same sampling rates, truncate one of them to be of the same length as the smaller one:n1 = length(x1);n2 = length(x2);% Assuming n1 < n2x2 = x2(1:n1)Or maybe you want to interpolatex2 = interp1(1:n2, x2, linspace(1, n2, n1));Or maybe you want to refer back to your other question: http://www.mathworks.com/matlabcentral/answers/36587-adding-of-signals MATLAB: When should I post questions to Answers instead of the Newsgroup The big advantage of Answers is the ability to edit what you've posted. I use that feature a lot. Related QuestionPeak additions /array additionHow does one accept an answerPeak addition/ arrary additionArray additionMatrix addition
Best Answer