do we have relation between LommelS2 and MeijerG in matlab?

8 views (last 30 days)
Do we have matlab relation between two special function "LommelS2 and MeijerG"?
How to convert LommelS2 code into MeijerG?
Please help !!

Answers (2)

Walter Roberson
Walter Roberson on 25 Jan 2021
Edited: Walter Roberson on 26 Jan 2021
and scroll down to near the bottom to see the conversions.
  19 Comments
Walter Roberson
Walter Roberson on 5 Apr 2021
I have corrected the ABC and regenerated the result. I had accidentally put in 1 - 1- alpha instead of 1 - alpha

Sign in to comment.


gourav pandey
gourav pandey on 5 Apr 2021
Edited: gourav pandey on 5 Apr 2021
Walter Roberson, thanks for your reply..can you help me here also
clc;
close;
clear all;
n=5;
h=@(omega1) 0;
for m= 0:1:n
mu1c = -(1./2).*n-(1./2).*m+3./2 ;
nu1c = (1./2).*n+(1./2).*m+1./2 ;
Lommels =@(omega1) meijerG([(1./2).*mu1c+1./2], [], [(1./2).*mu1c+1./2, (1./2).*nu1c, -(1./2).*nu1c], [], -(1./4).*omega1.^2).*2^mu1c./(2.*gamma(-(1./2).*mu1c+(1./2).*nu1c+1./2).*gamma(-(1./2).*mu1c-(1./2).*nu1c+1./2))
end
Lommels(1)
Lommels(10)
Lommels(99)
Lommels(100)
Lommels(500)
Lommels(1000)
%% Why m i getting sudden blow in value of 'Lommels' when omega1 veluse more than 120 or 150... it should decay as omega1 increase.
Thank you in advance!!
  1 Comment
Walter Roberson
Walter Roberson on 5 Apr 2021
You are overwriting Lommels within the loop, so the final result will reflect only m == n

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!