| Author |
Comment/Response |
Tim Kochanski
|
09/14/04 9:09pm
What about this one. "C" is just some list and "avgvol" and "stddev" are just some variables I computed. When I do this,
If[N[(c[[j + 1]] - c[[j]])/c[[j]] ] < avgvol + stddev*2, z = 0, z = 1]
I get this output
If[{0.07551} < {0.168262}, z = 0, z = 1]
I need to get rid of those {} brackets so that the IF command will work and spit out z=0 or z=1, which I plan to use later on. Any suggestions.
URL: , |
|