Export Data, take derivative, and plot

조회 수: 7(최근 30일)
Rylie Mitchell
Rylie Mitchell 2021년 2월 17일
답변: Gaurav Garg 2021년 2월 22일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by