Array indices must be positive integers or logical values.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Rodrigo Pena
am 1 Dez. 2020
Kommentiert: Rodrigo Pena
am 1 Dez. 2020
Hello all, how are you?
I am trying to write a program to calculate some aerolasticity stuff, here is what I have so far:
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 1 Dez. 2020
Bearbeitet: Ameer Hamza
am 1 Dez. 2020
I am fine, hope you are fine too!
In MATLAB, there is no implicit multiplication. In the line
f22 = ......
There is a missing multiplication operator after 'a'. It should be like this
8*a*(1i ...
%^ this is missing
Also, it is better to write your code in a MATLAB script or function: https://www.mathworks.com/help/matlab/matlab_prog/scripts-and-functions.html. MATLAB gives much clear error message which makes it easy to debug the code.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!