Borrar filtros
Borrar filtros

How to get details of variables?

6 visualizaciones (últimos 30 días)
Zar
Zar el 16 de Feb. de 2023
Respondida: Image Analyst el 16 de Feb. de 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 comentarios
DGM
DGM el 16 de Feb. de 2023
What exactly is the question?
Askic V
Askic V el 16 de Feb. de 2023
Type "whos" in the command windows to get more information about the variables.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 16 de Feb. de 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

Más respuestas (0)

Categorías

Más información sobre Dictionaries en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by