Gradient computation
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
David Young
il 21 Gen 2012
You could use gradient(y), provided that it's always the case that x increases linearly, as in your example.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Graph and Network Algorithms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!