Info
This question is closed. Reopen it to edit or answer.
What is the best syntax to use for dVph/dλ?
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Walter Roberson
on 18 Oct 2019
No, if you are working numerically use gradient()
If you are working symbolically then diff(Vph(lambda), lambda)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!