Share
Explore BrainMass

Matlab standard deviation ( std ) function

Given a 2 x 2 matrix

sample =

2.0000 + 3.0000i 1.0000 + 2.0000i
4.0000 + 5.0000i 2.0000 + 1.0000i

>> std(sample(:))

ans =

2.1213

>>
According to matlab the answer is 2.1213. I'm not arriving at that answer. I need to see all work on how to achieve said result.

Solution Summary

A MATLAB function is investigated. The solution is detailed and well presented. The response received a rating of "5/5" from the student who originally posted the question.

$2.19