フィルターのクリア

file type in matlab workspace

1 回表示 (過去 30 日間)
Safi ullah
Safi ullah 2017 年 2 月 16 日
コメント済み: Walter Roberson 2017 年 2 月 17 日
I studied a program related to my work in which I have a file named vhf_power_0510, when I loaded this file, then in matlab workspace it appears as: note here that I write square brackets and equal sign only to make clear what is written in workspace :
[Name=pwr value=1800×10×267 double Min=<Too many elements> Max=<Too many elements>]
In program after that when they write in command window,
lgtime=length(pwr(:,1,1))
Then in workspace it appears as: *note that here I again write square brackets and equal sign only to make clear what is written in workspace
[Name=lgtime value=1800 Min=1800 Max=1800]
My problem is that I don't understand pwr is which type of matrix or how this type of matrix is created and how I can open this file from workspace? Because in matlab workspace matrix has only m×n while there are 3 numbers 1800×10×267 double. Also when I double click to open pwr from workspace it does not open rather a sentence comes 'Cannot display summaries of variables with more than 524288 elements'.
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 2 月 17 日
Duplicates https://www.mathworks.com/matlabcentral/answers/325324-file-type-in-matlab-workspace but this one has an answer

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

採用された回答

Walter Roberson
Walter Roberson 2017 年 2 月 16 日
length(TheMatrix) of a 3D matrix is max(size(TheMatrix)) -- that is, the length of the longest dimension. Your array is 1800 x 10 x 267 and the largest of those is 1800 so the length shows up as 1800. But the original matrix is 3 dimensional.
You can extract part of it and view that. For example,
P1 = pwr(:,:,1);
and then you can view P1.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by