You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The function accepts the standard deviation, mean, and the number of values in the vector.
The function can be used in statistical testing (e.g. T-test) if only the standard deviation and mean are given.
Sample:
>> x=StdMArray(5,10,28)
x =
Columns 1 through 13
5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000
Columns 14 through 26
5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000 5.0000
Columns 27 through 28
-31.7423 41.7423
>> mean(x)
ans =
5
>> std(x)
ans =
10
Cite As
Adrian Once (2026). StdMArray (https://se.mathworks.com/matlabcentral/fileexchange/72434-stdmarray), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (1.14 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
