Severity: Warning
Message: fopen(/home/polpe/.phpsession/ci_sessionb301593d1b8c94aa29f3b5d905e2252f244dd5a4): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 159
Backtrace:
File: /home/polpe/public_html/application/controllers/Main.php
Line: 17
Function: library
File: /home/polpe/public_html/index.php
Line: 315
Function: require_once
TELJES MATLAB SCRIPT KIEGÉSZÍTŐ FÜGGVÉNYEKKEL
file: d2017_09_21_ccs_gyak2_eloben.m author: Peter Polcz <ppolcz@gmail.com>
Created on 2017. September 21.
┌d2017_09_21_ccs_gyak2_eloben │ - Persistence for `d2017_09_21_ccs_gyak2_eloben` reused (inherited) [run ID: 3125, 2017.09.21. Thursday, 11:59:13] │ - Script `d2017_09_21_ccs_gyak2_eloben` backuped
A = randn(3);
B = rand(3,1);
K = place(A,B,[-1+1i,-1-1i,-0.5]);
A = A - B*K;
eig(A)
x0 = [1 ; 2];
f_fh = @(t,x) A*x;
figure, hold on
for i = 1:200
[t,x] = ode45(f_fh, [0 10], randn(3,1));
plot3(x(:,1),x(:,2),x(:,3))
plot3(x(1,1),x(1,2),x(1,3),'.')
end
ans = -0.5000 + 0.0000i -1.0000 + 1.0000i -1.0000 - 1.0000i
End of the script.
└ 1.3404 [sec]