I have an excel file which contains a 4x4 matrix filled in with certain values. I want to assign this matrix to a variable in matlab. Can anyone help me to achieve this ? Which command should I use ?
Any help could be useful. Thanks in advance!

 Akzeptierte Antwort

Star Strider
Star Strider am 15 Jan. 2015

0 Stimmen

I would use the xlsread function. Look through the documentation to understand how to assign its output to your variable.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by