Export Data, take derivative, and plot

2 次查看(过去 30 天)
Hi, I'm just figuring out some this MatLab and have come across a difficult problem. I need to take the derivitive of the data in Int_B_dot_dS.txt, save that result in another .txt file, and then plot that derivitive and Int_E_dot_dL.txt on the same graph. I was suggested to use the Forward Difference method for the derivatives, but I'm unsure with my MatLab skills. Any help is greatly appreciated!

回答(1 个)

Gaurav Garg
Gaurav Garg 2021-2-22
Hi Rylie,
MATLAB provides documentation of all the functions present in all the toolboxes.
You can refer to this link here for code in forward difference method, link here to look on how to export data, and link here to plot.

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by