JanniS
Newbie level 6
- Joined
- Oct 22, 2012
- Messages
- 11
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,373
Hello
I am working on a ocean script for a monte carlo simulation.
I am simulating an comparator and the output is either high or low. I want to get the hisogram data from the monte carlo simulation in a vector to wrtie to a database. Everything works, but not the histogram data.
Any suggestions?
Thanks
Janni
The monte carlo part of the script looks like this:
I am working on a ocean script for a monte carlo simulation.
I am simulating an comparator and the output is either high or low. I want to get the hisogram data from the monte carlo simulation in a vector to wrtie to a database. Everything works, but not the histogram data.
Any suggestions?
Thanks
Janni
The monte carlo part of the script looks like this:
Code:
declare( out[2])
monteCarlo( ?numIters "1" ?startIter "1"
?analysisVariation 'mismatch ?sweptParam "None"
?sweptParamVals "27" ?saveData t
?nomRun "yes" ?append nil
?saveProcessParams t
)
monteSelectResults()
monteExpr( "yy" "value(VT(\"/vout\") 1.3e-07)" )
monteRun()
out = histogram("yy" ?numBins "2" ?density t)
Last edited by a moderator: