Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137383 Details for
Bug 200827
Matlab 7.4.0.287 kills X windows on Open GL use
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
A script to create an animated surface in Matlab from wikipedia
gauss_fomwiki.m (text/plain), 401 bytes, created by
Christian Kotz
on 2007-11-30 10:42:19 UTC
(
hide
)
Description:
A script to create an animated surface in Matlab from wikipedia
Filename:
MIME Type:
Creator:
Christian Kotz
Created:
2007-11-30 10:42:19 UTC
Size:
401 bytes
patch
obsolete
>A = 1; >x0 = 0; y0 = 0; >for theta = 0:pi/100:pi >sigma_x = 1; >sigma_y = 2; >a = (cos(theta)/sigma_x)^2 + (sin(theta)/sigma_y)^2; >b = -sin(2*theta)/(sigma_x)^2 + sin(2*theta)/(sigma_y)^2 ; >c = (sin(theta)/sigma_x)^2 + (cos(theta)/sigma_y)^2; >[X, Y] = meshgrid(-5:.1:5, -5:.1:5); >Z = A*exp( - (a*(X-x0).^2 + b*(X-x0).*(Y-y0) + c*(Y-y0).^2)) ; >surf(X,Y,Z);shading interp;view(-36,36);axis equal;drawnow >end
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 200827
: 137383