I want to convert my experimental data to MATLAB 'loglog' scale and export them instead of plotting
4 次查看(过去 30 天)
显示 更早的评论
I want to convert my experimental data to MATLAB 'loglog' scale and export them in a matrix instead of plotting them. Anyone know how to do that? I tried to follow the loglog.m file but couldn't get the answer. As you know loglog function is different from log10(abs(x)). Thanks
0 个评论
回答(1 个)
Alex Burton
2015-4-24
编辑:Alex Burton
2015-4-24
If you want to export the data as another file type use this link: http://www.mathworks.com/help/matlab/import_export/supported-file-formats.html
When I write large amounts of data to a different file type after processing the data in matlab, I use csvwrite to export the data into a csv file format.
csvwrite(filename,M)
so for file location it will be ' c:\Users\(username)\....... ' and M will be the data that you've been plotting.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!