MATLAB: Standart deviation between two matrix standart deviation... Hi, I have a matrix A 100*6 and and a matrix B 100*1. I would like to compute de standart deviation between each columns of Matrix A with the matrix B. Thank you Best Answer What do you mean "between two matrix"std() on a matrix returns the standard deviation of the columnsA = randn(100,6);std(A)B = randn(100,1);std(B) Related SolutionsMATLAB: Mean of Matrix Rows The row means would be calculated as the mean of dimension 2. Try this: A = rand(5);Anew = A - mean(A,2);Check = mean(Anew,2) % Confirm: Mean = 0 MATLAB: Limiting standart deviation of a signal Let's say your time variable istime = 0:.1:10;and your data is named 'data'.First locate all time samples between 0 and 3 secidx = time >= 0 & time <= 3;Then calculate std of your data for those times.sig = std(data(idx));This can be done all in 1 line like thissig = std(data(time >= 0 & time <= 3));*This assumes your 'time' and 'data' points correspond. Related QuestionHow to find standart devuation of biological dataCalculate 2 standard deviationsMatch values of the standart with the sample. (pattern recogniton)How to compute the mean and the standard deviation of a specific row from a matrix
Best Answer