How to get gradient data from non-linear 2D plot

조회 수: 2 (최근 30일)
ashley scarlett
ashley scarlett 2023년 3월 20일
답변: Matt J 2023년 3월 20일
I have a non-linear 2D plot and want to find the gradient between two values of y (i.e. not the start and end point of the plot).
Can you calculate this for a number of datasets and export results as a .txt file?

답변 (1개)

Matt J
Matt J 2023년 3월 20일
Yes, you can use the diff or gradient command.

카테고리

Help CenterFile Exchange에서 Spline Postprocessing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by