vector input to wrldmagm
4 ビュー (過去 30 日間)
古いコメントを表示
Oday Shahadh
2020 年 12 月 22 日
回答済み: Oday Shahadh
2020 年 12 月 22 日
Hi All,
HI I am trying to model the earth magnetic field of a stellite orbit, for that I have all input values for the (heigh, Long, Lat ) as a vector with (9249 1) size,
but when trying to run I have this error
Operands to the || and && operators must be convertible to logical scalar values.
Error in wrldmagm (line 144)
if ((nargin < 5) && ( dt < 0.0 && dt >= -5.0 ))
pls help
0 件のコメント
採用された回答
Asad (Mehrzad) Khoddam
2020 年 12 月 22 日
The function only accepts scalar values not vectors. You may use a loop to extract the magnetic field for every element of your data.
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Environment についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!