what does the following syntax
1 view (last 30 days)
Show older comments
Harel Harel Shattenstein
on 30 Jun 2015
A=magic(3);
B=A(:)
disp(B)
why does it show the matrix entires in a column vector? what does (:) mean?
0 Comments
Accepted Answer
Guillaume
on 30 Jun 2015
This the colon operator. Explanation available with
doc 'colon (:)'
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler 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!