I have a wblfit error

Hi,
I have an error with my wblfit. I am applying it to some data and I get the error: "X must be a vector containing positive values." I know that the data is a vector (I checked with isvector) and that all the values are greater than zero (I searched for values less than or equal to zero and got none). Now I really don't understand this error.
Thanks
Adam

 채택된 답변

Tom Lane
Tom Lane 2013년 6월 9일

0 개 추천

Nor do I understand it. But if I look inside wblfit I see it displays an error message if either of these is true:
if ~isvector(x)
% or
elseif any(x <= 0)
Can you double-check those conditions on your data?

댓글 수: 1

Adam
Adam 2013년 6월 11일
Hi Tom,
Thanks. I noticed this too and did a quick check, but didn't get any zero values. However when I checked again there were indeed zeros in the data so problem solved.
Thanks,
Adam

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

질문:

2013년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by