delete or remove some value from vector
显示 更早的评论
wak(1)=poissrnd(60);
wk(1)=wak(1)
n=1;
while wk(n)<1000
n=n+1;
wak(n) = poissrnd(60);
wk(n) = wk(n-1)+wak(n)
end
how to delete the last value of "wk"
because the last value of "wk" more then 1000
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Poisson Distribution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!