How to convert a cell array that contains inside durations to a duration array
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
flashpode
am 10 Feb. 2022
Bearbeitet: Stephen23
am 11 Feb. 2022
Hi, so thats my problem I got a cell array that contain inside a group of duration and I want to split this group of duration to not have the cells. How can I do it? I post the variable so you can see easely what I mean.
1 Kommentar
Akzeptierte Antwort
Benjamin Thompson
am 10 Feb. 2022
Not very elegant but the brute force way to copy from your cell array to a duration array:
A = All_Time_msg_dist_Max{1};
for i = 1:length(All_Time_msg_dist_Max)
A(:,i) = All_Time_msg_dist_Max{i};
end
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!