channel model for body area network ieee 802.15.6
조회 수: 16 (최근 30일)
이전 댓글 표시
hai, i am doing work on human motion tracking using ultra wideband . Can any one help me about matlab code for channel model relating to body area networks ( i.e, ieee 802.15.6).
답변 (4개)
Ib El
2016년 7월 10일
Hi dileep narla , I am doing the same thing : WBAN UWB, can you share with us what did you do/find please !
댓글 수: 2
Leandro Ávila
2016년 8월 3일
편집: Leandro Ávila
2016년 8월 3일
Hi, I'm working with some matlab routines for a similar purpose.
and
ARAVIND M T
2017년 7월 27일
편집: Walter Roberson
2017년 7월 27일
when I tried to run the matlab code it show error as "Function definitions are not permitted in this context" .Please give me the idea to rectify the error.I will be gratefull for your act of kindness
function [h, t, n_p] = uwb_hospban_chan_CM4(num_channels, body_direction)
% Function for getting channel realizations for UWB Hospital BAN channel CM4.
% Igor Dotlic (dotlic@nict.go.jp) March 2009.
% Input variables
% num_channels - number of channel realizations
% body_direction= 1: 0 deg, 2: 90 deg, 3: 180 deg, 4: 270 deg
% Output variables
% h - comlex multipath amplitude responses
% t - times of multipath arrivals (ns)
% n_p - number of paths for each channel realization
% Fixed model parameters
L_mean = 400; % mean number of arrival paths
lambda_inv= 0.50125; % mean time between arrivals (ns)
% Model parameters that depend on body direction
if body_direction == 1
Gamma = 44.6346; % (ns)
k_abs = 5.111739;
sigma = 7.30;
elseif body_direction == 2
Gamma = 54.2868; % (ns)
k_abs = 4.348859975;
sigma = 7.08;
elseif body_direction == 3
Gamma = 53.4186; % (ns)
k_abs = 3.638084447;
sigma = 7.03;
elseif body_direction == 4
Gamma = 83.9635; % (ns)
k_abs = 3.983472211;
sigma = 7.19;
end
% Calculating number of paths
n_p = poissrnd(L_mean, 1, num_channels);
for k_chan = 1:num_channels
n_p(k_chan) = max(n_p(k_chan), 1);
end
% Maximum number of paths
n_p_max = max(n_p);
% Allocating memory for channel realizations
h = zeros(n_p_max, num_channels);
t = zeros(n_p_max, num_channels);
% Calculating path arrival times
t_dif = exprnd(lambda_inv, num_channels, n_p_max-1);
for k_chan = 1:num_channels
t(2:n_p(k_chan),k_chan) = cumsum(t_dif(k_chan, 1:n_p(k_chan)-1));
end
% Calculating path levels
for k_chan = 1:num_channels
h(1,k_chan) = exp(i*rand*2*pi)*sqrt(10^(sigma*randn/10));
% Paths 2 onwards
for k_p = 2:n_p(k_chan)
h(endk_p, k_chan) = exp(i*rand*2*pi)*...
sqrt(exp(-t(k_p,k_chan)/Gamma-k_abs)*10^(sigma*randn/10));
end
% Normalizing current PDP realization (may be commented out)
h(:,k_chan) = h(:,k_chan)/norm(h(:,k_chan));
end
댓글 수: 4
Irfan Ahmad Khan
2020년 11월 3일
Any one can provide me code of analytical model as DTMC of Wireless body area network
if possible email me at this address <irfanniazi4243@gmail.com>
Deep sandhu
2021년 3월 23일
i have resolved the problems of your code kindly contact on er.anilrawat1@gmail.com
Mekathoti Vamsi kiran
2019년 5월 30일
Help needed - MATLAB - WBAN - FUZZY LOGIC
Please anyone give me/contact(vamsinittphd@gmail.com)
I want the code for above mentioned combination to implement my researchwork
Thanking you
댓글 수: 0
ruchi chaurasia
2021년 12월 31일
needed help.i tried to run this code but error occurs .kinldy help me out to get rid of this problem.this is showing in run time.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/848990/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/848990/image.jpeg)
댓글 수: 4
Walter Roberson
2022년 1월 3일
https://stackoverflow.com/questions/43458138/ieee-802-15-6-channel?rq=1 appears to have the relevant code (I cannot test it at the moment)
참고 항목
카테고리
Help Center 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!