Does anyone know where I can find a working waterfall plot function?
I found one in the DAFX (ed. Zölzer, Wiley 2002) book, but I can’t for the life of me get it to work. It’s written for MatLab, so I guess there are some differences.
I get the following error:
error: value on right hand side of assignment is undefined
error: evaluating assignment _expression_ near line 46, column 4
Line 46 is:
p=plot3(x(1:N/2), y(1:N/2), spek(1:N/2), "k");
All the variables are defined and populated, which doesn’t preclude an undefined value coming out in the wash: but I can’t see any error in the _expression_. I need a hand from someone more experienced, please!