A PHP Error was encountered

Severity: Warning

Message: fopen(/home/polpe/.phpsession/ci_session4a67e43541cdc764ead72b22cc0c9ab1bbad6396): 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

Polcz Péter honlapja

Tartalomjegyzék

Elfajzott tórusz korrigált

Teljes Matlab script kiegészítő függvényekkel.

Blazsek Martin János
File: elfajzott_torusz_korrigalt
R = 5;
a = 2;

%r = @(p,t) a*(t-pi);
r = @(p,t) (a/2).*(1-cos(t));
x = @(p,t) (R+r(p,t).*cos(p)).*cos(t);
y = @(p,t) (R+r(p,t).*cos(p)).*sin(t);
z = @(p,t) r(p,t).*sin(p);
fsurf(x,y,z, [-pi pi 0 2*pi]);
axis equal;
xlabel('x');
ylabel('y');
zlabel('z');