how to remove line from cell array?

조회 수: 4 (최근 30일)
Mira le
Mira le 2021년 4월 24일
답변: David Fletcher 2021년 4월 24일
Hi every one,
I'm working on cell array called T like:
T{1}= [1 2 3 ]
T{2} = [ 2 3]
..
.
.
.
.
T{n}=[ 2 3 4]
I want in this work to delete a line, for example I want to remove line 2 , T{2 }, How can I do it ?
Thank you

답변 (1개)

David Fletcher
David Fletcher 2021년 4월 24일
T(2)=[]

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by