Which functions require double precision

12 ビュー (過去 30 日間)
David K
David K 2017 年 4 月 18 日
コメント済み: David Karnick 2017 年 4 月 18 日
I recently got the following error:
The input signal X must be a double-precision vector.
Now, I understand the error and how to fix it, so I just left myself a note to make sure the data I load uses double precision instead of single. However, now that I'm trying to actually implement the fix, I can't recreate the error! Is there a list of functions which will give this error if not provided a double-precision vector?

採用された回答

Jan
Jan 2017 年 4 月 18 日
You can search for this string in the toolbox functions. I use the free GrepWin under Windows.
In some Matlab versions filter did not support single input.
  1 件のコメント
David K
David K 2017 年 4 月 18 日
Thanks for the tip on searching the code! I just used the native search in Explorer to get the list. The function that was causing the issue for me was `findpeaks`.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by