フィルターのクリア

array values are overwritten

1 回表示 (過去 30 日間)
swati mane
swati mane 2019 年 7 月 19 日
コメント済み: swati mane 2019 年 7 月 24 日
Hello,
I am working with for loop in my code. I am getting the answer but after 8 steps i.e. from the step 9, the value of array is overwritten.
means The value I was getting at column 2 in the first 8 steps , I am getting that value in the column 5 when i start with step 9.
please help me for the same.
  16 件のコメント
swati mane
swati mane 2019 年 7 月 19 日
@joel handy
Thanks a ton ...its working perfectly.
Thanks
swati mane
swati mane 2019 年 7 月 24 日
Hello sir..
Now i have frames named as 000 to 505 .
I want to take these frames as 000 to 025 then 026 to 050 then 051 to 075 and so on.
Per second i should have 25 frames. Total time is 20 seconds. Thanks in advance.

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

採用された回答

Jan
Jan 2019 年 7 月 19 日
Prefer file names including leading zeros: image0001.jpg, image 0002.jpg etc. Then the numeical order equals the alphabetical order.
If you have the less useful naming scheme already, use https://www.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort to get it in order.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by