I have a wblfit error
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Akzeptierte Antwort
Tom Lane
am 9 Jun. 2013
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?
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!