Error using trapz (line 57) LENGTH(X) must equal the length of Y in dim 3.

1 Ansicht (letzte 30 Tage)
ali reza
ali reza am 16 Jul. 2019
Kommentiert: Walter Roberson am 16 Jul. 2019
Error using trapz (line 57) LENGTH(X) must equal the length of Y in dim 3.
what can i do?
  2 Kommentare
Torsten
Torsten am 16 Jul. 2019
I'd make the length of the vector X equal to the length of Y in dim 3 in the call
trapz(X,Y,3)
Walter Roberson
Walter Roberson am 16 Jul. 2019
Which MATLAB release are you using? That error message does not exist in current MATLAB, but perhaps it was rephrased quite a bit from your release.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by