Info

此问题已关闭。 请重新打开它进行编辑或回答。

What is the best syntax to use for dVph/dλ?

1 次查看(过去 30 天)
KHAN
KHAN 2019-10-18
关闭: MATLAB Answer Bot 2021-8-20
Hi All,
I have a question regarding the (dVph/dλ). Is the diff(Vph)/diff(λ) ok to get the gradient of the velocity with respect to wavelength? My idea is to find the gradient at each point in my curve. Please help me with this issue. I am waiting for your reply. Thanks.
With my best regards,
Yours,
Mohammed

回答(1 个)

Walter Roberson
Walter Roberson 2019-10-18
No, if you are working numerically use gradient()
If you are working symbolically then diff(Vph(lambda), lambda)

Community Treasure Hunt

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

Start Hunting!

Translated by