I have a excel file of single row,i want to copy it and paste it in rows below for some number of rows, so that a excel file is of many rows of same values of top original row
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
File of one row is attached here. Iwant it to be 50 rows file of same values
0 Kommentare
Antworten (1)
Jan Kudlacek
am 5 Jan. 2022
Hi Manu, try this
t = readtable('avg1.xlsx', 'ReadVariableNames', false);
t = repelem(t, 50, 1); % Fill in the rows
writetable(t, 'avg50.xlsx', 'WriteVariableNames', false)
Cheers,
Jan Kudlacek
Siehe auch
Kategorien
Mehr zu Spreadsheets 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!