How can I compare variables in two different scripts and two different data sets?

23 ビュー (過去 30 日間)
Mirella Shaban
Mirella Shaban 2019 年 10 月 11 日
回答済み: Sulaymon Eshkabilov 2019 年 10 月 11 日
I am very new to Matlab and am struggling in trying to compare two different data sets in matlab that are called by two different codes. I am trying to compare my data to data located in the World Ocean Atlas via a script in World Ocean Database. Can someone please explain how I can go about calling one from the other?

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019 年 10 月 11 日
Hi,
In general, there are several steps you'd need to perform to compare the data from different data files.
  1. Read/import data from data source files into MATLAB, using e.g, xlsread() if your data in .xls, csvread(), dlmread(), uiimport(), or fopen()+fscanf()+fclose(), etc options
  2. Tabulate/augment or plot the imported data in order to be able to compare them
  3. etc.
Good luck.

カテゴリ

Help Center および File ExchangeOceanography and Hydrology についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by