hello every one,I study a program related to my work in which I have a file named vhf_power_0510 when I load this file than in matlab workspace it appears as noted that here i write squre braket and equal sign only to make clear what is written in workspace [Name=pwr value=1800×10×267double Min=<Too many elements> Max=<Too many elements>] in program after that when they write in command window lgtime=length(pwr(:,1,1)) than in workspace it appear as noted that here I again write squre braket 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 dont 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 here is 3 numbers 1800×10×267double.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'. thanks

댓글 수: 3

Rik
Rik 2017년 2월 16일
So you have a matrix that has 1800 rows, 10 cols and 267 pages. What you do with "lgtime=length(pwr(:,1,1))" is simply finding out the size of the result when you select all rows, col 1 and page 1. As pwr has 1800 rows, the answer is 1800.
The question of how to visualize your data depends on what the matrix means. To find out that, you should look at the program that generated it.
If you want to look at the values themselves, you could try plots like plot(pwr(:,1,1)) or plot(pwr(1,:,1))
Safi ullah
Safi ullah 2017년 2월 17일
thanks now I understand it.
Walter Roberson
Walter Roberson 2017년 2월 17일
편집: Walter Roberson 2017년 2월 17일
Duplicated by later https://www.mathworks.com/matlabcentral/answers/325340-file-type-in-matlab-workspace which has an answer.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2017년 2월 16일

편집:

2017년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by