Hi , i'm matlab beginner and i have a problem

1 回表示 (過去 30 日間)
Skander Marouani
Skander Marouani 2018 年 3 月 8 日
コメント済み: Stephen23 2018 年 3 月 8 日
I'm analyzing data from a text file that's not seperated with comma or a space, so matlab is seeing data as one colum with different lines, but i want to treat as a matrix
Exemple :
adsdqd
matlab see this as a matrix(1,1) but i want to see it as a matrix (1,6) thank you for your help :)
  4 件のコメント
Jan
Jan 2018 年 3 月 8 日
編集済み: Jan 2018 年 3 月 8 日
@Skander: I cannot guess, how you import the data or what "matlab see this as a matrix(1,1)" means. Please post the code or explain the procedure. A simple fscanf or fread should work to import the string 'adsdqd'.
Stephen23
Stephen23 2018 年 3 月 8 日
fileread

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by