How to store data in an excel table

1 view (last 30 days)
Jan Glinka
Jan Glinka on 14 Dec 2019
Answered: Image Analyst on 14 Dec 2019
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

Answers (1)

Image Analyst
Image Analyst on 14 Dec 2019
Use xlswrite()
data = [max_value_derivative, t_max];
xlswrite(filename, data, 'A1');

Community Treasure Hunt

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

Start Hunting!