Hi! I'm trying to apply weibull parameter estimate to every coloumn except for the first one i have on a table. Am I using the syntax correctly?
TtrnPosArray = table2array(TtrnPos);
C = num2cell(TtrnPosArray,1)
fitTableWbl = cellfun(@wblfit, C(:,2:171))
Thanks.

답변 (1개)

Divya Gaddipati
Divya Gaddipati 2020년 11월 2일

0 개 추천

The input to wblfit should be a vector containing only positive values, as the error suggests.
Make sure your TtrnPosArray contains only positive values. You could remove/replace the columns which consist of non-positive numbers.

카테고리

도움말 센터File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

질문:

2020년 10월 28일

답변:

2020년 11월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by