Filter löschen
Filter löschen

How to get details of variables?

6 Ansichten (letzte 30 Tage)
Zar
Zar am 16 Feb. 2023
Beantwortet: Image Analyst am 16 Feb. 2023
let supoose i run the code of file untitled i got just name in command window untitled.
clear all clc
D=15;
B=zeros(D,1);
for i=0:D-1
B(D)=i;
end
  2 Kommentare
DGM
DGM am 16 Feb. 2023
What exactly is the question?
Askic V
Askic V am 16 Feb. 2023
Type "whos" in the command windows to get more information about the variables.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 16 Feb. 2023
clear all clc
D=15;
B=zeros(D,1);
for i=0:D-1
B(D)=i;
end
whos D
Name Size Bytes Class Attributes D 1x1 8 double
whos B
Name Size Bytes Class Attributes B 15x1 120 double
D
D = 15
B
B = 15×1
0 0 0 0 0 0 0 0 0 0

Weitere Antworten (0)

Kategorien

Mehr zu Dictionaries finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by