delete or remove some value from vector
6 views (last 30 days)
Show older comments
Takim Mustakim
on 22 Apr 2022
Commented: Takim Mustakim
on 23 Apr 2022
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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!