help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Histc under octave


From: lucas21
Subject: Re: Histc under octave
Date: Thu, 27 Apr 2017 00:12:46 -0700 (PDT)

Thanks for the answer.
I try to run the file histc.m by itself and it told me to change the content
of the program. That's why I changed it.

Here is the error that I got with the original file:

error: histc: EDGES must not be empty
error: called from
    histc at line 57 column 5
    mc3dBASF_GW2 at line 578 column 26
    MC_fluo_Main3d_BASF_GW_zemax_base_de_travail at line 301 column 194
    histc at line 57 column 5
    mc3dBASF_GW2 at line 578 column 26
    MC_fluo_Main3d_BASF_GW_zemax_base_de_travail at line 301 column 194
    mc3dBASF_GW2 at line 9 column 7
stopped in C:\Octave\OCTAVE~1.1\share\octave\4.2.1\m\statistics\base\histc.m
at line 57
57:     error ("histc: EDGES must not be empty");


I dont really understand the "EDGES" must not be empty". Am I using it
wrong?
Here is the line that use this fonction:

lambdaIdx0 = lambdaIdx(photons(:,2) == 3);
lambdaIdx0un = unique(lambdaIdx0);
MP2(lambdaIdx0un) = histc(lambdaIdx0,lambdaIdx0un);





--
View this message in context: 
http://octave.1599824.n4.nabble.com/Histc-under-octave-tp4683039p4683060.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]