problem with cells and lines

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by