フィルターのクリア

I have a 2 dimensional array. I want to view it.

3 ビュー (過去 30 日間)
Ishani Mukherjee
Ishani Mukherjee 2021 年 9 月 21 日
コメント済み: Ishani Mukherjee 2021 年 9 月 21 日
I am new to MATLAB and I facing the following trouble-
I have a 2 dimensional array (termed as trajectories). It has 7808 rows and 2 columns. I want to view it!
The command : trajectories(:,:,1) or trajctories(:,:,2) is not helping as I get about 5000 rows and not the full array.
Also can I save these as 2 excel files?
Please help!
Thanks in advance, Ishani

採用された回答

Walter Roberson
Walter Roberson 2021 年 9 月 21 日
How do you want to view it? As text?
trajectories(:,1) should display the first column. However it is possible that your MATLAB is configured to only save the last 5000 lines of output.
Preferences -> Command Window -> Display (block on right side) -> Number of lines in command window scroll buffer
  1 件のコメント
Ishani Mukherjee
Ishani Mukherjee 2021 年 9 月 21 日
Thank you very much!

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

その他の回答 (1 件)

KSSV
KSSV 2021 年 9 月 21 日
x = trajectories(:,1) ;
y = trajectories(:,2) ;
plot(x,y)
  2 件のコメント
Ishani Mukherjee
Ishani Mukherjee 2021 年 9 月 21 日
Thank you!
is there a way I can save the trajectories in two excel files?
KSSV
KSSV 2021 年 9 月 21 日
Let T be your n*2 array.
writetable(T,'test.xlsx');

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by