inline matrix n x n input
Afficher commentaires plus anciens
hi guys I'm writing a program that uses the jacobian of a matrix, but whenever I input it using "inline" command it does not work. can someone help?
ex: i want to input the 2 by 2 matrix [2*x1 x2; 1.5*x3 x4]
but if i use f = inline('[2*x1 x2; 1.5*x3 x4]'); it gives me an error.
and if i use f = inline('2*x1 x2; 1.5*x3 x4'); then it's not a 2 by 2 matrix
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Function Creation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!