Symbolic math toolbox- Jacobian of a function with respect to an other function?
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Maria Perdomo
      
 il 24 Giu 2013
  
    
    
    
    
    Commentato: Sohini Sarkar
    
 il 24 Nov 2021
            I would like to find the jacobian of:
 f=[f(x1(t)...x6(t)); ... ;f6(x1(t)...x6(t))]
with respect to:
   x(t)=[x1(t);...;x6(t)]
which function could I use?
Is it possible to differenciate a symbolic function with respect to an other symbolic function?
0 Commenti
Risposta accettata
  Walter Roberson
      
      
 il 25 Giu 2013
        No, it is not possible to differentiate with respect to a function. In a previous post several months ago I showed how that leads to a contradiction.
3 Commenti
  Frederik Rentzsch
 il 24 Nov 2021
				It seems to be possible since Release of R2021b. 
syms x1(t) x2(t) 
syms f1(x1,x2) f2(x1,x2)
f = [f1 f2];
jacobian(f,[x1 x2])
works as intended but after f1 and f2 are defined x1 and x2 are no symfun-objects anymore. Bug?
  Sohini Sarkar
    
 il 24 Nov 2021
				Also see Functional Derivative: Functional derivative (variational derivative) - MATLAB functionalDerivative (mathworks.com)
Più risposte (1)
  Alan Weiss
    
      
 il 24 Giu 2013
         doc jacobian
Alan Weiss
MATLAB mathematical toolbox documentation
0 Commenti
Vedere anche
Categorie
				Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!