How can delete the variable part?

2 visualizzazioni (ultimi 30 giorni)
Steven KIM
Steven KIM il 23 Nov 2021
Commentato: Steven KIM il 23 Nov 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.

Risposta accettata

Chunru
Chunru il 23 Nov 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

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by