vector input to wrldmagm
2 views (last 30 days)
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 ))