- This topic has 45 replies, 10 voices, and was last updated 6 years, 10 months ago by GopiKrishna S.
-
AuthorPosts
-
-
April 12, 2016 at 4:40 pm #36496Remo De SuzaParticipant
Hi All.
Does somebody have MATLAB code for any of the following channel models.
1. log normal
2. gamma-gamma
3. negative exponetial
4. diffuce( indoor)
5. double genralized gamma -gammaI would appreciate your help. Looking forward for your responses. Thanking you.
Regards
Remo -
April 13, 2016 at 2:34 am #36531Remo De SuzaParticipant
Hi All.
Please can someone provide me with the matlab code.Regards
Remo -
April 13, 2016 at 2:36 am #36532Remo De SuzaParticipant
For any of the above channel models. I would appreciate that. Thanking you!
-
April 13, 2016 at 2:58 am #36534SAHIL SINGHParticipant
Hi Remo,
I think we already had a discussion on this.. I would suggest you to find it on the internet… I did try to find it out for you but i am not sure whether it will work or not.. Try the following links
https://www.eecis.udel.edu/~bohacek/Classes/SensorNets2007/propagationhomework.pdf
Hope it helpsRegards
Sahil Singh -
April 13, 2016 at 3:00 am #36537SAHIL SINGHParticipant
Hi Remo,
Do let me know if it was useful…
All the bestRegards
Sahil Singh -
April 13, 2016 at 4:02 am #36543Remo De SuzaParticipant
Hi Sahil.
I searched but did not get any substantial stuff about it. Anyone working with FSO will surely help and provide me the required help. Anyway thanks for your concern.
Regards
Remo -
April 13, 2016 at 4:48 am #36546SAHIL SINGHParticipant
Hi Remo,
Well I hope you get your query resolved…
All the bestRegards
Sahil Singh -
April 13, 2016 at 5:54 am #36549Remo De SuzaParticipant
Hopefully.
Anyway Thanks Sahil for showing so much concern.
Regards
Remo -
April 13, 2016 at 6:13 am #36551Rajguru M. MohanParticipant
Hi Remo,
Here is the MATLAB code for LOg-Normal:
x = (10:1000:125010)’;
y = lognpdf(x,log(20000),1.0);figure;
plot(x,y)
h = gca;
h.XTick = [0 30000 60000 90000 120000];
h.XTickLabel = {‘0′,’$30,000′,’$60,000’,…
‘$90,000′,’$120,000’};Check this on Matlab software.
-
April 13, 2016 at 8:03 am #36571Remo De SuzaParticipant
Hello Rajguru Mohan.
Thank you so much for the code. I was desperately looking for it.
You have posted two code. Are they different or it is the same code you have posted in two comments. Looking forward for your response. Cheers
Are you also working on FSO?Thanks and regards
Remo
-
-
April 13, 2016 at 6:16 am #36552Rajguru M. MohanParticipant
Hi ,
As we know that the exponential distribution is a special case of the gamma distribution.mu = 1:5;
y = gampdf(1,1,mu)
y =
0.3679 0.3033 0.2388 0.1947 0.1637y1 = exppdf(1,mu)
y1 =
0.3679 0.3033 0.2388 0.1947 0.1637
So, you can try this.-
April 14, 2016 at 11:45 pm #36816nagesh kuknoorParticipant
Hi Rajguru,
Can we directly make use of matlab code in optisystem?
Regards
-
April 15, 2016 at 12:21 pm #36915Domail SinghParticipant
Hello Nagesh,
We can’t directly write code in optisystem. We have to co-simulate which means write code in either Matlab or C and then interface the code. Hope i answered your query.
Thank you
Regards
Domail -
April 16, 2016 at 2:27 pm #37250nagesh kuknoorParticipant
Hi Domail,
Thank you for the information. it is really helpful. I checked the binary switch example and i got some idea.Regards
-
April 17, 2016 at 2:21 pm #37549Domail SinghParticipant
Hello Nagesh
You are welcome. I am glad that it helped.With Regards
Domail -
April 16, 2016 at 5:24 am #37151Remo De SuzaParticipant
Hello Rajguru.
Of course we can cosimulate with Matlab. Try finding out a video on youtube about it. That would help.Regards
Remo De’Suza -
April 16, 2016 at 2:29 pm #37251nagesh kuknoorParticipant
Hi Remo,
Thanks Remo for the help. It was very helpful. Thanks again.Regards
-
April 16, 2016 at 3:03 pm #37263Remo De SuzaParticipant
Hi Nagesh,
You are welcome
Regards
Remo
-
-
April 15, 2016 at 12:18 pm #36914Domail SinghParticipant
Hello Rajguru,
Are these codes readily available ? I wonder.
-
April 16, 2016 at 5:26 am #37153Remo De SuzaParticipant
Hello Domail.
It is not like that. You need to compile these codes and then interface. Hope you got my point.Regards
Remo De’Suza -
April 17, 2016 at 2:23 pm #37550Domail SinghParticipant
Hi Remo
Thank you for that. I got the point. It was a bit confusing.Regards
Domail
-
-
-
April 13, 2016 at 6:20 am #36553Rajguru M. MohanParticipant
Hi remo,
clear all
close all
% subplot (nrows,ncols,plot_number)
x=0:.1:2*pi; % x vector from 0 to 2*pi, dx = 0.1subplot(2,2,3) % plot negative exponential function
plot(x,exp(-x));Plotting Negative exponential is one most simplest one in MATLAB.
Seeking your response.-
April 16, 2016 at 5:29 am #37154Remo De SuzaParticipant
Hello Rajguru.
I appreciate you for the Help. I shall try running thhis code. Hope it works.
Regards
Remo De’Suza
-
-
April 13, 2016 at 7:35 am #36560Ankita SharmaParticipant
Hi Rajguru,
First of all welcome to the forum…Thanks for providing the code…Surely this should work in the matlab software.. I hope it helps Remo… All the best..
Regards
Ankita-
April 16, 2016 at 5:31 am #37156Remo De SuzaParticipant
Thank you Ankita for the kind words. I appreciate your concern.
Regards
Remo De’Suza
-
-
April 13, 2016 at 7:38 am #36561SAHIL SINGHParticipant
Hi Rajguru,
Thanks for the code.. I hope this will be of help to remo…
Regards
Sahil Singh -
April 13, 2016 at 8:05 am #36572Remo De SuzaParticipant
Thank you all for your help. I appreciate your efforts especially Rajguru Mohan.
Regards
Remo -
April 13, 2016 at 10:22 am #36579prakash jatParticipant
hello friends
i will post all of the matlab code some time later( 1 or 2 days)-
April 13, 2016 at 10:33 am #36584Remo De SuzaParticipant
Hello Prakash Jat.
Thank you so much for the help you have shown. I will wait it alright.
Do you work with FSO design too?Thanks & regards
Remo
-
-
April 13, 2016 at 10:24 am #36580prakash jatParticipant
if someone do interfacing with optisytem then please post again so that everyone can get help
-
April 13, 2016 at 10:25 am #36582prakash jatParticipant
hello friends
if someone do interfacing with optisystem then post it again for everyone so that everyone can get help -
April 13, 2016 at 12:13 pm #36589prakash jatParticipant
hi remo
i am really happy you are working also on FSO.
1. we can mitigate power requirement by well-developed laser type( class of laser), linewidth, as well as channel estimation , coherence width type of modulation etc.
2. again second issue is that turbulence( which is more important than attenuation ) , which can be mitigated by aperture averaging , mimo,
divergence of beam and many more…………..-
April 13, 2016 at 2:32 pm #36607Remo De SuzaParticipant
Hello Prakash.
Thank you so much buddy. I am really very very thankful to you for all the help you have provided to me.
What area are you exactly working on for FSO?
I am trying to implement some different channel model to improve the performance. Which model is Optisystem implementing when we design any FSO system?
Also what is the value of beam divergence you are taking for your design?
Looking forward for your response. Thanking you!Thanks and regards
Remo
-
-
April 13, 2016 at 12:16 pm #36590prakash jatParticipant
i am getting trouble in posting , why this is happning so i don’t know( net is fast), i replied you many time but my content is not posting well
-
April 13, 2016 at 1:45 pm #36599prakash jatParticipant
matlab code for pdf calculation of by gamma-gamma channel model
%The Gamma-gamma pdf
clear
clc
alpha=4.2;
a=alpha;
beta=1.4;
b=beta;
k=(a+b)/2;
k1=a*b;
K =2*(k1ˆk)/(gamma(a)*gamma(b));
I=0.01:0.01:5;
K1=I.ˆ(k−1);
Z=2*sqrt(k1*I);
p=K.*K1.*besselk((a−b),Z);
plot(I,p)
xlabel(‘Irradiance, I’)
ylabel(‘Gamma gamma pdf, p(I)’) -
April 14, 2016 at 2:29 am #36635prakash jatParticipant
gamma gamma channel is used by optisystem
-
April 14, 2016 at 11:58 am #36714Remo De SuzaParticipant
Hi Prakash.
I am really thankful to you. What is the source from where you read optisystem uses gamma-gamma channel model?
Looking forward for your reply.Thanks & regards
Remo -
April 16, 2016 at 5:30 am #37155Ankita SharmaParticipant
Hi Prakash jat,
Thanks for the code…
Regards
-
April 16, 2016 at 5:33 am #37158Remo De SuzaParticipant
Thank you All for the help and i appreciate it.
-
April 16, 2016 at 2:31 pm #37252nagesh kuknoorParticipant
Hi All,
very helpful and constructive discussion indeed. All the best Remo!
Regards -
April 16, 2016 at 3:04 pm #37264Remo De SuzaParticipant
Hi Nagesh,
Thank you for your concern.Regards
Remo -
April 16, 2016 at 3:33 pm #37272Ankita SharmaParticipant
Hi remo,
Did the code work properly ?
Regards
Ankita -
April 16, 2016 at 4:51 pm #37310Manoj KumarParticipant
Hi Remo,
Hope you got the desired information you were looking for…
Regards
-
April 17, 2016 at 2:25 pm #37551Domail SinghParticipant
Hi Remo
Hope it all helped you. Thank you.
Regards -
April 17, 2016 at 6:15 pm #37716Rahul TiwariParticipant
Hi all,
A very meaningful discussion… Hope remo got the desired help…
Regards
Rahul Tiwari -
January 8, 2018 at 11:54 pm #47328GopiKrishna SParticipant
Do any one has the diffuse channel model(Optisystem based matlab code)??
Thanks and Regards,
S.Gopikrishna.
-
-
AuthorPosts
- You must be logged in to reply to this topic.