Calculating numerically slope of a curve in a point

1 次查看(过去 30 天)
Hello. I want to find a way to calculate the slope in a curve (I want to write a function that works for every close curve like circle: x^2+y^2-1) in a point (x0,y0) without using 'sym' statement. I find diff and gradient statements but i'm new in matlab and i cant understand exactly how they work. I read that grad(F) give the gradient but F has to be a vector or matrix(?) . Please help. Thank you.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fit Postprocessing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by