File:Extreme points illustration.png
Wikimedia Commons, 자유로운 미디어 저장소
둘러보기로 이동
검색으로 이동
Extreme_points_illustration.png (427 × 396 픽셀, 파일 크기: 10 KB, MIME 종류: image/png)
파일 정보
구조화된 데이터
캡션
파일 설명[편집]
Maksim 사용자가 en.wikipedia에서 공용으로 옮겨왔습니다.
The original description page was here. All following user names refer to en.wikipedia.
이 그림은 벡터 그래픽 버전(SVG)이 있습니다. 래스터(비트맵) 그림 대신 벡터 그래픽 그림을 사용하는 것이 좋습니다.
File:Extreme points illustration.png → File:Extreme points.svg
|
라이선스[편집]
Public domainPublic domainfalsefalse |
나는 이 작품의 저작권자로서, 이 작품을 퍼블릭 도메인으로 모두에게 공개합니다. 이 공개 선언은 전 세계적으로 유효합니다. 만약 저작권의 포기가 법률적으로 가능하지 않은 경우, 나는 이 작품을 법적으로 허용되는 한도 내에서 누구나 자유롭게 어떤 목적으로도 제한없이 사용할 수 있도록 허용합니다. |
Source code in MATLAB[편집]
function main()
clf; hold on; axis equal; axis off; % prepare the screen
linewidth=3; i=sqrt(-1); N=50; height=0.3; V=[]; M=[]; % initialize variables
white=0.99*[1, 1, 1]; red=[1, 0, 0]; lightblue=[135 206 250]/256;
Z=[0, 1, 0.5+i*sqrt(3)/2.0]; L=length(Z);
[V, M]=corner (N, V, M, Z(L), Z(1), Z(2), height);
for k=2:(L-1)
[V, M]=corner (N, V, M, Z(k-1), Z(k), Z(k+1), height);
end
[V, M]=corner (N, V, M, Z(L-1), Z(L), Z(1), height);
H=fill(real(V), imag(V), lightblue); set(H, 'LineWidth', linewidth/2, 'EdgeColor', lightblue)
for k=1:L
W=M(k, :);
plot(W, 'color', red, 'linewidth', linewidth)
end
% force the window to be a bit bigger than the picture
Winxmin=min(real(V)); Winxmax=max(real(V));
Winymin=min(imag(V)); Winymax=max(imag(V));
bd=0.1;
plot(Winxmin-bd, Winymin-bd, 'color', white);
plot(Winxmax+bd, Winymax+bd, 'color', white);
saveas(gcf, 'Extreme_points_illustration.eps', 'psc2')
% make a rounded corner at b with edges going towards a and c (all complex numbers)
function [V, M]=corner (N, V, M, a, b, c, height)
i=sqrt(-1);
v=-i*height*(b-a)/abs(b-a); w=-i*height*(c-b)/abs(c-b);
theta1=atan2(imag(v), real(v)); theta2=theta1+atan2(imag(w/v), real(w/v));
Theta=linspace(theta1, theta2, N);
C=b+height*exp(i*Theta);
M=[M', C']'; V=[V, C];
date/time | username | edit summary |
---|---|---|
06:32, 21 November 2005 | en:User:Oleg Alexandrov | (<span class="autocomment"><a href="/wiki/Image:Extreme_points_illustration.png#Source_code_in_MATLAB" title="Image:Extreme points illustration.png">→</a>Source code in <a href="/wiki/MATLAB" title="MATLAB">MATLAB</a></span>) |
01:33, 21 November 2005 | en:User:Oleg Alexandrov | (+source code) |
01:30, 21 November 2005 | en:User:Oleg Alexandrov |
기존 올리기 기록[편집]
Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
- (del) (cur) 01:30, 21 November 2005 . . en:User:Oleg Alexandrov Oleg Alexandrov ( en:User talk:Oleg Alexandrov Talk) . . 427x396 (10734 bytes)
파일 역사
날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.
날짜/시간 | 섬네일 | 크기 | 사용자 | 설명 | |
---|---|---|---|---|---|
현재 | 2006년 3월 18일 (토) 19:50 | 427 × 396 (10 KB) | Maksim (토론 | 기여) | La bildo estas kopiita de wikipedia:en. La originala priskribo estas: == Licensing == {{PD-self}} ==Source code in MATLAB== <pre> <nowiki> function main() clf; hold on; axis equal; axis off; % prepare the screen linewidt |
이 파일을 덮어쓸 수 없습니다.
이 파일을 사용하는 문서
이 파일을 사용하는 문서가 없습니다.
이 파일을 사용하고 있는 모든 위키의 문서 목록
다음 위키에서 이 파일을 사용하고 있습니다:
- en.wikipedia.org에서 이 파일을 사용하고 있는 문서 목록