-
Notifications
You must be signed in to change notification settings - Fork 1
/
I_Cby_frac_4.m
37 lines (33 loc) · 1.07 KB
/
I_Cby_frac_4.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function out=I_Cby_frac_4(N,r,u_)
%
%
% Overview
% This function returns an operational matrix of Integral of Chebyshev(4th) functions.
%
%out = I_Cby_frac_4(N,r,u_)
%
%inputs:
%------------------------------------------------------------
%| N : integer : From Chebyshev(4th) sentence 0 |
%| to Chebyshev(4th) sentence N |
%| r : double : Order of integral |
%| u_ : symbolic function: Shifting parameter |
%------------------------------------------------------------
%
%Output:
%---------------------------------------------------------------
%| out : [(N+1)x(N+1)] double : Operational Integral Chebyshev |
%---------------------------------------------------------------
%
%
% Caution!:This function works for returning the integral
% operational matrix for interval [0,b].
%
alpha_=0.5;
beta_=-0.5;
multiplier=zeros(1,N+1);
for i=0:N
multiplier(i+1)=2^(2*i)/nchoosek(2*i,i);
end% for
out=diag(1./multiplier)*I_jacobi_frac(N,alpha_,beta_,r,u_)*diag(multiplier);
end