Download presentation
Presentation is loading. Please wait.
Published byJunior Walsh Modified over 9 years ago
1
Gauss-Seidel Jacobi Radio espectral Valor de k Gauss-Seidel vs. Jacobi
2
Gauss-Seidel Jacobi Radio espectral Valor de k Gauss-Seidel vs. Jacobi k(0)=0.8; k(N)=14; %Límites de la simulación A=[1 2 3;3 k(i) 1;3 8 8*k(i)]; %Matriz de coeficientes (3x3) B=[2;6;2]; %Vector independiente (3x1)
3
Gauss-Seidel Jacobi Radio espectral Valor de k Gauss-Seidel vs. Jacobi k(0)=1; k(N)=7; %Límites de la simulación A=[1 2*k(i) 0.3 1;3 7*k(i) 1 1;3 13 8 k(i); -1 1 -1 -4*sin(k(i))*cos(k(i))];%Matriz de coeficientes (4x4) B=[2;6;2;1];%Vector independiente (4x1)
4
x = 100*rand(1,200); y = 20*sin(x*pi/100)+0.5*x+rand(1,200)*30; plot(x,y,'o') [P2,S2] = POLYFIT(x,y,2); t=0:0.1:100; p2=P2(1)*t.^2+P2(2)*t+P2(3); hold on plot(t,p2) Ajuste de puntos con POLYFIT Ajuste lineal y cuadrático
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.