Undefined function 'isnan' for input arguments of type 'table'. Error in regress (line 66) wasnan = (isnan(y) | any(isnan(X),2));

12 次查看(过去 30 天)
Please help

回答(1 个)

Cris LaPierre
Cris LaPierre 2019-11-18
编辑:Cris LaPierre 2019-11-18
The problem is that isnan does not support the table data type as an input. You can check which data types are supported by looking at the input argument description in the documentation.
You can try passing in the extracted data from your table by using curly braces:
wasnan = isnan(y{:,:})

类别

Help CenterFile Exchange 中查找有关 Specialized Power Systems 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by