Gradient computation
1 回表示 (過去 30 日間)
古いコメントを表示
x =90 91 92 93 94 95 96 97 98 99 100
y=54 55 54 54 57 57 63 56 57 56 56
am trying to compute the gradient of the above in matlab..any idea?
Comment on this Answer
0 件のコメント
採用された回答
David Young
2012 年 1 月 21 日
You could use gradient(y), provided that it's always the case that x increases linearly, as in your example.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!