problem with cells and lines

2 vues (au cours des 30 derniers jours)
Rica
Rica le 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?

Réponse acceptée

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

Plus de réponses (1)

Rica
Rica le 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?

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by