Undefined function 'int' for input arguments of type 'double'.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mathew Lindley
am 22 Jan. 2018
Kommentiert: Mathew Lindley
am 28 Jan. 2018
I am trying to integrate a function of propulsive power (positive values only) with respect to time to give energy. The propulsive power is in the form of a 10321x1 double matrix. The time is to range between 0 and 1032.1 seconds. The code I am inputting is as follows:
E = integral(Px_Pos,0,1032.1)
I am greeted with the error: Undefined function 'int' for input arguments of type 'double'. Can someone please help me?
I am new to MatLab and so my apologies if this is a trivial question.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation 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!