- This topic has 45 replies, 10 voices, and was last updated 7 years, 1 month ago by
GopiKrishna S.
-
AuthorPosts
-
-
April 12, 2016 at 4:40 pm #36496
Remo De Suza
ParticipantHi 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 #36531
Remo De Suza
ParticipantHi All.
Please can someone provide me with the matlab code.Regards
Remo -
April 13, 2016 at 2:36 am #36532
Remo De Suza
ParticipantFor any of the above channel models. I would appreciate that. Thanking you!
-
April 13, 2016 at 2:58 am #36534
SAHIL SINGH
ParticipantHi 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 #36537
SAHIL SINGH
ParticipantHi Remo,
Do let me know if it was useful…
All the bestRegards
Sahil Singh -
April 13, 2016 at 4:02 am #36543
Remo De Suza
ParticipantHi 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 #36546
SAHIL SINGH
ParticipantHi Remo,
Well I hope you get your query resolved…
All the bestRegards
Sahil Singh -
April 13, 2016 at 5:54 am #36549
Remo De Suza
ParticipantHopefully.
Anyway Thanks Sahil for showing so much concern.
Regards
Remo -
April 13, 2016 at 6:13 am #36551
Rajguru M. Mohan
ParticipantHi 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 #36571
Remo De Suza
ParticipantHello 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 #36552
Rajguru M. Mohan
ParticipantHi ,
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 #36816
nagesh kuknoor
ParticipantHi Rajguru,
Can we directly make use of matlab code in optisystem?
Regards
-
April 15, 2016 at 12:21 pm #36915
Domail Singh
ParticipantHello 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 #37250
nagesh kuknoor
ParticipantHi 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 #37549
Domail Singh
ParticipantHello Nagesh
You are welcome. I am glad that it helped.With Regards
Domail -
April 16, 2016 at 5:24 am #37151
Remo De Suza
ParticipantHello 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 #37251
nagesh kuknoor
ParticipantHi Remo,
Thanks Remo for the help. It was very helpful. Thanks again.Regards
-
April 16, 2016 at 3:03 pm #37263
Remo De Suza
ParticipantHi Nagesh,
You are welcome
Regards
Remo
-
-
April 15, 2016 at 12:18 pm #36914
Domail Singh
ParticipantHello Rajguru,
Are these codes readily available ? I wonder.
-
April 16, 2016 at 5:26 am #37153
Remo De Suza
ParticipantHello 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 #37550
Domail Singh
ParticipantHi Remo
Thank you for that. I got the point. It was a bit confusing.Regards
Domail
-
-
-
April 13, 2016 at 6:20 am #36553
Rajguru M. Mohan
ParticipantHi 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 #37154
Remo De Suza
ParticipantHello 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 #36560
Ankita Sharma
ParticipantHi 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 #37156
Remo De Suza
ParticipantThank you Ankita for the kind words. I appreciate your concern.
Regards
Remo De’Suza
-
-
April 13, 2016 at 7:38 am #36561
SAHIL SINGH
ParticipantHi Rajguru,
Thanks for the code.. I hope this will be of help to remo…
Regards
Sahil Singh -
April 13, 2016 at 8:05 am #36572
Remo De Suza
ParticipantThank you all for your help. I appreciate your efforts especially Rajguru Mohan.
Regards
Remo -
April 13, 2016 at 10:22 am #36579
prakash jat
Participanthello friends
i will post all of the matlab code some time later( 1 or 2 days)-
April 13, 2016 at 10:33 am #36584
Remo De Suza
ParticipantHello 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 #36580
prakash jat
Participantif someone do interfacing with optisytem then please post again so that everyone can get help
-
April 13, 2016 at 10:25 am #36582
prakash jat
Participanthello 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 #36589
prakash jat
Participanthi 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 #36607
Remo De Suza
ParticipantHello 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 #36590
prakash jat
Participanti 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 #36599
prakash jat
Participantmatlab 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 #36635
prakash jat
Participantgamma gamma channel is used by optisystem
-
April 14, 2016 at 11:58 am #36714
Remo De Suza
ParticipantHi 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 #37155
Ankita Sharma
ParticipantHi Prakash jat,
Thanks for the code…
Regards
-
April 16, 2016 at 5:33 am #37158
Remo De Suza
ParticipantThank you All for the help and i appreciate it.
-
April 16, 2016 at 2:31 pm #37252
nagesh kuknoor
ParticipantHi All,
very helpful and constructive discussion indeed. All the best Remo!
Regards -
April 16, 2016 at 3:04 pm #37264
Remo De Suza
ParticipantHi Nagesh,
Thank you for your concern.Regards
Remo -
April 16, 2016 at 3:33 pm #37272
Ankita Sharma
ParticipantHi remo,
Did the code work properly ?
Regards
Ankita -
April 16, 2016 at 4:51 pm #37310
Manoj Kumar
ParticipantHi Remo,
Hope you got the desired information you were looking for…
Regards
-
April 17, 2016 at 2:25 pm #37551
Domail Singh
ParticipantHi Remo
Hope it all helped you. Thank you.
Regards -
April 17, 2016 at 6:15 pm #37716
Rahul Tiwari
ParticipantHi all,
A very meaningful discussion… Hope remo got the desired help…
Regards
Rahul Tiwari -
January 8, 2018 at 11:54 pm #47328
GopiKrishna S
ParticipantDo 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.