I am having problem with plotting standard deviation. how can i solve this problem any idea?

ps_plot(‘vs’)

Calculating standard deviation of mean velocity…

4 ref PS selected

test

The logical indices in position 1 contain a true value outside of the array bounds.

Error in ps_mean_v>@(x)single(lscov(G(x,:),ph_bit(x,ix_non_nan),ifg_cov(ix_non_nan,ix_non_nan))) (line 280)

[mean_v_dist_temp,boot_ix] = bootstrp(n_boot, @(x)

single(lscov(G(x,:),ph_bit(x,ix_non_nan),ifg_cov(ix_non_nan,ix_non_nan))), [1:N]);

Error in bootstrp (line 178)

bootstat = feval(bootfun,bootargs{:});

Error in ps_mean_v (line 280)

[mean_v_dist_temp,boot_ix] = bootstrp(n_boot, @(x)

single(lscov(G(x,:),ph_bit(x,ix_non_nan),ifg_cov(ix_non_nan,ix_non_nan))), [1:N]);

Error in ps_plot (line 1835)

fig_name_tca=ps_mean_v(ifg_list,1500,value_type(4:end),use_small_baselines,aps_flag);

Caused by:

Unable to evaluate BOOTFUN with the supplied arguments.