フィルターのクリア

check for missing argument or incorrect argument data type in call to function 'isnan'.

3 ビュー (過去 30 日間)
CAROLYN KOCHEK
CAROLYN KOCHEK 2020 年 11 月 27 日
回答済み: Shubham Khatri 2020 年 12 月 7 日
I am trying to use ttest2 on two matrices.
Each matrix is consists of an amount of 1x34 doubles.
The first is GrayVolRH_LOW and the second is GrayVolLH_HIGH.
The code I am using is:
[~,pval(GrayVol_rh)] = ttest2(GrayVolRH_LOW, GrayVolLH_HIGH, 'Alpha', 0.01);
But, when I run it, it yields this error:
Check for missing argument or incorrect argument data type in call to function 'isnan'.
Error in ttest2 (line 159)
xnans = isnan(x);
I dont know how to change how I am asking for a ttest2/what I am doing wrong. Any help would be appreciated!

回答 (1 件)

Shubham Khatri
Shubham Khatri 2020 年 12 月 7 日
Hello,
Please take a look at this documentation link for more information on ttest2. Also, please go through this answer.
Hope it helps

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by