Data reading/Filtering, Excel>>Array
Ältere Kommentare anzeigen
Hi,
I have an excel file with data.
an example
colom1:
1
2
3
4
5
empty
empty
6
7
8
9
10
empty
empty
What I want to do is this:
- get every number above the first empty cell (in example the number 5 and 10)
- then calculate, 5 - 1 , 5 -2 , 5-3 ,5-4
same for the next set of data (10-6 10-7 10-8 10-9), this for the entire colom.
With xlsread I read the file, then select the colom with num(:,x). I get an arraw with numbers then 2 Nanns between each set of data....
what then to do...
Antworten (2)
Vishal Rane
am 11 Dez. 2012
1 Kommentar
Vishal Rane
am 11 Dez. 2012
Use the NaN locations to further build your logic
Hello kity
am 11 Dez. 2012
Bearbeitet: Hello kity
am 11 Dez. 2012
0 Stimmen
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!