MATLAB warning with Trapz

7 vues (au cours des 30 derniers jours)
keerthi appala
keerthi appala le 5 Sep 2020
Commenté : Star Strider le 5 Sep 2020
hi i have used the following code
norm_ms_all = ms' / trapz(trapz(ms').
Matlab has issued a warning "Instead of using transpose ('), consider using a different DIMENSION input argument to TRAPZ".
How to correct this?
Thanks in advance

Réponses (1)

Star Strider
Star Strider le 5 Sep 2020
The dim (dimension) argument is the last argumen to trapz. See Integrate Matrix with Nonuniform Spacing for an illustration. .
  2 commentaires
keerthi appala
keerthi appala le 5 Sep 2020
Thank you.I'll check the link
Star Strider
Star Strider le 5 Sep 2020
My pleasure!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Numerical Integration and Differentiation 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!

Translated by