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)=[]

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by