I have attached three samples of my data. Example 1 should the output of my first function.
Can you please help me how to write this?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ara
il 28 Lug 2014
Risposto: Michael Haderlein
il 29 Lug 2014
Hi Everyone,
I would like to have a matrix containing satellites tracked by receivers. So, the first Nsat(r) elements in the rth column correspond to the satellite tracked by the rth receiver.
Can you please help me how to write it?
Thank you,
Risposta accettata
Michael Haderlein
il 29 Lug 2014
From your three examples I see that the first two columns of amtab are:
>> c1=fix((0:numel(sat)-1)/(size(sat,1)))'+1;
>> am=[c1(sat(:)~=0),sat(sat(:)~=0)]
I cannot say anything about the third column as I don't understand its meaning.
0 Commenti
Più risposte (1)
Michael Haderlein
il 28 Lug 2014
Your question is very difficult to understand as you give 0 details. So I'm just guessing you have some function which gives you the satellites of a specific receiver. Then it could read like
for cnt=1:length(receivers)
temp_sat=getsatellites(receivers(cnt));
sat(1:length(temp_sat),cnt)=temp_sat;
end
For your future questions, please follow this guideline (<http://www.mathworks.de/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer)>.
2 Commenti
Michael Haderlein
il 28 Lug 2014
I have no idea about this S-basis thing and I don't understand what you mean with ambiguity. Please provide an example which is clear even for people who don't work with satellites. Or, even better, check if the function "unique" and/or the related ones can help you.
Vedere anche
Categorie
Scopri di più su Scenario Generation and Visualization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!