Info

This question is closed. Reopen it to edit or answer.

Save function results in a vector

1 view (last 30 days)
Ainoa García
Ainoa García on 19 Sep 2017
Closed: Sabin on 30 Jan 2023
I need help with a function to calculate the SINR of a LEO link to a certain position. I explain how it should work:
1. Generate the coordinates of the satellites through a function. This function returns an array of [n_satelitesx2] where the first column is latitude and the second column is the length: [LoS1j; LaSi2]. I have this done. (I.e.
2. Calculate at an angle formed at one point on the earth for each coordinate. This I do through a function that returns the ang and the distance of the satellite to the point of the Earth, that is, two values, as a function of LoS and LaS. The value of the distance I do not need in this new function.
3. Compare the value of ang. If ang <10, the coordinates are good and I have to calculate the signal strength for those coordinates.
4. Add all the signal power values of the previous coordinates.
The specifications I have made are simply to clarify the problem as they do not interfere with the development of loops.
I hope you can help me
  2 Comments
Stephen23
Stephen23 on 19 Sep 2017
@Ainoa Garcia: what is your question for us?
Jan
Jan on 19 Sep 2017
Of course we can help you. Note that terms like "SINR" and "LEO" are not useful in the description of a problem: Only a very small number of users will know these expressions and for the solution they do not matter at all: For Matlab they will be just numbers.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!