how to represent an array of 10000B in matlab
1 view (last 30 days)
Show older comments
To represent an memory using 10000B...and running the program for 1000 times
Answers (1)
Walter Roberson
on 11 Feb 2016
Example:
T = 0;
for K = 1 : 1000
M = uint8(255*rand(1,10000)); %M is now an array of 10000 bytes
T = T + mean(M);
end
0 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!