Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Legendre Polynomials
%To view plots after 'plot' (and other plot-producing commands) this command must follow: 'print -dpng some_unique_plot_name.png;' %It exports current plot to png image which then is sent to your browser %GNU Octave 4.2.2 function l = P(n,x) l = 0.0; for k = 0:n l = l + nchoosek(n,k)*nchoosek(n+k,k)*(((x-1)/2).^k); end end x = -1:0.01:1; hold on for i = 1:5 y = P(i,x); plot(x,y,"Linewidth",3,"Color",'b'); end print -dpng saif.png;
run
|
edit
|
history
|
help
0
Delsq
test1
Krylov.m
tasksss
MATRIX MANIPULATIONS
Krylov.m
Arnoldi.m
generate dtmf signal
Runge's Phenomenon
Arnoldi.m