showing error by computing jacobian matrix
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm trying to create a Jacobian matrix
I have this value:
pixel=[4 5; 6 7; 8 9; 2 3]
and i want to compute the Partially derived' and i need to get 4X6 matrix.
I tried to do these commands and it doesnt work:
for i=1:length(pixel)
x=pixel(1:1:i,1)
y=pixel(1:1:i,2)
syms a0 b0 a1 a2 b1 b2
A(i)=jacobian ([a0+a1*x+a2*y, b0+b1*x+b2*y], [a0, b0, a1, a2, b1, b2])
end
The answer should be like this:
A = [1 0 4 5 0 0
0 1 0 0 6 7
1 0 8 9 0 0
0 1 0 0 2 3]
thank you about your help.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Linear Algebra 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!