how to remove line from cell array?

2 views (last 30 days)
Mira le
Mira le on 24 Apr 2021
Answered: David Fletcher on 24 Apr 2021
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

Answers (1)

David Fletcher
David Fletcher on 24 Apr 2021
T(2)=[]

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!