Hi(adsbygoogle = window.adsbygoogle || []).push({});

I have just imported a fairly large matrix from a excel spread sheet (121x6) useing the xlsread function. Is there a way I can convert the matrix from my command window to look something like below.

Matrix = [.......; .........; ........; .........; ........; .........]

I want to know if i can store the matrix in a mfile so I can use the data even if i no longer have access to the spreadsheet. I dont really want to use xlsread everytime i need to use the matrix and I want to be able to run the code on different machines if i need.

Thanks in advance

Elbarto

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB xlsread

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - MATLAB xlsread | Date |
---|---|

Matlab Coding angular spectrum of waves in a fluid | Thursday at 7:30 AM |

How to program this in Matlab | Feb 28, 2018 |

Matlab Making a short test for self-adjointness | Feb 23, 2018 |

MATLAB xlsread function | Dec 7, 2009 |

MATLAB and xlsread | Mar 6, 2006 |

**Physics Forums - The Fusion of Science and Community**