can't understand this statement
1 view (last 30 days)
Show older comments
is this possible
b(1:2,3)
0 Comments
Answers (1)
Davide Masiello
on 4 Apr 2022
Yes, it extracts the terms on column 3 and rows 1 and 2 of b.
Example
b = magic(5)
b(1:2,3)
0 Comments
See Also
Categories
Find more on Matrix Indexing 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!