Matlab2025b cannot plot the variable values

65 次查看(过去 30 天)
승현
승현 2026-1-6,16:04
回答: Image Analyst about 8 hours 前
I selected the variable column as in the image above; however, plotting is not enabled.
It was working normally, but selection suddenly stopped working. Reinstalling the software did not resolve the issue.
  6 个评论
승현
승현 2026-1-9,8:18
MATLAB 버전: 25.2.0.3055257 (R2025b) Update 2
MATLAB 라이선스 번호: 41294535
운영 체제: Microsoft Windows 11 Pro Version 10.0 (Build 26100)
Java 버전: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst about 7 hours 前
What does this show
>> whos Derating_Cap
Since it's a 3-D array, maybe try extracting out a vector into a single variable and then plot that.
% Get first plane/slice as a 2-D matrix
plane1 = Derating_Cap(:, :, 1);
column1 = plane1(:, 1);
Depending on what vector you want to plot in the 3-D array, you might have to use squeeze.
plane1 = Derating_Cap(:, 1, :);
plane1 = squeeze(plane1);
column1 = plane1(:, 1);

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

标签

产品


版本

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by