determing file size
14 ビュー (過去 30 日間)
古いコメントを表示
I have images in two folders,in e drive,one folder consists of normal images ,and other compressed images
image(foldername)consists of original images
image1(foldername)consists of compressed folder
i want to calculate the size of each folder and compression ratio,please help
0 件のコメント
採用された回答
Jonathan Sullivan
2012 年 3 月 2 日
im1_stats = dir(filename_image1);
im2_stats = dir(filename_image2);
ratio = im1_stats.bytes./im2_stats.bytes
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!