How to apply if condition to change values inside a function

Hi, I am writing a code for finding user position from the given satellite ephemeris and pseudoranges
I have calcuated satellite position perfectly at every epoch and now want to calculate user position using least square algorithm.
Now when I am using least square algorithm I want the satellite position to remain the same at first 5 epochs. after the 5th epoch I want to vary the 6 keplerian elements slightly and find user position based on the altered position...
Is it possible to put an IF condition where it changes the elements inside another function?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Satellite and Orbital Mechanics에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2021년 12월 29일

편집:

2021년 12월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by