How can delete the variable part?

조회 수: 2 (최근 30일)
Steven KIM
Steven KIM 2021년 11월 23일
댓글: Steven KIM 2021년 11월 23일
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.

채택된 답변

Chunru
Chunru 2021년 11월 23일
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
Steven KIM
Steven KIM 2021년 11월 23일
Wow...I got it...
Thank you so much!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by