.
Function quadgk can numerically integrate for infinity. It is Gauss-Kronrod quadrature. For example:
[q,errbnd] = quadgk(@(x)exp(-x.^2),-inf,inf,'RelTol',1e-8,'AbsTol',1e-12)
The result is 1.7725
You might be interested in this file also:
http://www.mathworks.com/matlabcentral/fileexchange/32
my function is @(x)gammainc(x,m)*(1-gammainc(kx,n) where I input the values of m, n and k. Only i have to integrate this function ranges from -infinity to +infinity w.r.t x. I am doing like your way. But I cant.
I think that your integrand is infinite, so this is first problem. Also, your statement is incorrect, should be:
@(x)gammainc(x,m).*(1-gammainc(k*x,n))
Can you paste error here?
Ok.......I tried it....Is their any alternative way...
In my opinion you can't integrate your function.
For more help, you can ask your question on the official MATLAB forum:
http://www.mathworks.com/matlabcentral/answers/
Can you paste error here? This line I cant follow you sir..
Thanks you sir...This will help in may research work...I am sending a request in facebook
" Can you paste error here? This line I cant follow you sir.. "
It is easier to help you when we can see an error message from MATLAB
I am using MATLAB in fitting a neural net to time series data. I am using nnstart command in MATLAB. I am able to fit simple NARX net to my data. But how do I predict? Is there any syntex in MATLAB?
07 August 2017 10,092 4 View
Suppose a data set has increasing trend and after removing trend by 1st difference, the ACF and PACF have no any significant correlation, then how do we determine order of ARIMA(p,d,q)?
05 June 2017 4,544 3 View
Is there any statistical test available to do this job?
11 December 2016 8,099 0 View
Suppose, in the month of January, there is no rainfall. Is it justified to take it as zero or we have to interpolate the value..
08 September 2016 5,306 7 View
I would like to understand potential safety concerns while handling SEB in the lab. Especially while working in animal house facility. Would like to know precautions for handling. Sigma MSDS...
07 August 2024 6,034 3 View
During low-temperature testing, new diffraction peaks that appear could be indicative of several phenomena. In one of our tests, we observed notable new peaks around 40° and 45° in a specific...
06 August 2024 726 3 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Some Staphylococcus aureus strains Inhibit the growth of Mycobacteria in Mueller Hinton Agar medium containing 10% OADC. Do some Staphylococcus aureus strains have in vitro antimycobacterial activity?
29 July 2024 10,023 2 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View
all math can be traversed by code? all math can be translate to code?
26 July 2024 9,530 0 View
Hello, I am a research scholar currently working on a project involving image segmentation, and I am interested in using differential evolution for this purpose . I would greatly appreciate it if...
25 July 2024 9,926 1 View
Hello!!! I want to implement the Swerling characteristics functions (CF) directly in MATLAB without using its Fourier integral pairs...the Swerling CFs are actually Laplace Transform of the signal...
23 July 2024 4,925 1 View
Hello, colleagues! There is commenting open for new upcoming edition of USP 1033. Validation target acceptance criteria is now different from what it used to be and it doesn't include Cpm....
23 July 2024 7,292 3 View
Currently I need to calculate detection probabilities (PD) from radar cross section (RCS) data. Beta distribution parameters for this RCS data are calculated and will be used in Swerling0...
22 July 2024 868 0 View