Symbolic math, differentiate an equation wrt to element in a array

1 vue (au cours des 30 derniers jours)
deltanabla
deltanabla le 22 Fév 2015
Hi folks,
I want to differentiate an equation with respect to a variable assigned in a vector.
where v is a 1*N vector, ie [x_r; y_r.....N] etc
for i=1:1:size(v,1)
SE_ans(i)= diff(SE,i)
end
I thought the above would work. Any help appreciated.

Réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by