problem with cells and lines

3 ビュー (過去 30 日間)
Rica
Rica 2012 年 11 月 5 日
Hi! in an array we have this command:
a is an array
% code
a(1:5:end)=[]
end
ho could i do this for cells?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 11 月 5 日
a={'1' '2' '3' '4' '5' '6'}
a(1:3:6)=[]

その他の回答 (1 件)

Rica
Rica 2012 年 11 月 5 日
Hi aziz
My problem is:
i have this data:
data=
{145030x1 cell}
{145001x1 cell}
{145030x1 cell}
and
data{1,1}{1}=measurement data
data{1,1}{2}=2 3 4 5 5
data{1,1}{3}= 5 6 7 69 3
.... .... ....
data{1,1}{10}=measuremnet data
data{1,1}{11} 3 2 5 1 9
.... ..... ....
the same construction dor data{2,1} and data{3,1}.
I want to get just the numbers from this cell construction and elemente the title(measeurement data). the number should be then saved in a vector.
did you understand what i mean?

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by