Filter löschen
Filter löschen

implementation of Time division multiple access in matlab

11 Ansichten (letzte 30 Tage)
Niharika Pantawane
Niharika Pantawane am 21 Mär. 2018
clc
clear all;
close all;
num_node=input('Enter number of node for network=');
No_of_time_slots=num_node;
Bandwidth=200; %Khz
time_slots_length=input('Enter the length of time slot');%seconds
Guard_interval=input('Enter the value of guard interval');
for i=1:1:No_of_time_slots
pause(time_slots_length);
a(i)=time_slots_length;
end
endclc;
This is the code i have written on my own. I need to know the corrections in it.
Regards
  7 Kommentare
Jan
Jan am 22 Mär. 2018
Bearbeitet: Jan am 22 Mär. 2018
How is the delay defined? Do you have any formula or definition?
For the implementation in Matlab, the terms "CSMA/CA" and "tdma" are confusing only. Remember, that the most readers of the forum do not work in your field of science. And for the actual code, all we need to know is the formula, which you should know, e.g. from your text book or homework question. You could search in WikiPedia also.
Momen AlManaseh
Momen AlManaseh am 7 Mai 2022
excuseme sir;
can you give me a short brief about your code, please?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu WSNs finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by