Matlab2025b cannot plot the variable values

65 visualizzazioni (ultimi 30 giorni)
승현
승현 il 6 Gen 2026 alle 16:04
Risposto: Image Analyst circa 5 ore fa
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 Commenti
승현
승현 il 9 Gen 2026 alle 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

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst circa 2 ore fa
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);

Prodotti


Release

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by