How to treat 200 rows of data as an event when constructing a Timetable, as a piece of data, the size is 200*1

3 次查看(过去 30 天)
There is a table, if the sampling rate is set to 200 when constructing the Timetable,TT = timetable(var,'SampleRate',200) ,then the time of each row of the Timetable is 0.005s, 0.01s etc, but what I want is that the time of each row is 1s, 2s, 3s, and the corresponding var data shape of each row is 200*1, what should I do?

采纳的回答

Walter Roberson
Walter Roberson 2024-8-2
If your data is all numeric (or convertable to numeric), then:
Use mat2cell to convert the data into a cell array whose entries contain 200 rows
YourCell = mat2cell(YourNumericData, 200*ones(1,size(YourNumericData,1)/200)), size(YourNumericData,2));
Then you can proceed to cell2table and then table2timetable

更多回答(1 个)

Raghava S N
Raghava S N 2024-8-2
Hi Wensor,
Using the “array2timetable” function, you can directly convert numeric data from arrays to a timetable. This can be done as follows:
X = rand(10, 200); % Assuming the data is stored in a 10 x 200 numeric array.
Time = seconds(1:10); % Timing intervals, set to 1s time step each.
TT = array2timetable(X, 'RowTimes', Time) % Convert the arrays to a timetable.
TT = 10x200 timetable
Time X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14 X15 X16 X17 X18 X19 X20 X21 X22 X23 X24 X25 X26 X27 X28 X29 X30 X31 X32 X33 X34 X35 X36 X37 X38 X39 X40 X41 X42 X43 X44 X45 X46 X47 X48 X49 X50 X51 X52 X53 X54 X55 X56 X57 X58 X59 X60 X61 X62 X63 X64 X65 X66 X67 X68 X69 X70 X71 X72 X73 X74 X75 X76 X77 X78 X79 X80 X81 X82 X83 X84 X85 X86 X87 X88 X89 X90 X91 X92 X93 X94 X95 X96 X97 X98 X99 X100 X101 X102 X103 X104 X105 X106 X107 X108 X109 X110 X111 X112 X113 X114 X115 X116 X117 X118 X119 X120 X121 X122 X123 X124 X125 X126 X127 X128 X129 X130 X131 X132 X133 X134 X135 X136 X137 X138 X139 X140 X141 X142 X143 X144 X145 X146 X147 X148 X149 X150 X151 X152 X153 X154 X155 X156 X157 X158 X159 X160 X161 X162 X163 X164 X165 X166 X167 X168 X169 X170 X171 X172 X173 X174 X175 X176 X177 X178 X179 X180 X181 X182 X183 X184 X185 X186 X187 X188 X189 X190 X191 X192 X193 X194 X195 X196 X197 X198 X199 X200 ______ _______ _______ _______ __________ _______ _______ ________ _________ _______ _______ ________ _______ _______ ________ _______ ________ ________ ________ _______ ________ ________ ________ ________ _______ ________ _______ _______ ________ ________ _______ _______ ________ _________ ________ _______ ________ ________ _______ ________ _________ ________ _______ _______ ________ ________ _______ ________ ________ ________ ________ _______ _______ ________ ________ ________ _________ ________ ________ ________ ________ ________ ________ _________ _______ ________ _______ _______ _______ ________ ________ _______ _______ _______ ________ ________ ________ _______ ________ ________ ________ ________ _______ _______ _________ _______ _______ ________ _______ ________ ________ ________ ________ ________ ________ __________ ________ _______ _______ ________ ________ _________ _______ _______ ________ ________ _______ ________ ________ ________ ________ ________ _________ ________ ________ _______ ________ _______ _______ _______ ________ _______ _______ _______ _________ _______ ________ _______ _______ ________ _________ _______ ________ ________ _______ ________ ________ ________ _______ _______ _______ ________ _______ ________ _______ ________ _______ ________ _______ ________ ________ ________ _______ ________ ________ _______ _______ ________ ________ ________ ________ ________ _________ ________ _______ ________ ________ ________ ________ _______ ________ _________ _______ _________ ________ _______ _______ ________ ________ ________ ________ _________ _______ ________ _______ _______ ________ _________ _______ _______ _________ ________ ________ ________ ________ _________ _______ ________ _________ __________ _______ 1 sec 0.82431 0.66755 0.43296 0.91177 0.98926 0.37751 0.49306 0.026469 0.52628 0.24931 0.095558 0.33739 0.68202 0.52517 0.70058 0.54694 0.19515 0.21156 0.43704 0.77511 0.70955 0.40232 0.37056 0.57472 0.1905 0.45592 0.80354 0.090589 0.086427 0.54804 0.8905 0.76241 0.14883 0.73133 0.48221 0.83225 0.92871 0.87331 0.093295 0.32379 0.94165 0.70066 0.65257 0.71086 0.039835 0.68704 0.51427 0.20959 0.52648 0.80843 0.4292 0.35328 0.19263 0.56614 0.62933 0.0061858 0.63145 0.29053 0.52083 0.094861 0.44655 0.73875 0.61896 0.90163 0.43793 0.57156 0.39977 0.38446 0.32286 0.24575 0.61263 0.89647 0.98659 0.63593 0.83208 0.69538 0.50233 0.76839 0.39444 0.091743 0.98944 0.15823 0.90564 0.37081 0.10489 0.1899 0.096109 0.80989 0.64618 0.83852 0.5824 0.84154 0.096201 0.83672 0.36658 0.80256 0.12552 0.46803 0.034849 0.80281 0.29787 0.87276 0.55186 0.50315 0.58204 0.14055 0.76305 0.69423 0.072166 0.70139 0.29155 0.82121 0.45653 0.92347 0.17168 0.051496 0.79416 0.94619 0.35699 0.69431 0.75161 0.42021 0.27408 0.066841 0.20675 0.078419 0.34272 0.28366 0.13349 0.60547 0.85633 0.72755 0.90429 0.36344 0.97191 0.18499 0.26704 0.39701 0.64564 0.96338 0.3503 0.98923 0.10706 0.61964 0.029405 0.60196 0.87442 0.72735 0.096048 0.17809 0.17198 0.96721 0.618 0.50337 0.46873 0.96205 0.71395 0.81848 0.86776 0.019503 0.86903 0.12121 0.51566 0.46329 0.88782 0.21199 0.67974 0.82792 0.56672 0.6738 0.0067305 0.33195 0.052217 0.10646 0.87486 0.45556 0.13055 0.36594 0.057465 0.88157 0.14253 0.15419 0.8013 0.93771 0.46485 0.63149 0.92793 0.72299 0.78428 0.58948 0.43049 0.37091 0.61457 0.90819 0.35362 0.21057 0.58855 0.034254 0.27859 0.41639 2 sec 0.43243 0.82771 0.68387 0.60874 0.89423 0.51346 0.089025 0.27837 0.68784 0.1382 0.81282 0.87884 0.99121 0.88376 0.951 0.91438 0.64361 0.66127 0.99297 0.028929 0.41627 0.86385 0.20701 0.37513 0.28512 0.81964 0.25185 0.5925 0.020553 0.53796 0.43165 0.2875 0.65618 0.48641 0.60386 0.58872 0.88948 0.23589 0.071571 0.93664 0.16642 0.55824 0.12605 0.043235 0.043779 0.11261 0.92345 0.4532 0.82277 0.034441 0.51714 0.23722 0.50306 0.27544 0.81245 0.64765 0.7157 0.59296 0.19134 0.094873 0.2335 0.91662 0.23852 0.77634 0.18908 0.21719 0.40184 0.35856 0.093516 0.96358 0.84846 0.74387 0.85692 0.66519 0.1144 0.68352 0.44783 0.25068 0.81742 0.25729 0.032261 0.23313 0.84263 0.35576 0.91307 0.68497 0.45426 0.98577 0.24159 0.56454 0.35674 0.31712 0.22765 0.27725 0.22319 0.6054 0.34234 0.51165 0.44247 0.26139 0.38925 0.94241 0.38743 0.8563 0.85757 0.62266 0.44153 0.79892 0.13633 0.31778 0.20607 0.14368 0.42215 0.80753 0.23891 0.41206 0.71758 0.48135 0.40377 0.47356 0.18139 0.26786 0.15318 0.91279 0.82811 0.94691 0.47666 0.61903 0.70924 0.44732 0.19409 0.3625 0.57049 0.4302 0.018042 0.41495 0.037806 0.52512 0.70696 0.6556 0.47425 0.21903 0.028845 0.67486 0.93475 0.93879 0.17841 0.71483 0.29393 0.77889 0.89608 0.05237 0.49623 0.44965 0.7308 0.4735 0.81055 0.14445 0.58616 0.94002 0.51701 0.65935 0.092459 0.92257 0.12634 0.87701 0.21996 0.73515 0.92418 0.066247 0.42922 0.6441 0.30391 0.060726 0.68892 0.70928 0.82568 0.38769 0.85214 0.79748 0.068413 0.32102 0.77224 0.26025 0.90662 0.17333 0.24815 0.77485 0.56568 0.92666 0.26248 0.40975 0.71742 0.11317 0.077249 0.8967 0.31004 0.45124 0.83668 0.33146 3 sec 0.90969 0.48451 0.54081 0.21029 0.80413 0.90107 0.99696 0.43924 0.5357 0.84848 0.56206 0.66284 0.56185 0.40644 0.4357 0.38929 0.62789 0.82126 0.41063 0.51477 0.027227 0.32212 0.78781 0.22787 0.132 0.15579 0.18971 0.84337 0.53626 0.38295 0.8642 0.014519 0.56466 0.21202 0.12044 0.50325 0.038764 0.41682 0.22852 0.72677 0.25567 0.69167 0.13152 0.69921 0.60487 0.16293 0.002624 0.29777 0.34697 0.11685 0.67257 0.51408 0.21336 0.9915 0.6995 0.75103 0.68128 0.57138 0.40772 0.98556 0.096017 0.007614 0.68905 0.8307 0.12122 0.54525 0.36467 0.99742 0.32971 0.72405 0.32661 0.6843 0.12222 0.017172 0.97773 0.13773 0.79284 0.82555 0.095459 0.70407 0.78692 0.68285 0.842 0.1937 0.82672 0.38517 0.49721 0.28245 0.51983 0.080912 0.27147 0.013941 0.64067 0.53648 0.66151 0.81488 0.5025 0.99836 0.31058 0.16494 0.3015 0.20193 0.46278 0.63089 0.015536 0.59 0.086049 0.065982 0.69104 0.33576 0.73546 0.0041795 0.48515 0.89633 0.87151 0.63053 0.91378 0.39109 0.23967 0.072975 0.9347 0.66187 0.81319 0.39256 0.28733 0.54099 0.72991 0.8964 0.91572 0.34308 0.59022 0.36974 0.067502 0.88346 0.91417 0.61092 0.79427 0.55859 0.87885 0.20743 0.078609 0.49408 0.65744 0.71136 0.50137 0.27102 0.090471 0.89684 0.21547 0.91996 0.89189 0.21727 0.46892 0.024329 0.04314 0.67297 0.59376 0.076338 0.75497 0.35386 0.017472 0.54883 0.11526 0.55368 0.70607 0.60206 0.79514 0.28865 0.85607 0.33437 0.55366 0.55835 0.6944 0.30631 0.95525 0.16837 0.40087 0.56822 0.36161 0.52775 0.18721 0.80098 0.78982 0.59532 0.15463 0.21658 0.43637 0.97003 0.92361 0.58699 0.25405 0.23953 0.099407 0.61136 0.3934 0.60628 0.68458 0.35872 0.13714 0.37927 4 sec 0.9473 0.94002 0.94 0.47944 0.73585 0.51758 0.98069 0.0013481 0.25023 0.33657 0.029844 0.48975 0.59699 0.11798 0.07961 0.74768 0.7539 0.054573 0.938 0.29642 0.27899 0.17314 0.81372 0.83369 0.49892 0.53883 0.55317 0.60572 0.91765 0.45149 0.63201 0.20097 0.1281 0.090986 0.78351 0.45961 0.66972 0.96916 0.55576 0.90982 0.32256 0.83219 0.51661 0.12878 0.67368 0.36231 0.24728 0.064521 0.30222 0.92452 0.77155 0.41591 0.99094 0.23731 0.61236 0.31496 0.46906 0.39849 0.90739 0.64394 0.052326 0.64352 0.9094 0.65767 0.22654 0.1666 0.46313 0.82764 0.31384 0.30359 0.27729 0.6575 0.27037 0.18947 0.60984 0.71157 0.57141 0.29531 0.018156 0.42944 0.3879 0.83153 0.4237 0.66884 0.67867 0.83861 0.23353 0.92001 0.7237 0.22035 0.53333 0.60759 0.86866 0.21287 0.00082038 0.487 0.81676 0.24995 0.42978 0.97469 0.59905 0.64367 0.21631 0.064937 0.26588 0.83942 0.48606 0.80426 0.81188 0.031789 0.052105 0.31812 0.4466 0.1796 0.47537 0.89769 0.48386 0.45981 0.95748 0.61499 0.16167 0.60279 0.35789 0.93838 0.37476 0.041492 0.7876 0.10133 0.42108 0.40972 0.38986 0.78584 0.45918 0.12046 0.35364 0.53298 0.29223 0.98368 0.61932 0.8108 0.67467 0.19988 0.94458 0.22505 0.49512 0.1499 0.096106 0.48538 0.49947 0.8315 0.80553 0.9538 0.68729 0.90874 0.8197 0.68905 0.57413 0.16657 0.49915 0.83336 0.22018 0.90599 0.92977 0.29576 0.062809 0.46728 0.47224 0.94168 0.43799 0.89139 0.32666 0.06097 0.71906 0.94857 0.17883 0.8915 0.47114 0.051464 0.81804 0.20694 0.89461 0.64139 0.73877 0.38133 0.80085 0.23903 0.94714 0.5554 0.56141 0.66501 0.44009 0.12523 0.1433 0.98348 0.3484 0.16818 0.72498 0.66388 0.43387 0.45564 5 sec 0.59828 0.27768 0.66158 0.32077 0.26467 0.21015 0.93039 0.2008 0.23489 0.57754 0.69693 0.90547 0.56202 0.52442 0.75188 0.42773 0.99033 0.95999 0.67111 0.83342 0.90963 0.99935 0.43526 0.71793 0.78576 0.6571 0.73052 0.77329 0.46964 0.64917 0.39862 0.38976 0.92027 0.34184 0.3273 0.52428 0.201 0.50933 0.45809 0.7325 0.24582 0.49938 0.42598 0.35933 0.77805 0.31415 0.77261 0.69376 0.92134 0.89795 0.82312 0.65037 0.025191 0.95889 0.64837 0.84693 0.43597 0.35458 0.55487 0.2104 0.54152 0.25709 0.57762 0.92243 0.68597 0.81581 0.42 0.70356 0.91955 0.21902 0.77733 0.4974 0.27707 0.028355 0.84729 0.83331 0.74964 0.19588 0.22742 0.51755 0.6588 0.49347 0.22638 0.52994 0.31613 0.26035 0.3393 0.69461 0.48259 0.49552 0.165 0.8392 0.31497 0.93506 0.17145 0.51147 0.89007 0.85268 0.14239 0.020216 0.28706 0.50051 0.36344 0.77835 0.18538 0.41543 0.84127 0.37072 0.65788 0.045669 0.75063 0.37811 0.76137 0.18734 0.28995 0.69867 0.76372 0.7736 0.83338 0.1417 0.57305 0.98817 0.25262 0.59735 0.80534 0.75398 0.42644 0.13462 0.023003 0.2643 0.81006 0.45732 0.11096 0.79625 0.013477 0.6465 0.86286 0.4129 0.32906 0.99485 0.25111 0.36496 0.64108 0.48875 0.93241 0.60959 0.32433 0.64914 0.3292 0.16826 0.27264 0.3728 0.55252 0.4994 0.11946 0.96324 0.63898 0.9304 0.84783 0.25213 0.68599 0.70373 0.071582 0.5824 0.019076 0.74865 0.024711 0.14536 0.35731 0.36907 0.81597 0.86921 0.78985 0.29868 0.98777 0.80043 0.7992 0.65046 0.045992 0.66327 0.19665 0.17157 0.017918 0.86379 0.71866 0.14901 0.0045029 0.10397 0.4587 0.9023 0.80547 0.23693 0.17932 0.98116 0.24053 0.5942 0.4335 0.0076468 0.30982 0.68177 6 sec 0.95266 0.67797 0.8143 0.52258 0.81416 0.47976 0.47383 0.98463 0.5599 0.47668 0.8188 0.87732 0.31712 0.54831 0.69644 0.74017 0.22503 0.88997 0.73715 0.06481 0.52501 0.46278 0.56664 0.74955 0.68018 0.67692 0.91878 0.13341 0.64195 0.56594 0.25958 0.86294 0.57745 0.32274 0.51165 0.43233 0.17921 0.54975 0.71697 0.92051 0.26475 0.43017 0.94909 0.43115 0.77525 0.4261 0.93431 0.71229 0.011694 0.71369 0.21085 0.29393 0.39994 0.20528 0.80039 0.60851 0.016679 0.69908 0.69702 0.36396 0.85023 0.25491 0.0033871 0.44125 0.45653 0.20659 0.25941 0.70141 0.75675 0.59016 0.27222 0.7418 0.74863 0.90212 0.68775 0.844 0.87303 0.54581 0.76859 0.70036 0.43083 0.90057 0.4302 0.068866 0.14742 0.57007 0.34979 0.82887 0.14735 0.18952 0.09438 0.70696 0.42745 0.71592 0.20785 0.33775 0.91312 0.10291 0.75162 0.17183 0.060519 0.64393 0.13318 0.19273 0.51479 0.20808 0.85383 0.4504 0.64124 0.89187 0.73584 0.14077 0.051798 0.15043 0.34383 0.40834 0.44689 0.18208 0.85007 0.64531 0.92852 0.25024 0.7991 0.62692 0.21372 0.79445 0.1248 0.23128 0.36249 0.29507 0.21025 0.55693 0.22183 0.51367 0.61869 0.067264 0.17971 0.14343 0.77496 0.90224 0.99109 0.20054 0.15666 0.23809 0.018742 0.28631 0.25058 0.40469 0.16244 0.068549 0.17822 0.60775 0.26954 0.3863 0.76679 0.4508 0.84034 0.78571 0.27078 0.044619 0.82491 0.29529 0.26712 0.79881 0.72932 0.43039 0.82533 0.85435 0.27132 0.71441 0.26063 0.80329 0.54367 0.19643 0.69739 0.55 0.62039 0.45755 0.49669 0.11346 0.0072538 0.95532 0.45926 0.88631 0.8118 0.8775 0.98303 0.30141 0.54018 0.0031721 0.37324 0.033831 0.66972 0.86286 0.052973 0.70413 0.093678 0.57986 0.80066 0.57382 7 sec 0.70459 0.80871 0.1142 0.00067011 0.53164 0.24836 0.854 0.71136 0.3544 0.66349 0.90669 0.67367 0.43157 0.94689 0.9246 0.065198 0.074455 0.20613 0.67572 0.99762 0.20473 0.046396 0.51111 0.8857 0.47806 0.38189 0.72565 0.99407 0.36281 0.31072 0.23409 0.42064 0.0042428 0.72008 0.76576 0.024889 0.73023 0.58225 0.21825 0.50776 0.18823 0.74677 0.33951 0.2703 0.01496 0.37092 0.60977 0.7039 0.88561 0.50964 0.75448 0.21237 0.89214 0.50141 0.68951 0.68366 0.84183 0.041588 0.031858 0.66375 0.50819 0.82375 0.28353 0.11989 0.31743 0.78575 0.24036 0.33977 0.22083 0.7598 0.55093 0.99211 0.92622 0.69927 0.27295 0.4956 0.17746 0.15898 0.39281 0.37092 0.88939 0.61847 0.1812 0.0034106 0.6929 0.25011 0.19874 0.10139 0.56107 0.9509 0.29539 0.16519 0.78303 0.34178 0.63941 0.064462 0.41014 0.73408 0.76571 0.55333 0.0021307 0.49607 0.40607 0.91192 0.042752 0.30906 0.96749 0.12764 0.078632 0.97054 0.015101 0.54777 0.11835 0.050927 0.56288 0.97727 0.20026 0.97479 0.80987 0.024053 0.39157 0.30464 0.77222 0.43291 0.81616 0.40998 0.70691 0.58394 0.78463 0.0050098 0.23503 0.36202 0.10495 0.91766 0.43654 0.61566 0.79816 0.26718 0.33645 0.61725 0.4823 0.78863 0.40128 0.3334 0.90482 0.61701 0.90442 0.7791 0.62591 0.092801 0.41953 0.60933 0.27933 0.1273 0.46512 0.45187 0.066104 0.37852 0.32373 0.326 0.17945 0.0038504 0.73092 0.81196 0.36828 0.6819 0.52609 0.018523 0.12855 0.51577 0.95335 0.30034 0.94467 0.88125 0.87983 0.51625 0.38224 0.098745 0.65421 0.22868 0.42658 0.17497 0.2772 0.21239 0.19676 0.97144 0.68674 0.24989 0.53443 0.71325 0.08866 0.47309 0.99622 0.95612 0.0077834 0.41283 0.062753 0.45795 0.00043228 0.9207 8 sec 0.85448 0.72561 0.12826 0.60495 0.61462 0.49889 0.86511 0.86224 0.45628 0.19897 0.76236 0.34466 0.42308 0.33695 0.75075 0.66874 0.46706 0.18882 0.82532 0.075779 0.34997 0.90483 0.25967 0.80436 0.031187 0.68806 0.78952 0.69189 0.38482 0.63844 0.31324 0.33568 0.66185 0.3422 0.88393 0.87712 0.15108 0.40833 0.89932 0.0011208 0.064264 0.17645 0.42922 0.16341 0.21802 0.40022 0.87551 0.86843 0.50623 0.61307 0.83242 0.49795 0.29051 0.034024 0.074988 0.079582 0.25742 0.84595 0.49706 0.4068 0.39911 0.09364 0.86155 0.29173 0.4239 0.56494 0.74982 0.98177 0.20548 0.055369 0.95883 0.59301 0.2395 0.88864 0.32112 0.097952 0.25721 0.046212 0.91031 0.44204 0.50787 0.35711 0.56858 0.43223 0.28831 0.58891 0.37975 0.40704 0.040929 0.91155 0.91756 0.55448 0.016547 0.033468 0.90567 0.22155 0.28889 0.52591 0.36033 0.36094 0.21242 0.79474 0.87943 0.714 0.012342 0.60948 0.082178 0.048029 0.13204 0.94768 0.92691 0.042158 0.14158 0.24436 0.34322 0.30793 0.7276 0.27594 0.11234 0.092757 0.27636 0.12489 0.20535 0.38474 0.92247 0.80143 0.89094 0.20291 0.60821 0.15062 0.91881 0.24136 0.36401 0.3922 0.11743 0.59573 0.55417 0.85567 0.13985 0.41939 0.94691 0.7654 0.75662 0.16211 0.54841 0.78244 0.63289 0.60277 0.87163 0.078417 0.70094 0.61678 0.69765 0.52675 0.27971 0.10772 0.33713 0.45656 0.45188 0.56417 0.66269 0.050764 0.89777 0.33939 0.021315 0.093812 0.21675 0.57205 0.64457 0.050087 0.99926 0.57524 0.091786 0.95709 0.22985 0.49195 0.050368 0.50763 0.90492 0.25004 0.82803 0.38597 0.90092 0.88444 0.75552 0.092624 0.028865 0.6157 0.91308 0.30643 0.077451 0.37802 0.25673 0.74794 0.17966 0.59632 0.20367 0.34605 0.51955 0.27247 9 sec 0.29605 0.52191 0.11514 0.16397 0.40504 0.88984 0.77198 0.456 0.38094 0.50547 0.034131 0.78311 0.72308 0.42619 0.37505 0.84864 0.16228 0.33326 0.31672 0.52427 0.14566 0.14933 0.18763 0.15748 0.26011 0.88276 0.16672 0.3822 0.20374 0.48802 0.79683 0.4875 0.094672 0.82328 0.35769 0.72699 0.71973 0.75809 0.049103 0.38638 0.64277 0.70163 0.73293 0.80267 0.40274 0.8105 0.34795 0.7429 0.3753 0.057734 0.86666 0.82892 0.61303 0.10413 0.49973 0.46427 0.1296 0.10003 0.27982 0.67553 0.65453 0.18657 0.13995 0.9993 0.049719 0.66285 0.67657 0.44816 0.60781 0.11593 0.49348 0.68568 0.37347 0.43172 0.047214 0.33075 0.46026 0.44124 0.18388 0.35893 0.013358 0.894 0.21825 0.84297 0.37121 0.61521 0.43188 0.39711 0.89749 0.72358 0.78792 0.49243 0.66736 0.85811 0.30608 0.77419 0.92294 0.73459 0.57454 0.69095 0.74426 0.58458 0.38893 0.39084 0.06996 0.65127 0.39467 0.14138 0.052462 0.6459 0.12559 0.4043 0.6662 0.24453 0.1663 0.0705 0.80383 0.92373 0.39472 0.24638 0.20778 0.36716 0.97894 0.0089777 0.63088 0.81616 0.94486 0.25996 0.12963 0.044799 0.33616 0.9428 0.83352 0.52 0.2557 0.085757 0.24852 0.8099 0.33143 0.18353 0.94722 0.60352 0.12438 0.27991 0.10879 0.81428 0.62909 0.69602 0.68311 0.41535 0.049298 0.3338 0.99168 0.16546 0.9768 0.14028 0.77351 0.19846 0.33255 0.58265 0.52924 0.72206 0.4883 0.90214 0.26985 0.61749 0.11682 0.29139 0.81476 0.36747 0.68655 0.76005 0.8516 0.77354 0.57986 0.58418 0.78045 0.89741 0.73462 0.85625 0.34139 0.69092 0.40442 0.68266 0.74542 0.13089 0.21801 0.50803 0.77535 0.93026 0.58852 0.47426 0.34187 0.83807 0.47114 0.44284 0.97609 0.21284 0.31844 0.87509 10 sec 0.36026 0.21088 0.19371 0.37446 0.24911 0.07508 0.42465 0.31032 0.30997 0.32489 0.69324 0.42937 0.61131 0.086881 0.34761 0.18076 0.16817 0.2086 0.80237 0.69454 0.3432 0.53458 0.072994 0.26203 0.054541 0.42935 0.63286 0.23213 0.82388 0.14671 0.24797 0.46014 0.59757 0.74939 0.72697 0.1363 0.37296 0.23132 0.66959 0.96878 0.42592 0.89487 0.14176 0.32722 0.19907 0.35332 0.061304 0.57417 0.058399 0.1201 0.6037 0.20131 0.47945 0.20311 0.57991 0.14113 0.43758 0.45192 0.53445 0.026624 0.43113 0.57766 0.62903 0.12922 0.22203 0.91524 0.88544 0.22827 0.94686 0.39284 0.52735 0.401 0.86164 0.56135 0.26433 0.11035 0.23225 0.91822 0.078944 0.26931 0.18351 0.39161 0.10163 0.18123 0.25741 0.68711 0.22542 0.64098 0.2602 0.50776 0.022644 0.97314 0.77592 0.32094 0.44023 0.73894 0.63278 0.61257 0.24324 0.51636 0.85364 0.3851 0.6277 0.73219 0.48427 0.57692 0.929 0.6391 0.58772 0.36521 0.88979 0.35798 0.1172 0.93193 0.20405 0.57767 0.14336 0.57046 0.7633 0.67718 0.21616 0.23301 0.46814 0.59079 0.57957 0.9238 0.29614 0.12052 0.93421 0.62143 0.50146 0.097661 0.21318 0.63005 0.57892 0.6162 0.74692 0.69812 0.64312 0.51532 0.16469 0.21839 0.74316 0.60928 0.53829 0.40177 0.60839 0.56271 0.71577 0.58445 0.60069 0.60621 0.021241 0.85444 0.23855 0.95384 0.12903 0.32957 0.044519 0.63492 0.071673 0.32061 0.062208 0.3422 0.69048 0.6491 0.82957 0.54045 0.23194 0.52451 0.42033 0.39761 0.0090527 0.45648 0.26989 0.1878 0.62936 0.15202 0.72393 0.073533 0.71734 0.4543 0.81266 0.703 0.62227 0.90515 0.34187 0.20132 0.17865 0.71814 0.020325 0.66517 0.81526 0.092489 0.96065 0.3961 0.97778 0.023977 0.038637 0.08641
Hope this helps!
Raghava
  1 个评论
Walter Roberson
Walter Roberson 2024-8-2
This is not what is being asked for. The user asked how to group 200 consecutive rows of data into a single event -- to get timetable entries where the individual rows in the timetable are 200 x 1 each.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by