Hi,
Has anyone else been getting this error for StaMPS on MATLAB? The entire StaMPS process can be run using stamps(1,8)
but I cannot view or generate and plots.
I preprocessed the data using SNAP 9, I’m using StaMPS on Ubuntu 20.04, and I’m using MATLAB 2020 and MATLAB 2022. Both MATLAB versions have same errors.
Strangely, this is an old script I used a few years ago which worked fine which I have rebuilt. But now it is causing this new error in MATLAB.
>> ps_plot("w")
Check for missing argument or incorrect argument data type in call to function 'abs'.
Error in ps_plot (line 1979)
ph_disp=ph_disp./abs(ph_disp);
This error pops up even though I’ve tried different inputs for ps_plot
.
I’ve been debugging the code and I see that it cannot perform an abs
function or divide because ph_disp
is not an array or numerical value, it’s the command i put in which is v-do
which is strange. Does anyone have any idea how to resolve this?
I’m using a small test dataset to test the workflow.
Some debug outputs: