MATLAB warning with Trapz

7 ビュー (過去 30 日間)
keerthi appala
keerthi appala 2020 年 9 月 5 日
コメント済み: Star Strider 2020 年 9 月 5 日
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

回答 (1 件)

Star Strider
Star Strider 2020 年 9 月 5 日
The dim (dimension) argument is the last argumen to trapz. See Integrate Matrix with Nonuniform Spacing for an illustration. .
  2 件のコメント
keerthi appala
keerthi appala 2020 年 9 月 5 日
Thank you.I'll check the link
Star Strider
Star Strider 2020 年 9 月 5 日
My pleasure!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by