Auto update row index to match the variable length
3 views (last 30 days)
Show older comments
Hi there,
This should be a basic question. I am trying to create a matrix
b(:,k) = a
Does not work. While
b(1:52, k) = a
Works. Is there some syntax where I don't have to put in the exact range for the rows and it auto updates?
Sankalp
0 Comments
Answers (1)
See Also
Categories
Find more on Logical 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!