Assigning Columns to Multiple Variables
Show older comments
Lets say I have a table of 5 columns in my workspace.
I want each of the variables A, B, C, D to be assinged to a single column.
For exaple A = Column 1, B=Column 3 etc.
I know I can write A = Table( : ,1), but is there a way to do it all at once instead of individually?
Accepted Answer
More Answers (0)
Categories
Find more on Workspace Variables and MAT Files 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!