How can delete the variable part?

1 visualización (últimos 30 días)
Steven KIM
Steven KIM el 23 de Nov. de 2021
Comentada: Steven KIM el 23 de Nov. de 2021
Hello, everyone.
I want to erase the variable part for even numbers such as 2, 4, and 6, which are darkly colored from the variable. What should I do?
It's a possible?
I attached the .mat file.
If you know the code, I'd appreciate it if you could let me know.
Help me, please.

Respuesta aceptada

Chunru
Chunru el 23 de Nov. de 2021
s = load("T9S11.mat");
x = s.T9S11
x = 1200×2 table
VarName1 E08 ________ ________ 1.5 5.67e+08 2 5.67e+08 2.5 5.67e+08 3 5.67e+08 3.5 5.66e+08 4 5.66e+08 4.5 5.66e+08 5 5.66e+08 5.5 5.67e+08 6 5.68e+08 6.5 5.69e+08 7 5.7e+08 7.5 5.7e+08 8 5.71e+08 8.5 5.7e+08 9 5.69e+08
x(2:2:end,:)=[]
x = 600×2 table
VarName1 E08 ________ ________ 1.5 5.67e+08 2.5 5.67e+08 3.5 5.66e+08 4.5 5.66e+08 5.5 5.67e+08 6.5 5.69e+08 7.5 5.7e+08 8.5 5.7e+08 9.5 5.68e+08 10.5 5.64e+08 11.5 5.62e+08 12.5 5.63e+08 13.5 5.66e+08 14.5 5.7e+08 15.5 5.73e+08 16.5 5.73e+08
  1 comentario
Steven KIM
Steven KIM el 23 de Nov. de 2021
Wow...I got it...
Thank you so much!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown 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