Matrix dimension problem with integrals
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Movileanu Vladislav
le 7 Oct 2017
Réponse apportée : Star Strider
le 7 Oct 2017
Matrix dimensions must agree. Can't figure out what's the prob. Tried a lot,but nothing helped.
0 commentaires
Réponse acceptée
Star Strider
le 7 Oct 2017
The easiest way to solve that is to use the linspace function to define ‘x’ and ‘y’. It allows you to specify the length of the vector, varying the increment to accomodate that. (The colon operator fixes the increment and lets the length vary.)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!