Add a threshold to the Lowest()?

Once again zero loop required but just few lines of array processing.

condition = C > 100;
spcomp = SparseCompress(condition, C);
	llc = Lowest(spcomp);
spexp = SparseExpand(condition, llc);

Plot( C, "Price", colorDefault, styleBar );
Plot( spexp, "llc", colorRed );

BTW read here for further help in future

3 Likes