Clear Filters
Clear Filters

problem with cells and lines

1 view (last 30 days)
Rica
Rica on 5 Nov 2012
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?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 5 Nov 2012
a={'1' '2' '3' '4' '5' '6'}
a(1:3:6)=[]

More Answers (1)

Rica
Rica on 5 Nov 2012
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?

Categories

Find more on Cell Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!