[Help]+Matrix Operation
Show older comments
I found a program from internet, the following is the part code:
t=0:1/1e3:0.999;
a=randint(1,10);
b=ceil(10*t+0.01);
s=a(b);
% I do not know what a(b) means. a is 1*10 matrix,b is 1*1000 matrix.
Who can tell me, thank u!
Answers (2)
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!