how to import excel data as separate column vectors?

83 views (last 30 days)
Hey guys,
can someone please tell me how to import excel data as separate column vectors? I know how to do it trough the interface but i need to use it in a script :/
Thank you for your help

Accepted Answer

Star Strider
Star Strider on 29 Feb 2020
The available functions inport Excel files as matrices (that are of course collections of column vectors) are readmatrix and xlsread. There are others such as readtable, however that imports them as table objects.
  11 Comments

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 1 Mar 2020
Viktor, don't forget to look at my reply to you in this question of yours, which is pretty much the same.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!