Can't understand you I'm getting this error when using a for loop to add two arrays
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anacleto Capetta
le 16 Fév 2023
Réponse apportée : Anacleto Capetta
le 16 Fév 2023
1 commentaire
Cameron
le 16 Fév 2023
1) We don't know what the function get_AtmosProperties does.
2) It would help also if you posted your code instead of a screenshot of it.
3) Can you attach a .mat file?
Réponse acceptée
Plus de réponses (1)
Kevin Holly
le 16 Fév 2023
One of you variables (P_Pa, p_Pa, or q_Pa) only has one row. So, when you iterate with the for loop, you get an error when i = 2. Check the size of your variables.
0 commentaires
Voir également
Catégories
En savoir plus sur Logical 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!