MATLAB warning with Trapz

8 visualizaciones (últimos 30 días)
keerthi appala
keerthi appala el 5 de Sept. de 2020
Comentada: Star Strider el 5 de Sept. de 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

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by