How to declare pending state in MATLAB?
2 views (last 30 days)
Show older comments
Hello all, I am having the following doubt:
Suppose there are two transmitters and three receivers. Then at beginning of every time slot the link betwwen each transmitter and each receiver is in Pending state.
My query is that how can I model the above statement related to pending state in MATLAB. For simplicity we assume total time slots as 5.
Any help in this regard will be highly appreciated.
5 Comments
Walter Roberson
on 7 Apr 2023
You cannot, not unless you use sub-timeslots and your timeslots are a few times longer than the speed of light times the transmission distance.
You just would not do this. You would establish link state first and then start time slots in which the link state is not considered to be Pending. Establishing link state for each time slot is a waste.
Exceptions:
- if the link distance is very far you would instead send multiple copies of state configuration without waiting for a reply for one. The receiver would reply multiple with a copy of the state. When the transmitter has verified the receiver has the proper configuration the transmitter would send Activate commands. Time slots would become less meaningful.
- unless, that is, your time slots are something like "2 AM sidereal time for 30 minutes" during which the receiver orients its antenna towards you, and you establish a connection link. In that kind of limited meaning of time slot, then Yes it might make sense to establish state at the beginning of each time slot.
Answers (0)
See Also
Categories
Find more on Wireless Communications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!