MATLAB warning with Trapz

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

Risposte (1)

Star Strider
Star Strider il 5 Set 2020

0 voti

The dim (dimension) argument is the last argumen to trapz. See Integrate Matrix with Nonuniform Spacing for an illustration. .

2 Commenti

Thank you.I'll check the link
Star Strider
Star Strider il 5 Set 2020
My pleasure!

Accedi per commentare.

Richiesto:

il 5 Set 2020

Commentato:

il 5 Set 2020

Community Treasure Hunt

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

Start Hunting!

Translated by