How to store data in an excel table
1 view (last 30 days)
Show older comments
Im trying to save the maximum value of the derivatve and the time in an excel table but how can i do that?
for i= 3:5
[time, voltage] = czytaj(plikidanych(i).name);
[time_filtr, voltage_filtr] = filtruj(time, voltage, 50);
derivative= dy_dx(time_filtr, voltage_filtr);
Folder = strcat("Data_play\", plikidanych(numerpliku).name);
[max_value_derivative,index]=max(derivative)
t_max = time_filtr(index)
end
0 Comments
Answers (1)
Image Analyst
on 14 Dec 2019
Use xlswrite()
data = [max_value_derivative, t_max];
xlswrite(filename, data, 'A1');
0 Comments
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!