I am trying to plot a CDF for my data, but I get the following error message:
Error using cdf (line 69) Not enough input arguments
My code:
data =cell(1,5);
for j=1:length(container)-7
data{j} = some_values;
cdfplot(data)
So data is a 1x5 cell
while inside of it, the values are the following
1x14600double
, 1x260double
, 1x2222double
, 1x3000double
, 1x72double
I am expecting a separate line for each of the double arrays i.e. my cdf figure to have 5 lines. But, the error message confuses me, since I definitely have passed data. Any ideas?
Edited: ok, I have misswritten instead of cdfplot(), I had cdf()... the problem stays the same