フィルターのクリア

Can you explain this line of code?

1 回表示 (過去 30 日間)
Mohammad Wajih
Mohammad Wajih 2015 年 1 月 2 日
編集済み: Mohammad Wajih 2015 年 11 月 13 日
Hello,
Do you understand this line of code?
% Read Data
[dataBx, dataBy, dataBz]= ReadData(infoFile, gemFile, dataFileBxr, dataFileBxi, dataFileByr, dataFileByi,dataFileBzr, dataFileBzi);
x = abs(dataBx);
y = abs(dataBy);
z = abs(dataBz);
If yes, then please explain this to me. Any kind of help is appreciated.

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 2 日
The code won't run because you're trying to use dataBx before it has been defined. You'd need to pass it in. Why don't you ask the author what it does, or ask him to put in more comments or try to do that yourself. It sort of looks like it tries to take the mean and stddev over an elliptical area but I don't really know what dataBx, etc. are.
  1 件のコメント
Image Analyst
Image Analyst 2015 年 1 月 2 日
Some lines are displaying values, some lines are getting data from a file, some lines are getting bits from a number, some lines are getting the max and min values of arrays. I think if you just go down a line at a time you will probably understand what each line does. Sorry but I don't have time to put a comment in front of each line of code or small group of code lines for you. As far as the overall, big picture, I think you already know more about it than me.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by