count every ten seconds
Ältere Kommentare anzeigen
hello this is my Excel file that im trying to work with using matlab (my file is in desktop)
i am trying to sort every ten seconds in (cloumn 11) into a new clomn (12)
my data as you can see range from 1 to 71658 and it contains the date and time as a string
here is an example of what i am trying to do
for i = 1 to 71658
while (the cell value which contains the seconds in cloumn 11 %10 !=0)
count = how many times the word "chew" appears in cloumn 3
print count in cloumn 13
else
sum = sum+1
print sum in cloumn 12
end
how can i write this code using matlab please help me i am desprate 

1 Kommentar
Walter Roberson
am 4 Sep. 2021
Bearbeitet: Walter Roberson
am 4 Sep. 2021
? That file only has 10 columns ?
Column 3 is numeric and never has the word "chew" ??
Akzeptierte Antwort
Weitere Antworten (1)
grace khashman
am 7 Sep. 2021
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!