hello
the & implies you are doing a logical comparison between Year and Value
I guess you wanted something else like : TableValue10 = [Year Value] or TableValue10 = [Year ; Value]
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!