gradient issue for matlab
1 次查看(过去 30 天)
显示 更早的评论
Hi
I am trying to use the gradient function to have dq/dv and dv /dq . The martix has one direction is q and one is v but without titles for each one. My matrix size is 47 rows and 2 column.
0 个评论
采纳的回答
更多回答(1 个)
Image Analyst
2019-4-24
If M is your matrix, have you tried imgradientxy()?
[gx, gy] = imgradientxy(M); % Requires Image Processing Toolbox.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!