フィルターのクリア

delete or remove some value from vector

4 ビュー (過去 30 日間)
Takim Mustakim
Takim Mustakim 2022 年 4 月 22 日
コメント済み: Takim Mustakim 2022 年 4 月 23 日
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

採用された回答

Sam Chak
Sam Chak 2022 年 4 月 22 日
Perhaps you can try this to see if it is deleted.
wk(end) = []
  1 件のコメント
Takim Mustakim
Takim Mustakim 2022 年 4 月 23 日
WOw , thank you brother

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by