Error in trapz in MatLab
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I get an error "Error in trapz (line 42)
perm = [dim:max(ndims(y),dim) 1:dim-1];" for the code
J = trapz(t, y(:, 2) + y(:, 3) + y(:, 4) + y(:, 5) + K/2*u.^2);
1 commentaire
Réponses (0)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation 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!