フィルターのクリア

How to multiply a number of files by a single file ??

1 回表示 (過去 30 日間)
Chris Martin
Chris Martin 2016 年 1 月 11 日
コメント済み: Guillaume 2016 年 1 月 13 日
Dear All,
I am having monthly data files(2002-2012) with three columns lat lon and value. I need to multiply these monthly data files by a scaling factor file which also a three column file (lat lon and value).Data files need to be multiplied by values of the scaling factor file, Please help me

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 1 月 11 日
  5 件のコメント
Walter Roberson
Walter Roberson 2016 年 1 月 13 日
Does your situation match the case "If the files that you want to process are sequentially numbered", or does your situation match the case "f you want to process all the files whose name matches a pattern in a directory" ? When you visited that link I posted about How can I process a sequence of files, do the three sample blocks of code there show up empty?
Guillaume
Guillaume 2016 年 1 月 13 日
Maybe, it would be better to turn the question around and ask Chris, which step is causing him problem:
  1. read the scaling file
  2. get or create the list of files to process
  3. iterate over each file and
  4. read the file
  5. multiply by the scaling file
  6. write to a new file

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

カテゴリ

Help Center および File ExchangeLarge Files and Big Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by