Export Data, take derivative, and plot

2 views (last 30 days)
Rylie Mitchell
Rylie Mitchell on 17 Feb 2021
Answered: Gaurav Garg on 22 Feb 2021
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!

Answers (1)

Gaurav Garg
Gaurav Garg on 22 Feb 2021
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.

Categories

Find more on Graphics Objects 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!