<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12683551</id><updated>2012-01-20T10:56:32.541-08:00</updated><category term='Vim'/><category term='口琴'/><category term='统计'/><category term='MetaPost'/><category term='Linux'/><category term='随想'/><category term='Maxima'/><category term='mp3'/><category term='Asymptote'/><category term='音乐'/><category term='光学'/><category term='网页'/><category term='GnuPlot'/><category term='摄影'/><category term='数学'/><category term='LaTeX'/><category term='Octave'/><title type='text'>Asymptotic Freedom</title><subtitle type='html'>其实……我就是传说中的马哥</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>79</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12683551.post-3924708205075268763</id><published>2012-01-17T14:39:00.000-08:00</published><updated>2012-01-18T17:38:03.288-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>gnuplot所有的colornames及范例</title><content type='html'>这里列出gnuplot 4.4所有colorname及其代表的颜色：&lt;br /&gt;&lt;br /&gt;
&lt;span style="font-weight: bold; color: rgb(255, 255, 255);font-size:180%;" &gt;
white            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:180%;" &gt;black            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(160, 160, 160);font-size:180%;" &gt;dark-grey        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);font-size:180%;" &gt;red              &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 192, 0);font-size:180%;" &gt;web-green        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 128, 255);font-size:180%;" &gt;web-blue         &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(192, 0, 255);font-size:180%;" &gt;dark-magenta     &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 238, 238);font-size:180%;" &gt;dark-cyan        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(192, 64, 0);font-size:180%;" &gt;dark-orange      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(200, 200, 0);font-size:180%;" &gt;dark-yellow      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(65, 105, 225);font-size:180%;" &gt;royalblue        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 192, 32);font-size:180%;" &gt;goldenrod        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 128, 64);font-size:180%;" &gt;dark-spring-green&lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(192, 128, 255);font-size:180%;" &gt;purple           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(48, 96, 128);font-size:180%;" &gt;steelblue        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(139, 0, 0);font-size:180%;" &gt;dark-red         &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(64, 128, 0);font-size:180%;" &gt;dark-chartreuse  &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 128, 255);font-size:180%;" &gt;orchid           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(127, 255, 212);font-size:180%;" &gt;aquamarine       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(165, 42, 42);font-size:180%;" &gt;brown            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 0);font-size:180%;" &gt;yellow           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(64, 224, 208);font-size:180%;" &gt;turquoise        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:180%;" &gt;grey0            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(26, 26, 26);font-size:180%;" &gt;grey10           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 51);font-size:180%;" &gt;grey20           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(77, 77, 77);font-size:180%;" &gt;grey30           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-size:180%;" &gt;grey40           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(127, 127, 127);font-size:180%;" &gt;grey50           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(153, 153, 153);font-size:180%;" &gt;grey60           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(179, 179, 179);font-size:180%;" &gt;grey70           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(192, 192, 192);font-size:180%;" &gt;grey             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 204, 204);font-size:180%;" &gt;grey80           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(229, 229, 229);font-size:180%;" &gt;grey90           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 255);font-size:180%;" &gt;grey100          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(240, 50, 50);font-size:180%;" &gt;light-red        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(144, 238, 144);font-size:180%;" &gt;light-green      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(173, 216, 230);font-size:180%;" &gt;light-blue       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(240, 85, 240);font-size:180%;" &gt;light-magenta    &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(224, 255, 255);font-size:180%;" &gt;light-cyan       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(238, 221, 130);font-size:180%;" &gt;light-goldenrod  &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 182, 193);font-size:180%;" &gt;light-pink       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(175, 238, 238);font-size:180%;" &gt;light-turquoise  &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 215, 0);font-size:180%;" &gt;gold             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 255, 0);font-size:180%;" &gt;green            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 100, 0);font-size:180%;" &gt;dark-green       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 255, 127);font-size:180%;" &gt;spring-green     &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(34, 139, 34);font-size:180%;" &gt;forest-green     &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(46, 139, 87);font-size:180%;" &gt;sea-green        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 255);font-size:180%;" &gt;blue             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 139);font-size:180%;" &gt;dark-blue        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(25, 25, 112);font-size:180%;" &gt;midnight-blue    &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 128);font-size:180%;" &gt;navy             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 205);font-size:180%;" &gt;medium-blue      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(135, 206, 235);font-size:180%;" &gt;skyblue          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 255, 255);font-size:180%;" &gt;cyan             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 255);font-size:180%;" &gt;magenta          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 206, 209);font-size:180%;" &gt;dark-turquoise   &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 20, 147);font-size:180%;" &gt;dark-pink        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 127, 80);font-size:180%;" &gt;coral            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(240, 128, 128);font-size:180%;" &gt;light-coral      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 69, 0);font-size:180%;" &gt;orange-red       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(250, 128, 114);font-size:180%;" &gt;salmon           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(233, 150, 122);font-size:180%;" &gt;dark-salmon      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(240, 230, 140);font-size:180%;" &gt;khaki            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(189, 183, 107);font-size:180%;" &gt;dark-khaki       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(184, 134, 11);font-size:180%;" &gt;dark-goldenrod   &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(245, 245, 220);font-size:180%;" &gt;beige            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(160, 128, 32);font-size:180%;" &gt;olive            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 165, 0);font-size:180%;" &gt;orange           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(238, 130, 238);font-size:180%;" &gt;violet           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(148, 0, 211);font-size:180%;" &gt;dark-violet      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(221, 160, 221);font-size:180%;" &gt;plum             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(144, 80, 64);font-size:180%;" &gt;dark-plum        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(85, 107, 47);font-size:180%;" &gt;dark-olivegreen  &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 20, 0);font-size:180%;" &gt;orangered4       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 20, 20);font-size:180%;" &gt;brown4           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 64, 20);font-size:180%;" &gt;sienna4          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 64, 128);font-size:180%;" &gt;orchid4          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 96, 192);font-size:180%;" &gt;mediumpurple3    &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 96, 255);font-size:180%;" &gt;slateblue1       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(128, 128, 0);font-size:180%;" &gt;yellow4          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 128, 64);font-size:180%;" &gt;sienna1          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 160, 64);font-size:180%;" &gt;tan1             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 160, 96);font-size:180%;" &gt;sandybrown       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 160, 112);font-size:180%;" &gt;light-salmon     &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 192, 192);font-size:180%;" &gt;pink             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 128);font-size:180%;" &gt;khaki1           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 192);font-size:180%;" &gt;lemonchiffon     &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(205, 183, 158);font-size:180%;" &gt;bisque           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(240, 255, 240);font-size:180%;" &gt;honeydew         &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(160, 182, 205);font-size:180%;" &gt;slategrey        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(193, 255, 193);font-size:180%;" &gt;seagreen         &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(205, 192, 176);font-size:180%;" &gt;antiquewhite     &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(124, 255, 64);font-size:180%;" &gt;chartreuse       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(160, 255, 32);font-size:180%;" &gt;greenyellow      &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(190, 190, 190);font-size:180%;" &gt;gray             &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(211, 211, 211);font-size:180%;" &gt;light-gray       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(211, 211, 211);font-size:180%;" &gt;light-grey       &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(160, 160, 160);font-size:180%;" &gt;dark-gray        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(160, 182, 205);font-size:180%;" &gt;slategray        &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:180%;" &gt;gray0            &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(26, 26, 26);font-size:180%;" &gt;gray10           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 51);font-size:180%;" &gt;gray20           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(77, 77, 77);font-size:180%;" &gt;gray30           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-size:180%;" &gt;gray40           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(127, 127, 127);font-size:180%;" &gt;gray50           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(153, 153, 153);font-size:180%;" &gt;gray60           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(179, 179, 179);font-size:180%;" &gt;gray70           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 204, 204);font-size:180%;" &gt;gray80           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(229, 229, 229);font-size:180%;" &gt;gray90           &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 255);font-size:180%;" &gt;gray100          &lt;/span&gt; &lt;span style="font-size:180%;"&gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3924708205075268763?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3924708205075268763/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3924708205075268763' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3924708205075268763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3924708205075268763'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2012/01/gnuplotcolornames.html' title='gnuplot所有的colornames及范例'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4502028365655569169</id><published>2011-05-27T14:53:00.000-07:00</published><updated>2011-05-27T16:31:09.165-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><category scheme='http://www.blogger.com/atom/ns#' term='摄影'/><title type='text'>数码单反（DSLR）相机raw格式图片的读取和处理</title><content type='html'>随着消费用数码单反（DSLR）相机成本的下降和性能的提升，在很多要求不太高的科研场合DSLR相机可以用作昂贵的高档CCD数码相机的替代品。现在最新的数码相机可以提供14位A/D转换，而动态范围可以到达11档光圈以上【参考链接：&lt;a href="http://www.photozone.de/dslr_reviews/439_canon_eos_500d?start=2"&gt;1&lt;/a&gt;，&lt;a href="http://www.adorama.com/alc/article/Full-frame-DSLR-shootout-How-good-are-they"&gt;2&lt;/a&gt;】，很多时候这已经可以满足要求了。一般摄影爱好者使用的JPEG图片格式只能存储8位的层次，而且JPEG图片压缩过程中会有失真，所以作为科研使用的DSLR相机必须使用raw图片格式。&lt;br/&gt;&lt;br/&gt;

一般各个消费用相机厂商都使用自己专有的raw格式，所以处理起来不像科研级相机那么直接。&lt;a href="http://www.cybercom.net/%7Edcoffin/dcraw/"&gt;dcraw&lt;/a&gt;是一个Linux平台上的能将各主要品牌相机的raw格式图片转为&lt;a href="http://netpbm.sourceforge.net/doc/index.html"&gt;Netpbm格式&lt;/a&gt;图片的小工具。Netpbm提供了一些&lt;a href="http://netpbm.sourceforge.net/doc/directory.html"&gt;工具软件&lt;/a&gt;，另外很多图像处理软件也包含对Netpbm格式的支持，所以可以在此基础上对图片进行进一步处理。&lt;br/&gt;&lt;br/&gt;

很多时候我们可能希望自己写代码来处理图片，因为：
&lt;ol&gt;&lt;li&gt;很多图像处理软件只支持8位（或24位RGB）而不支持16位图片；&lt;/li&gt;&lt;li&gt;科研上用到的算法大都比较复杂，现有的软件不满足需求。&lt;/li&gt;&lt;/ol&gt;Netpbm可以把图片存成二进制文件或者纯文本（ascii）文件。无论哪种方式，开始的几行都是标识文件格式的纯文本信息，后面跟着是文件内容。&lt;br/&gt;&lt;br/&gt;

纯文本文件的好处是数值大小一目了然，但是文件比较大。二进制文件比较小，但是处理的时候需要注意：Netpbm存储文件时使用的是&lt;a href="http://en.wikipedia.org/wiki/Endianness#Big-endian"&gt;Big-endian&lt;/a&gt;方式，而一般x86机器都是使用&lt;a href="http://en.wikipedia.org/wiki/Endianness#Little-endian"&gt;Little-endian&lt;/a&gt;方式，所以在读取数据时要进行转换。&lt;a href="http://www.kernel.org/doc/man-pages/online/pages/man3/endian.3.html"&gt;glibc的endian.h&lt;/a&gt;提供这样的转换函数。二进制文件存储顺序是从上到下按行存储，每行内按从左到右顺序存储。&lt;br/&gt;&lt;br/&gt;

dcraw转换图片时默认使用8位方式，如果要使用16位方式，需要使用参数 &lt;tt&gt;-6&lt;/tt&gt;。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4502028365655569169?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4502028365655569169/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4502028365655569169' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4502028365655569169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4502028365655569169'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2011/05/dslrraw.html' title='数码单反（DSLR）相机raw格式图片的读取和处理'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-7960929928915933721</id><published>2011-05-24T23:54:00.000-07:00</published><updated>2011-05-24T23:57:47.702-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxima'/><title type='text'>《Maxima快速参考手册1.1》</title><content type='html'>这是之前写的一份&lt;a href="http://yusufma.blogspot.com/2010/01/maxima.html"&gt;Maxima中文文档&lt;/a&gt;的更新版本。
&lt;ul&gt;&lt;li&gt;&lt;a href="https://webfiles.uci.edu/huanm/www/maxima/maxima_html.xml"&gt;在线阅读&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://webfiles.uci.edu/huanm/www/maxima/maxima_zh.pdf"&gt;PDF文件下载&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-7960929928915933721?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/7960929928915933721/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=7960929928915933721' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/7960929928915933721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/7960929928915933721'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2011/05/maxima11.html' title='《Maxima快速参考手册1.1》'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-7375502159894643329</id><published>2011-04-15T16:18:00.000-07:00</published><updated>2011-04-18T14:18:29.734-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Vim笔记（二）</title><content type='html'>&lt;ol&gt;
  &lt;li&gt;分割窗口&lt;br /&gt;
  &lt;tt&gt;:split file2&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;把窗口分割成上下两半，在新开窗口打开文件file2&lt;br /&gt;
  &lt;tt&gt;:new&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;上下分割窗口，在新开窗口打开新文件&lt;br /&gt;
  &lt;tt&gt;CTRL-W w&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;切换窗口&lt;br /&gt;
  &lt;tt&gt;CTRL-W +&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;增大窗口尺寸&lt;br /&gt;
  &lt;tt&gt;CTRL-W -&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;缩小窗口尺寸&lt;br /&gt;
  &lt;tt&gt;:vsplit file2&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;左右分割窗口，在新开窗口打开文件file2&lt;br /&gt;
  &lt;tt&gt;CTRL-W h&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;切换到左边窗口，其他方向按&lt;tt&gt;j, k, l&lt;/tt&gt;类推&lt;br /&gt;
  &lt;tt&gt;CTRL-W H&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动窗口到最左边，其他方向按&lt;tt&gt;J, K, L&lt;/tt&gt;类推&lt;br /&gt;
  &lt;tt&gt;:qall&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;退出所有窗口，类似的有&lt;tt&gt;:wall&lt;/tt&gt;
  &lt;/li&gt;
  &lt;li&gt;反复执行复杂命令&lt;br /&gt;
  &lt;tt&gt;q{register}&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;开启寄存器，开始记录命令，&lt;tt&gt;register&lt;/tt&gt;可以是&lt;tt&gt;a&lt;/tt&gt;到&lt;tt&gt;z&lt;/tt&gt;中任何一个&lt;br /&gt;
  &lt;tt&gt;q&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;结束记录命令&lt;br /&gt;
  &lt;tt&gt;@{register}&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;执行寄存器&lt;tt&gt;{register}&lt;/tt&gt;内所有命令
  &lt;/li&gt;
  &lt;li&gt;查找替换一段字符&lt;br /&gt;
  &lt;tt&gt;:[range]s/from/to/[flags]&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;将&lt;tt&gt;from&lt;/tt&gt;替换为&lt;tt&gt;to&lt;/tt&gt;，&lt;tt&gt;[range]&lt;/tt&gt;控制替换范围，&lt;tt&gt;[flags]&lt;/tt&gt;表示一些控制参数&lt;br /&gt;
  常用&lt;tt&gt;[range]&lt;/tt&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;tt&gt;.&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;当前行&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;$&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;文件最后一行&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;1,5&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;第一行到第五行&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;%&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;全部文件&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;.+3&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;当前行之下第三行&lt;/li&gt;
  &lt;/ul&gt;
  常用&lt;tt&gt;[flags]&lt;/tt&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;tt&gt;g&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;替换所有匹配字符串，否则只替换第一个匹配&lt;/li&gt;
    &lt;li&gt;&lt;tt&gt;c&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;执行每一个替换之前寻求确认&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;可视化块模式&lt;br /&gt;
  &lt;tt&gt;CTRL-V&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;开启可视化块模式，用&lt;tt&gt;h,j,k,l&lt;/tt&gt;选择块&lt;br /&gt;
  &lt;tt&gt;I{string}&amp;lt;Esc&amp;gt;&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;在块的左边每一行插入一段字符串&lt;br /&gt;
  &lt;tt&gt;A{string}&amp;lt;Esc&amp;gt;&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;在块的右边每一行加入一段字符串&lt;br /&gt;
  &lt;tt&gt;c{string}&amp;lt;Esc&amp;gt;&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;替换一个块的文字&lt;br /&gt;
  &lt;tt&gt;U&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;换为大写字母&lt;br /&gt;
  &lt;tt&gt;u&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;换为小写字母&lt;br /&gt;
  &lt;tt&gt;~&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;大小写互换
  &lt;/li&gt;
  &lt;li&gt;数行合并&lt;br /&gt;
  &lt;tt&gt;J&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;数行合并，去除换行符
  &lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-7375502159894643329?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/7375502159894643329/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=7375502159894643329' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/7375502159894643329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/7375502159894643329'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2011/04/vim_15.html' title='Vim笔记（二）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-188112057156322847</id><published>2011-04-14T22:54:00.000-07:00</published><updated>2011-04-15T00:43:52.835-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Vim笔记（一）</title><content type='html'>常用的&lt;a href="http://www.vim.org/"&gt;Vim&lt;/a&gt;命令小结，最基本的就不说了，例如如何安装，如何启动和退出，两种基本模式（正常模式和插入模式），用&lt;tt&gt;h,j,k,l&lt;/tt&gt;移动光标，简单的复制粘贴等等。
&lt;ol&gt;
  &lt;li&gt;移动光标&lt;/li&gt;
  &lt;ol type="i"&gt;
    &lt;li&gt;以字符为单位&lt;br /&gt;
    &lt;tt&gt;f&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;右移至指定字符，例如&lt;tt&gt;fh&lt;/tt&gt;移动至右边第一个&lt;tt&gt;h&lt;/tt&gt;&lt;br /&gt;
    &lt;tt&gt;F&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;左移至指定字符
    &lt;/li&gt;
    &lt;li&gt;以词为单位&lt;br /&gt;
    &lt;tt&gt;w&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;右移至词首&lt;br /&gt;
    &lt;tt&gt;b&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;左移至词首&lt;br /&gt;
    &lt;tt&gt;e&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;右移到词尾&lt;br /&gt;
    &lt;tt&gt;ge&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;左移到词尾
    &lt;/li&gt;
    &lt;li&gt;以行为单位&lt;br /&gt;
    &lt;tt&gt;0&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;左移至行首&lt;br /&gt;
    &lt;tt&gt;^&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;左移至行首第一个非空字符&lt;br /&gt;
    &lt;tt&gt;$&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;右移至行尾&lt;br /&gt;
    &lt;tt&gt;gg&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至第1行&lt;br /&gt;
    &lt;tt&gt;G&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至最后1行&lt;br /&gt;
    &lt;tt&gt;nG&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至第n行&lt;br /&gt;
    &lt;tt&gt;n%&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至n%位置
    &lt;/li&gt;
    &lt;li&gt;以屏为单位&lt;br /&gt;
    &lt;tt&gt;H&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至屏幕顶端&lt;br /&gt;
    &lt;tt&gt;M&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至屏幕中间&lt;br /&gt;
    &lt;tt&gt;L&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;移动至屏幕底端&lt;br /&gt;
    &lt;tt&gt;CTRL-U&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;向上滚半屏&lt;br /&gt;
    &lt;tt&gt;CTRL-D&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;向下滚半屏&lt;br /&gt;
    &lt;tt&gt;CTRL-F&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;向下滚一整屏&lt;br /&gt;
    &lt;tt&gt;CTRL-B&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;向上滚一整屏
    &lt;/li&gt;
  &lt;/ol&gt;
  &lt;li&gt;简单搜索&lt;br /&gt;
  &lt;tt&gt;/string&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;向后搜索字符串&lt;br /&gt;
  &lt;tt&gt;?string&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;向前搜索字符串&lt;br /&gt;
  &lt;tt&gt;n&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;下一个匹配字符串&lt;br /&gt;
  &lt;tt&gt;N&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;上一个匹配字符串&lt;br /&gt;
  &lt;tt&gt;/\&amp;lt;word\&amp;gt;&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;匹配整个单词，&lt;tt&gt;\&amp;lt;&lt;/tt&gt;和&lt;tt&gt;\&amp;gt;&lt;/tt&gt;分别匹配词首和词尾&lt;br /&gt;
  &lt;tt&gt;%&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;寻找匹配的括号
  &lt;/li&gt;
  &lt;li&gt;书签&lt;br /&gt;
  &lt;tt&gt;ma&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;标记此处为&lt;tt&gt;a&lt;/tt&gt;，共可使用&lt;tt&gt;a&lt;/tt&gt;到&lt;tt&gt;z&lt;/tt&gt;二十六个书签&lt;br /&gt;
  &lt;tt&gt;`a&lt;/tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;回到标记为&lt;tt&gt;a&lt;/tt&gt;处
  &lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-188112057156322847?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/188112057156322847/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=188112057156322847' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/188112057156322847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/188112057156322847'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2011/04/vim.html' title='Vim笔记（一）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-1926957275580557519</id><published>2011-03-04T12:25:00.000-08:00</published><updated>2012-01-18T17:37:30.382-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>几个关于Gnuplot小技巧的网页</title><content type='html'>Gnuplot手册不能告诉你的小技巧。Gnuplot也可以画出很惊艳的图片。
&lt;ol&gt;&lt;li&gt;not so Frequently Asked Questions&lt;br/&gt;
&lt;a href="http://t16web.lanl.gov/Kawano/gnuplot/index-e.html"&gt;http://t16web.lanl.gov/Kawano/gnuplot/index-e.html&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;Gnuplot tricks blog&lt;br/&gt;
&lt;a href="http://gnuplot-tricks.blogspot.com/"&gt;http://gnuplot-tricks.blogspot.com/&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;Impossible gnuplot graphs&lt;br/&gt;
&lt;a href="http://www.phyast.pitt.edu/%7Ezov1/gnuplot/html/intro.html"&gt;http://www.phyast.pitt.edu/~zov1/gnuplot/html/intro.html&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;Gnuplot surprising&lt;br/&gt;
&lt;a href="http://gnuplot-surprising.blogspot.com/"&gt;http://gnuplot-surprising.blogspot.com/&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;Gnuplotting&lt;br/&gt;
&lt;a href="http://www.gnuplotting.org/"&gt;http://www.gnuplotting.org/&lt;/a&gt;
&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-1926957275580557519?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/1926957275580557519/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=1926957275580557519' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/1926957275580557519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/1926957275580557519'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2011/03/gnuplot.html' title='几个关于Gnuplot小技巧的网页'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-3863304987992001800</id><published>2011-01-12T14:24:00.000-08:00</published><updated>2011-01-13T16:59:40.786-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Octave'/><title type='text'>Octave笔记</title><content type='html'>&lt;a href="http://www.gnu.org/software/octave/index.html"&gt;Octave&lt;/a&gt;可以看作是开放源代码版本的Matlab，它的命令几乎和Matlab完全一样，因此可以用Matlab的书籍和文档来学习Octave。另外，绝大多数Matlab的代码也可以不经修改在Octave中运行。对于初学者来说，下面这些笔记可以帮助快速上手Octave。更多的功能，可以参考&lt;a href="http://www.gnu.org/software/octave/docs.html"&gt;Octave文档&lt;/a&gt;或者其他Matlab的资料。
&lt;ol&gt;
&lt;li&gt;脚本文件，以下面一行开始：
&lt;pre&gt;#!/usr/bin/octave -qf&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;注释，以&lt;tt&gt;%&lt;/tt&gt;或者&lt;tt&gt;#&lt;/tt&gt;开始
&lt;/li&gt;
&lt;li&gt;虚数单位：&lt;tt&gt;i, j, I, J&lt;/tt&gt;都可以

两种方法定义复数：&lt;tt&gt;3 + 4i&lt;/tt&gt;或者&lt;tt&gt;complex(3, 4)&lt;/tt&gt;
&lt;/li&gt;
&lt;li&gt;定义矩阵：
&lt;pre&gt;octave:1&gt; a = [1, 2; 3, 4]
a =

1   2
3   4&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;随机数：&lt;tt&gt;rand()&lt;/tt&gt;或者&lt;tt&gt;rand(m, n)&lt;/tt&gt;
&lt;/li&gt;
&lt;li&gt;定义一段连续序列：
&lt;pre&gt;octave:1&gt; 1:5
ans =

1   2   3   4   5&lt;/pre&gt;
还可以指定步长：
&lt;pre&gt;octave:2&gt; 1:2:10
ans =

1    3    5    7    9&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;字符串：单引号或者双引号&lt;/li&gt;
&lt;li&gt;定义Data Structure：
&lt;pre&gt;octave:1&gt; x.name = ”Yusuf”
octave:2&gt; x.age = 33
octave:3&gt; x.phone = “46103”
octave:4&gt; x
x =
{
name = Yusuf
age = 33
phone = 46103
}&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;定义Cell Array：
&lt;pre&gt;octave1:&gt; a = {”random matrix”, rand(2)}
a =

{
[1,1] = random matrix
[1,2] =

0.417140   0.460380
0.337105   0.078835

}

octave2:&gt; a{2}(1,2)
ans =  0.460380&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;声明全局变量：
&lt;pre&gt;global c = 3e8&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;算术符号
&lt;table&gt;
&lt;tbody&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x + y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;加法&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x - y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;减法&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x * y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;矩阵乘法&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x .* y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;元素相乘&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x / y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;右除，相当于&lt;tt&gt;(inverse (y’) * x’)’&lt;/tt&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x ./ y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;元素右除&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x \ y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;左除，相当于&lt;tt&gt;inverse (x) * y&lt;/tt&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x .\ y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;元素左除，每个y元素被相应的x元素除&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x ^ y&lt;/tt&gt; 或 &lt;tt&gt;x ** y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;乘方&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x .^ y&lt;/tt&gt; 或 &lt;tt&gt;x .** y&lt;/tt&gt;  &lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;元素乘方&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x’&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;转置复共轭&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x.’&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;转置&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;比较符号
&lt;table&gt;
&lt;tbody&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x &amp;lt; y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;小于&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x &lt;= y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;小于等于&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x == y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;等于&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x &gt;= y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;大于等于&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x &gt; y&lt;/tt&gt;&lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;大于&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="text-align: left; height: 0px;"&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;tt&gt;x != y&lt;/tt&gt; 或 &lt;tt&gt;x ~= y&lt;/tt&gt;  &lt;/td&gt;
&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;不等于&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;if语句&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;形式一：
&lt;pre&gt;if (condition)
  then-body
endif&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;形式二：
&lt;pre&gt;if (condition)
  then-body
else
  else-body
endif&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;形式三：
&lt;pre&gt;if (condition)
  then-body
elseif (condition)
  elseif-body
else
  else-body
endif&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;switch语句
&lt;pre&gt;switch expression
  case label
    command_list
  case label
    command_list
  …
  otherwise
    command_list
endswitch&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;while语句
&lt;pre&gt;while (condition)
  body
endwhile&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;do-until语句
&lt;pre&gt;do
  body
until (condition)&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;for语句
&lt;pre&gt;for var = expression
  body
endfor&lt;/pre&gt;
&lt;/li&gt;
&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;定义函数&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;形式一：无自变量
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;name&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;body&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;
endfunction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;形式二：带自变量
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;name&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt; (&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;arg-list&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;body&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;
endfunction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;形式三：单个返回值
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;ret-var&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt; = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;name&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt; (&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;arg-list&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;body&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;
endfunction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;形式四：多个返回值
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;function [&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;ret-list&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;] = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;name&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt; (&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;arg-list&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;i&gt;&lt;span class="Apple-style-span"&gt;body&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;
endfunction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;可变自变量长度函数
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;function val = smallest (varargin)
val = min ([varargin{:}]);
endfunction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;函数Handles（指向函数的指针）
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;@function-name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;匿名函数
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;@(argument-list) expression&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;终端输出
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;disp (x)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;写读包含分隔符的数据文件
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;dlmwrite (file, a)
dlmwrite (file, a, delim, r, c)
dlmwrite (file, a, key, val ...)
dlmwrite (file, a, "-append", ...)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;a是待写矩阵，delim是分隔符，默认为逗号。r, c分别为起始的空行和空列。key包含下列参数：&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;"append"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;    即上面的"-append"，"on"或者"off"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;"delimiter"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;    即上面的delim&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;"newline"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;    换行符&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;"roffset"   &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;即上面的r&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;"coffset"   &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;即上面的c&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: circle; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;"precision"   &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;精确度，可以用类似fprintf的格式字符串，或者有效数字位数&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;data = dlmread (file)
data = dlmread (file, sep, range)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;range为四元素的矢量：[R0, C0, R1, C1]，为数据块左上角和右下角的标记，从0开始&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Octave可以使用大多数类似C的I/O函数（fprintf，fopen等）&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;常用数学函数&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;table class="zeroBorder"  style="line-height: inherit; border-collapse: collapse; border: medium none gray;font-size:1em;"&gt;&lt;tbody&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;exp (x)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;指数函数&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;sinh (x)&lt;a id="index-sinh-1397" name="index-sinh-1397"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;双曲正弦
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;log (x)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;自然对数&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;cosh (x)&lt;a id="index-cosh-1398" name="index-cosh-1398"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;双曲余弦
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;log10 (x)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;以10为底的对数
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;tanh (x)&lt;a id="index-tanh-1399" name="index-tanh-1399"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;双曲正切
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;log2 (x)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;以2为底的对数
&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;coth (x)&lt;a id="index-coth-1402" name="index-coth-1402"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;双曲余切
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;sqrt (x)
&lt;/td&gt;&lt;td  style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;font-family:'Courier New';"&gt;平方根
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;sech (x)&lt;a id="index-sech-1400" name="index-sech-1400"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;双曲正割
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;abs (z)
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;绝对值
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;csch (x)
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;双曲余割
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;arg (z)
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;辐角
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;asinh (x)&lt;a id="index-asinh-1403" name="index-asinh-1403"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反双曲正弦
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;conj (z)&lt;a id="index-conj-1379" name="index-conj-1379"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;复共轭
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;acosh (x)&lt;a id="index-acosh-1404" name="index-acosh-1404"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反双曲余弦
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;real (z)&lt;a id="index-real-1384" name="index-real-1384"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;复数实部
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;atanh (x)&lt;a id="index-atanh-1405" name="index-atanh-1405"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反双曲正切
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;imag (z)&lt;a id="index-imag-1383" name="index-imag-1383"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;复数虚部
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;acoth (x)&lt;a id="index-acoth-1408" name="index-acoth-1408"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反双曲余切
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;sin (x)&lt;a id="index-sin-1385" name="index-sin-1385"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;正弦
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;asech (x)&lt;a id="index-asech-1406" name="index-asech-1406"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反双曲正割
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;cos (x)&lt;a id="index-cos-1386" name="index-cos-1386"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;余弦
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;acsch (x)&lt;a id="index-acsch-1407" name="index-acsch-1407"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反双曲余割
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;tan (x)&lt;a id="index-tan-1387" name="index-tan-1387"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;正切
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;sum (x)&lt;a id="index-sum-1422" name="index-sum-1422"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;求和
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;cot (x)&lt;a id="index-cot-1390" name="index-cot-1390"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;余切
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;prod (x)&lt;a id="index-prod-1425" name="index-prod-1425"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;求积u&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;sec (x)&lt;a id="index-sec-1388" name="index-sec-1388"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;正割
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;ceil (x)&lt;a id="index-ceil-1436" name="index-ceil-1436"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;不小于x的最小整数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;csc (x)&lt;a id="index-csc-1389" name="index-csc-1389"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;余割
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;a id="index-factorial-1444" name="index-factorial-1444"&gt;&lt;/a&gt;floor (x)&lt;a id="index-floor-1446" name="index-floor-1446"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;不大于x的最大整数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;asin (x)&lt;a id="index-asin-1391" name="index-asin-1391"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;反正弦
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;factorial (n)  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;阶乘
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: bottom;"&gt;acos (x)&lt;a id="index-acos-1392" name="index-acos-1392"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;反余弦
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;max (x)&lt;a id="index-max-1462" name="index-max-1462"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;最大值
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); font-family: 'Courier New'; vertical-align: bottom;"&gt;atan (x)&lt;a id="index-atan-1393" name="index-atan-1393"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;反正切
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;min (x)&lt;a id="index-min-1466" name="index-min-1466"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;最小值
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); font-family: 'Courier New'; vertical-align: bottom;"&gt;acot (x)&lt;a id="index-acot-1396" name="index-acot-1396"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;反余切
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;round (x)&lt;a id="index-round-1479" name="index-round-1479"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;四舍五入
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); font-family: 'Courier New'; vertical-align: bottom;"&gt;asec (x)&lt;a id="index-asec-1394" name="index-asec-1394"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;反正割
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;sign (x)
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;符号函数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); font-family: 'Courier New'; vertical-align: bottom;"&gt;acsc (x)&lt;a id="index-acsc-1395" name="index-acsc-1395"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;反余割
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); font-family: 'Courier New'; vertical-align: bottom;"&gt;atan2 (y, x)  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a id="index-atan2-1409" name="index-atan2-1409"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;计算atan (y / x)
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); font-family: 'Courier New'; vertical-align: bottom;"&gt;sind (x)&lt;a id="index-sind-1410" name="index-sind-1410"&gt;&lt;/a&gt;,…
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;以度数为单位的三角函数  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span"&gt;特殊函数
&lt;/span&gt;&lt;table class="zeroBorder"  style="line-height: inherit; border-collapse: collapse; border: 1px dotted gray;font-size:1em;"&gt;&lt;tbody&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;[a, ierr] = airy (k, z, opt)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;Airy函数&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;[j, ierr] = besselj (alpha, x, opt)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;第一类Bessel函数&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;[y, ierr] = bessely (alpha, x, opt)&lt;/span&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;第二类Bessel函数&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;[i, ierr] = besseli (alpha, x, opt)&lt;/span&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;变形第一类Bessel函数&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;[k, ierr] = besselk (alpha, x, opt)&lt;/span&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;变形第二类Bessel函数&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;[h, ierr] = besselh (alpha, k, x, opt)  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/td&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;&lt;span class="Apple-style-span"&gt;第一类（k=1）和第二类（k=2）Hankel函数&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td style="border: 1px dotted rgb(170, 170, 170); vertical-align: top; font-family: 'Courier New';"&gt;beta (a, b)&lt;a id="index-beta-1488" name="index-beta-1488"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;Beta函数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;gamma (z)&lt;a id="index-gamma-1497" name="index-gamma-1497"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;Gamma函数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;bincoeff (n, k)&lt;a id="index-bincoeff-1491" name="index-bincoeff-1491"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;二项式系数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;erf (z)&lt;a id="index-erf-1494" name="index-erf-1494"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;误差函数
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;legendre (n, x, normalization)&lt;a id="index-legendre-1499" name="index-legendre-1499"&gt;&lt;/a&gt;
&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;n阶Legendre函数，m = 0…n
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span"&gt;线性代数
&lt;/span&gt;&lt;table class="zeroBorder"  style="line-height: inherit; border-collapse: collapse; border: 1px dotted gray;font-size:1em;"&gt;&lt;tbody&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;det (a)&lt;a id="index-det-1554" name="index-det-1554"&gt;&lt;/a&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;行列式&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;eig (a)&lt;a id="index-eig-1557" name="index-eig-1557"&gt;&lt;/a&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;本征值&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;dot (x, y)  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;点乘&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 0px;"&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span"&gt;inv (a)&lt;a id="index-inv-1564" name="index-inv-1564"&gt;&lt;/a&gt;
&lt;/span&gt;&lt;/td&gt;&lt;td face="'Courier New'" style="border: 1px dotted rgb(170, 170, 170); vertical-align: top;"&gt;&lt;span class="Apple-style-span" style="font-style: normal; vertical-align: baseline;"&gt;逆矩阵&lt;/span&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span"&gt;解非线性方程
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;[x, fval, info]&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b style="font-family: 'Courier New';"&gt;=&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;fsolve (fcn, x0, options)&lt;/span&gt;
fcn是包含待解方程组的函数，x0是自变量初始值，x为返回的数值解，fval为返回的函数值，如果结果收敛，info为1，否则为其他值。例子：
&lt;span class="Apple-style-span"  style="font-family:Courier New;"&gt;  function y = f (x)
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  y(1) = -2*x(1)^2 + 3*x(1)*x(2) + 4*sin(x(2)) - 6;&lt;/span&gt;
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  y(2) = 3*x(1)^2 - 2*x(1)*x(2)^2 + 3*cos(x(1)) + 4;&lt;/span&gt;
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  endfunction&lt;/span&gt;
&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  [x, fval, info] = fsolve (@f, [1; 2])&lt;/span&gt;
结果：
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  x =&lt;/span&gt;

&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;     0.57983&lt;/span&gt;
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;     2.54621&lt;/span&gt;

&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  fval =&lt;/span&gt;

&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;     6.1872e-08  -3.2708e-07&lt;/span&gt;

&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;  info =  1&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="margin-top: 0px; margin-bottom: 0px; background-color: transparent; color: rgb(0, 0, 0); font-style: normal; list-style-type: decimal; vertical-align: baseline;font-family:arial;"&gt;&lt;span class="Apple-style-span"&gt;数值积分（各函数对应不同算法）
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;[v, ier, nfun, err] =&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;quad&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;(f, a, b, tol, sing)&lt;/span&gt;
&lt;a id="index-quad-1760" name="index-quad-1760" style="font-family: 'Courier New';"&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;quadl&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;(f, a, b, tol)&lt;/span&gt;&lt;a id="index-quadl-1763" name="index-quadl-1763" style="font-family: 'Courier New';"&gt;&lt;/a&gt;
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;quadgk&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;(f, a, b, prop, val, ...)&lt;/span&gt;&lt;a id="index-quadgk-1767" name="index-quadgk-1767" style="font-family: 'Courier New';"&gt;&lt;/a&gt;
&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;quadl&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:courier new;"&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;(f, a, b, tol)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:100%;"&gt;

&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3863304987992001800?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3863304987992001800/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3863304987992001800' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3863304987992001800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3863304987992001800'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2011/01/octave.html' title='Octave笔记'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-8657084973013708668</id><published>2010-01-21T12:30:00.000-08:00</published><updated>2010-01-21T12:54:17.765-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='统计'/><title type='text'>统计笔记（一）</title><content type='html'>&lt;ol type="1"&gt;
&lt;li&gt; 协方差（covariance）定义：
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi fontstyle="normal"&gt;Cov&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;,&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;[&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;-&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;-&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo stretchy="false"&gt;]&lt;/mo&gt;&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

其中
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;&amp;ensp;&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;表示期望值，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 相关系数（coefficient of correlation）定义：
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;&amp;rho;&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;Cov&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;,&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;

&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

其中
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;分别是
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;的标准差。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 任意分布样本的平均值&lt;br /&gt;

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，...，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;是
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;V&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;的独立随机变量，则平均值
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;

&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

的期望值
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;，方差
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;V&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 正态分布样本的平均值&lt;br /&gt;

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，...，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;是来自正态分布（期望值为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;，方差为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;）的样本，其平均值
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;

&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

也呈正态分布，期望值
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;，方差
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msubsup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
 &lt;/mrow&gt;
&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msubsup&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，...，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;同上，那么
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;
&lt;msubsup&gt;&lt;mrow&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msubsup&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

呈自由度为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;的
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;chi;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;分布。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，...，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;同上，那么
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;
&lt;/mfrac&gt;

&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;-&lt;/mo&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;

&lt;msup&gt;&lt;mrow&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

呈自由度为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/math&gt;的
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;chi;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;分布。其中，
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;

&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;-&lt;/mo&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;

&lt;msup&gt;&lt;mrow&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

是样本方差。
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;/mrow&gt;&lt;/math&gt;为独立随机变量。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 学生
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;分布(简称
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;分布)定义：&lt;br /&gt;
如果
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;是正态分布随机变量，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;是自由度为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;的
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;chi;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;分布随机变量，如果
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;互相独立，则
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;T&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

呈自由度为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;的
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;分布。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 在上面的定义中，如果让
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;mo stretchy="false"&gt;/&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;，则由上面第4和第6条结论可以得出
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

呈自由度为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/math&gt;的
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;分布。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;F&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;分布定义：&lt;br /&gt;
如果
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;为独立
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;chi;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;/mrow&gt;&lt;/math&gt;分布变量，自由度分别为
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，则
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;F&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;/&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;/&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

被称作具有
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;分子自由度和
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;&amp;nu;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;分母自由度的
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;F&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;分布。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;

&lt;li&gt; 中心极限定理（Central Limit Theorem）&lt;br /&gt;

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;，...，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;是独立的具有同样分布的随机变量，期望值
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;，方差
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;V&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;
&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;
&lt;/msup&gt;
&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;&amp;infin;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;。定义
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;U&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;mo&gt;=&lt;/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;&amp;mu;&lt;/mi&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;
&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

其中
&lt;br /&gt;
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;
&lt;mover&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;
&lt;mo&gt;&amp;#xAF;&lt;/mo&gt;&lt;/mover&gt;
&lt;mo&gt;=&lt;/mo&gt;
&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/mfrac&gt;

&lt;munderover&gt;&lt;mo&gt;&amp;sum;&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt; &lt;/mrow&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/munderover&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;
    &lt;/mstyle&gt;&lt;/math&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;br /&gt;

那么，当
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;&amp;rarr;&lt;/mo&gt;&lt;mi&gt;&amp;infin;&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;时，
&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;U&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;
&lt;/msub&gt;
&lt;/mrow&gt;&lt;/math&gt;趋近于正态分布。
&lt;div class="p"&gt;&lt;!----&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-8657084973013708668?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/8657084973013708668/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=8657084973013708668' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8657084973013708668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8657084973013708668'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2010/01/blog-post.html' title='统计笔记（一）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-8023147523025789526</id><published>2010-01-18T16:56:00.000-08:00</published><updated>2010-01-18T17:06:42.283-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxima'/><title type='text'>写了一份Maxima的中文文档</title><content type='html'>以前我为计算机代数系统Maxima写了一些简介，这次抽时间写了一个比较完整的中文文档，希望能为开放源代码软件的推广做点贡献。&lt;br /&gt;&lt;br /&gt;
&lt;span style="color: rgb(204, 0, 0);"&gt;《Maxima快速参考手册》&lt;/span&gt;：
&lt;ul&gt;&lt;li&gt;&lt;a href="https://webfiles.uci.edu/huanm/www/maxima/"&gt;在线阅读&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a href="https://webfiles.uci.edu/huanm/www/maxima/maxima_zh.pdf"&gt;PDF文件下载&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

写的仓促，欢迎反馈。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-8023147523025789526?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/8023147523025789526/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=8023147523025789526' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8023147523025789526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8023147523025789526'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2010/01/maxima.html' title='写了一份Maxima的中文文档'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4164837577609902323</id><published>2009-05-11T01:16:00.000-07:00</published><updated>2009-05-11T01:39:07.524-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MetaPost'/><title type='text'>在eps图片上添加LaTeX公式</title><content type='html'>利用&lt;a href="http://www.tug.org/metapost.html"&gt;MetaPost&lt;/a&gt;的&lt;a href="http://www.ctan.org/tex-archive/graphics/metapost/contrib/macros/exteps/"&gt;exteps&lt;/a&gt;宏包，可以在metapost文件中加入eps图片，同时利用metapost的label命令在图片任何地方加入LaTeX公式。下面是一个使用&lt;a href="http://www.ctan.org/tex-archive/graphics/metapost/contrib/macros/exteps/"&gt;exteps&lt;/a&gt;的例子：&lt;pre&gt;input exteps
verbatimtex
\documentclass{article}
\begin{document}
etex
prologues:=2;
beginfig(1);
begineps "figure.eps";
endeps;
label.rt(btex $f(x) = \sqrt x$ etex, (2cm,3cm));
endfig;
end&lt;/pre&gt;为了使用LaTeX命令，需要设置环境变量&lt;pre&gt;TEX=latex&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4164837577609902323?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4164837577609902323/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4164837577609902323' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4164837577609902323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4164837577609902323'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2009/05/epslatex.html' title='在eps图片上添加LaTeX公式'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4141850577672004613</id><published>2009-04-02T15:00:00.000-07:00</published><updated>2009-04-02T16:38:10.539-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>GnuPlot在PostScript终端下使用任意字体</title><content type='html'>有时候我们在GnuPlot中想使用一些其他字体，例如LaTeX字体或者一些艺术字体，这时候我们可以用fontfile选项把自己的字体内嵌进生成的PostScript文件：&lt;pre&gt;set term postscript fontfile "myfont.ext" "FontName"&lt;/pre&gt;这里的字体可以是Type 1字体，也可以是TrueType字体。命令必须包含完整字体文件名，包括扩展名。字体文件可以在当前目录，也可以用GNUPLOT_FONTPATH环境变量控制字体路径。FontName（字体名）不是字体文件名，通常不那么容易直接得到，尤其是TrueType字体。最简单的办法是在GnuPlot里执行&lt;pre&gt;set term postscript fontfile "myfont.ext"&lt;/pre&gt;GnuPlot会自动给出字体名。&lt;br/&gt;&lt;br/&gt;这样，由于可以使用LaTeX字体，配合PostScript终端的enhanced选项，我们几乎可以在GnuPlot中输入任意特殊字符。另外，为使用TrueType字体，需要安装ttf2pt1工具进行字体自动转化。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4141850577672004613?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4141850577672004613/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4141850577672004613' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4141850577672004613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4141850577672004613'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2009/04/gnuplotpostscript.html' title='GnuPlot在PostScript终端下使用任意字体'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-3651659826765695909</id><published>2009-03-16T12:06:00.000-07:00</published><updated>2009-04-02T14:58:23.110-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>sed编辑器的使用</title><content type='html'>&lt;a href="http://www.gnu.org/software/sed/"&gt;sed&lt;/a&gt;被称为流编辑器（stream editor）。它和一般写字板之类的文本编辑器不同，它通过逐行读入文本文件，按照用户指定的方式对文本进行过滤。用户通过脚本命令告诉&lt;a href="http://www.gnu.org/software/sed/"&gt;sed&lt;/a&gt;该如何处理文本文件，所以&lt;a href="http://www.gnu.org/software/sed/"&gt;sed&lt;/a&gt;可以看作一种程序语言。这看起来没有使用鼠标和键盘编辑文件的编辑器方便，但是当我们需要自动处理大量文本文件时，这会非常方便。

例如，我需要把很多数据文件的某些行注释掉，也就是在所有数据文件的某几行开始处加上字符“&lt;tt&gt;# &lt;/tt&gt;”。如果一个个文件编辑，工作量就太大了。下面这个命令可以很方便的实现这个功能：&lt;pre&gt;sed -i '1,5 s/^/# /' *.txt&lt;/pre&gt;这个命令把每一个&lt;tt&gt;.txt&lt;/tt&gt;作为后缀的文件前5行开始处加上“&lt;tt&gt;# &lt;/tt&gt;”。

下面把常用的一些&lt;a href="http://www.gnu.org/software/sed/"&gt;sed&lt;/a&gt;命令总结一下。
&lt;ol&gt;&lt;li&gt;替换一段文字&lt;/li&gt;这个恐怕是&lt;a href="http://www.gnu.org/software/sed/"&gt;sed&lt;/a&gt;最常用的方式了。&lt;pre&gt;sed 's/a/A/' &amp;lt;old &amp;gt;new&lt;/pre&gt;这个命令把文件&lt;tt&gt;old&lt;/tt&gt;中的小写字幕a换为大写字幕A，并且把新的文件存为&lt;tt&gt;new&lt;/tt&gt;。但是这个命令只能替换第一个a，如果想要把文件&lt;tt&gt;old&lt;/tt&gt;中所有的a都替换掉，需要加上一个参数：&lt;pre&gt;sed 's/a/A/g' &amp;lt;old &amp;gt;new&lt;/pre&gt;上面命令中的斜杠&lt;tt&gt;/&lt;/tt&gt;是分隔符，但是&lt;a href="http://www.gnu.org/software/sed/"&gt;sed&lt;/a&gt;没有要求一定用斜杠作为分隔符，其实可以用任何字符（只要不和搜索字符矛盾）作为分隔符，例如冒号等等。&lt;li&gt;执行多个命令&lt;/li&gt;上面的例子中只执行了一个命令，如果需要同时执行多个命令，需要用到参数&lt;tt&gt;-e&lt;/tt&gt;：&lt;pre&gt;sed -e 's/a/A/' -e 's/b/B/' &amp;lt;old &amp;gt;new&lt;/pre&gt;&lt;li&gt;指定对某些行操作&lt;/li&gt;如果只对某些行进行操作，可以像一开始举的例子那样，使用行号指定范围：&lt;pre&gt;sed '1,10 s/A/a/'&lt;/pre&gt;
&lt;/ol&gt;

另外，&lt;a href="http://sed.sourceforge.net/sed1line_zh-CN.html"&gt;这里&lt;/a&gt;有一个很有用的&lt;a href="http://sed.sourceforge.net/sed1line_zh-CN.html"&gt;sed常用单行命令参考&lt;/a&gt;。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3651659826765695909?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3651659826765695909/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3651659826765695909' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3651659826765695909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3651659826765695909'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2009/03/sed.html' title='sed编辑器的使用'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-168305608857303074</id><published>2009-01-09T12:19:00.000-08:00</published><updated>2009-01-09T12:27:17.825-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>GnuPlot使用png terminal时找不到字体的问题</title><content type='html'>GnuPlot不同的终端（terminal）使用不同的处理字体的方法。png/jpeg/gif使用libgd，所以字体目录由&lt;tt&gt;GDFONTPATH&lt;/tt&gt;这个环境变量控制，可以直接使用TrueType字体。例如把需要用到的字体放在&lt;tt&gt;$HOME/fonts&lt;/tt&gt;目录下，在&lt;tt&gt;.bashrc&lt;/tt&gt;中添加：&lt;pre&gt;export GDFONTPATH=$HOME/fonts&lt;/pre&gt;当路径设置好后，可以用&lt;tt&gt;GNUPLOT_DEFAULT_GDFONT&lt;/tt&gt;这个环境变量设置默认字体。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-168305608857303074?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/168305608857303074/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=168305608857303074' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/168305608857303074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/168305608857303074'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2009/01/gnuplotpng-terminal.html' title='GnuPlot使用png terminal时找不到字体的问题'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-5693695764787612864</id><published>2009-01-02T13:17:00.000-08:00</published><updated>2009-01-02T13:27:54.357-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>在USB drive（U盘）上安装Linux</title><content type='html'>用&lt;a href="http://unetbootin.sourceforge.net/"&gt;UNetbootin&lt;/a&gt;可以很方便的把Linux装到U盘上，只要主板支持，就可以从U盘启动Linux。由于U盘可读写，比Live CD更方便。目前&lt;a href="http://unetbootin.sourceforge.net/"&gt;UNetbootin&lt;/a&gt;支持Fedora，Debian，Ubuntu等各种主流Linux版本。如果你的U盘比较小，可以试试&lt;a href="http://www.puppylinux.org/"&gt;Puppy Linux&lt;/a&gt;，挺小巧的一个Linux版本，只有100M左右大小。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-5693695764787612864?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/5693695764787612864/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=5693695764787612864' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/5693695764787612864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/5693695764787612864'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2009/01/usb-driveulinux.html' title='在USB drive（U盘）上安装Linux'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-2010377669023217015</id><published>2008-11-21T11:59:00.000-08:00</published><updated>2008-11-21T12:20:46.233-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><title type='text'>Mie散射计算器</title><content type='html'>&lt;a href="http://en.wikipedia.org/wiki/Mie_scattering"&gt;Mie散射理论&lt;/a&gt;为球形颗粒对于电磁波的散射提供了一套严格解，其数值计算十分复杂。&lt;a href="http://www.amazon.com/Absorption-Scattering-Particles-science-paperback/dp/0471293407/ref=si3_rdr_bb_product"&gt;Bohren和Huffman的书里&lt;/a&gt;提供了用于数值计算的Fortran代码。另外，Oregon Medical Laser Center的网页提供了一个在线的&lt;a href="http://omlc.ogi.edu/calc/mie_calc.html"&gt;Mie散射计算器&lt;/a&gt;，可以快速的计算出一些常用参数，并且给出一些图线。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-2010377669023217015?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/2010377669023217015/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=2010377669023217015' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2010377669023217015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2010377669023217015'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/11/mie.html' title='Mie散射计算器'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4334845115612354055</id><published>2008-11-19T21:46:00.000-08:00</published><updated>2009-06-22T15:23:42.557-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>GNU screen的几个常用命令</title><content type='html'>&lt;a href="http://www.gnu.org/software/screen/"&gt;GNU screen&lt;/a&gt;是命令行界面下的窗口管理器，允许用户在命令行界面下同时在几个虚拟窗口运行不同的程序。&lt;a href="http://www.gnu.org/software/screen/"&gt;GNU screen&lt;/a&gt;有一个很有用的功能：如果用户登录到远程机器上利用screen运行程序，该程序在用户切断连接之后可以继续运行，并且下次用户可以登录继续上次的操作。下面是一些常用的命令。&lt;br/&gt;&lt;br/&gt;
首先在终端执行screen命令进入程序。执行之后虽然看不到任何变化，其实screen已经启动，我们看到的就是一个虚拟终端。
&lt;ol&gt;&lt;li&gt;建立一个新的窗口（虚拟终端）：&lt;tt&gt;C-a c&lt;/tt&gt;&lt;br/&gt;也就是按Ctrl+a然后再按c
&lt;li&gt;切换到之后的窗口：&lt;tt&gt;C-a n&lt;/tt&gt;
&lt;li&gt;切换到之前的窗口：&lt;tt&gt;C-a p&lt;/tt&gt;
&lt;li&gt;切换的第N个窗口：&lt;tt&gt;C-a N&lt;/tt&gt;
&lt;li&gt;显示现有窗口列表，用上下箭头（或者类似于vi中用j和k）移动光标，按Enter选择：&lt;tt&gt;C-a "&lt;/tt&gt;
&lt;li&gt;改变当前窗口的名字：&lt;tt&gt;C-a A&lt;/tt&gt;
&lt;li&gt;关闭目前的screen但是保留其中运行的程序（detach）：&lt;tt&gt;C-a d&lt;/tt&gt;&lt;br/&gt;如果直接关闭窗口也可以有同样作用。
&lt;li&gt;运行screen继续上次在screen里运行的程序（reattach）：&lt;tt&gt;screen -r&lt;/tt&gt;
&lt;li&gt;进入拷贝模式：&lt;tt&gt;C-a [&lt;/tt&gt;&lt;br/&gt;在screen里不能向上翻屏，进入拷贝模式可以使用光标上下移动翻屏。用空格键可以选择要拷贝的文字，第一次按空格选择开始的字符，第二次选择结束的字符。
&lt;li&gt;粘贴选择的文字：&lt;tt&gt;C-a ]&lt;/tt&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4334845115612354055?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4334845115612354055/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4334845115612354055' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4334845115612354055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4334845115612354055'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/11/gnu-screen.html' title='GNU screen的几个常用命令'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4318863848375887319</id><published>2008-11-16T03:39:00.000-08:00</published><updated>2008-11-16T21:37:43.870-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux下用sopcast看电视</title><content type='html'>&lt;a href="http://www.sopcast.com/cn/"&gt;Sopcast&lt;/a&gt;是一个基于P2P技术的网络电视软件，在Linux和Windows上都可以运行。&lt;a href="http://www.sopcast.com/cn/"&gt;Sopcast&lt;/a&gt;网站提供的Linux版本倒挺简单，直接下载解压就可以用了。但是这只是一个命令行的软件。有几个图形界面可以用，觉得&lt;a href="http://code.google.com/p/gsopcast/"&gt;gsopcast&lt;/a&gt;不错，但是源代码在Fedora和Debian上编译都有问题，header文件需要改动几处。可能因为大家用的编译器不一样？编译好的文件在&lt;a href="http://www.mediafire.com/file/xjdynztdyn5/gsopcast"&gt;这里&lt;/a&gt;，是我在Debian下用gcc4.3编译的，gsopcast版本是0.4.0，可以直接下载下来用，应该不依赖特定的发行版。
&lt;br/&gt;&lt;br/&gt;
如果自己在桌面建立一个gsopcast快捷方式图标的话，似乎当从图标启动的时候，$PATH变量不起作用，所以gsopcast可能找不到sopcast的执行文件。另外，新的sopcast执行文件是sp-sc-auth，而不是以前的sp-sc。要保证正常使用，最好在/usr/local/bin目录建立一个符号链接，取名作sp-sc。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4318863848375887319?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4318863848375887319/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4318863848375887319' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4318863848375887319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4318863848375887319'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/11/linuxsopcast.html' title='Linux下用sopcast看电视'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-1050714235424421705</id><published>2008-11-10T17:31:00.001-08:00</published><updated>2008-11-13T10:54:28.272-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><category scheme='http://www.blogger.com/atom/ns#' term='摄影'/><title type='text'>光圈档数（aperture stop）的计算方法</title><content type='html'>摄影的时候计算曝光量经常用到几“档”曝光这个术语。这个曝光的“档数”（stop）也经常被称作EV（exposure value）。这个“档数”到底怎么算出来的？

曝光量是由光圈和快门共同决定的。曝光量增加一倍，就叫做曝光增加一档。当光圈一定时，曝光量和快门时间（也就是曝光时间）成正比，例如1/30秒就比1/60秒曝光增加一倍，也就是增加一档。这比较容易理解。比较容易迷惑的是光圈。

光圈一般用F数（F number或者F/#）来表示，其定义为：&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;#&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;其中f是镜头焦距，D是镜头入射孔径。如果拿起一个镜头，从前面看进去，所看到的那个圆形小孔的直径，就是镜头的入射孔径了。对于一般相机镜头，这个孔径大小是可调的，由f/#的设置来控制。有些人可能会想，既然计算曝光量，为什么不直接拿孔径大小D来算，还要定义一个什么f/#。这是因为，感光器件（胶片或者CCD）的曝光量不仅和孔径大小有关，还和焦距有关。用f/#能更准确的表示曝光量。但是这有一个前提，就是物体离镜头比较远，如果物体离镜头很近（例如显微镜），就不能用f/#来算曝光量了。这时候一个更常用的量是数值孔径（numerical aperture或NA）。

因为孔径D在分母上，所以f/#数值越小，光圈越大。例如光圈f/2比f/4要大。但是f/2并非比f/4大一档光圈，而是二档。因为镜头通光量和孔径面积成正比，也就是和孔径大小的平方成正比。所以，比f/4大一档的光圈是&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;&amp;#8773;&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;实际上还会经常碰到分数表示，例如半档，1/3档。对于普遍情况下，可以用下面的公式计算两个光圈究竟差几档：&lt;table width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;log&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;#&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mi&gt;#&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;例如，f/1.4和f/1.8相差&lt;table width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;log&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mn&gt;1.8&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;/&lt;/mo&gt;&lt;mn&gt;1.4&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;&amp;#8773;&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-1050714235424421705?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/1050714235424421705/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=1050714235424421705' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/1050714235424421705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/1050714235424421705'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/11/aperture-stop.html' title='光圈档数（aperture stop）的计算方法'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4060635574173857195</id><published>2008-11-04T10:53:00.003-08:00</published><updated>2008-11-10T00:21:09.590-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='LaTeX'/><title type='text'>LaTeX CJK生成PDF文件的中文搜索以及复制粘贴</title><content type='html'>以前的blog介绍过如何&lt;a href="http://yusufma.blogspot.com/2007/09/fedora-7latex-cjk.html"&gt;在Fedora下安装配置LaTeX CJK&lt;/a&gt;，其他的Linux发行版也可以用类似的方法。但是如果直接用ps2pdf或者dvipdfm生成PDF文件，这样的PDF文件没办法搜索中文，也不能复制粘贴中文内容。可以用&lt;a href="http://project.ktug.or.kr/dvipdfmx/"&gt;dvipdfmx&lt;/a&gt;将生成的dvi文件转换为PDF，这样生成的PDF可以完成上述功能。

另外，我把自己的LaTeX CJK的字体和配置文件放到了网上，地址是&lt;a href="http://www.mediafire.com/file/dwutwxjjmdn/texmf.tar.gz"&gt;http://www.mediafire.com/file/dwutwxjjmdn/texmf.tar.gz&lt;/a&gt;，有需要的朋友可以去下载。这个文件包含CJK包和三个字体，分别是Fedora自带的文鼎宋体，楷体，还有文泉驿的黑体，应该满足大多数应用。下载后解压到$HOME目录，执行texhash $HOME/texmf。不需要进行任何其他配置。下面的文件可以用来测试安装结果：&lt;pre&gt;\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK}{UTF8}{song}
CJK 测试。

\emph{CJK 测试。}

\textbf{CJK 测试。}
\end{CJK}
\end{document}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4060635574173857195?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4060635574173857195/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4060635574173857195' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4060635574173857195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4060635574173857195'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/11/latex-cjkpdf.html' title='LaTeX CJK生成PDF文件的中文搜索以及复制粘贴'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-7353344898628260201</id><published>2008-10-31T22:30:00.003-07:00</published><updated>2008-11-10T00:25:05.624-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='口琴'/><category scheme='http://www.blogger.com/atom/ns#' term='网页'/><title type='text'>用WebPlayer在网页里播放mp3</title><content type='html'>&lt;a href="http://www.webminster.org/webplayer/"&gt;WebPlayer&lt;/a&gt;利用Flash技术，允许你在你的网页里直接播放mp3文件，而不需要任何其他软件。&lt;a href="http://www.webminster.org/webplayer/"&gt;WebPlayer&lt;/a&gt;使用非常简单，只要下载一个很小的文件放在你的网站上，把要播放的mp3文件也放上去，再在你的网页的HTML文件里加几行代码，就可以了。

下面是我用口琴演奏的《天鹅》。
&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:180%;" &gt;祝老婆纪念日快乐！&lt;/span&gt;
&lt;/div&gt;
&lt;object data="http://www2.hawaii.edu/~huanm/webplayer.swf" type="application/x-shockwave-flash" height="64" width="240"&gt;
&lt;param name="movie" value="http://www2.hawaii.edu/~huanm/webplayer.swf"&gt;
&lt;param name="menu" value="false"&gt;
&lt;param name="scale" value="noscale"&gt;
&lt;param name="bgcolor" value="#A3E028"&gt;
&lt;param name="flashvars" value="src=https://webfiles.uci.edu/huanm/swan.mp3&amp;amp;autostart=no&amp;amp;loop=no"&gt;
&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-7353344898628260201?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/7353344898628260201/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=7353344898628260201' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/7353344898628260201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/7353344898628260201'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/10/webplayermp3.html' title='用WebPlayer在网页里播放mp3'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-8590717139535268349</id><published>2008-10-29T16:53:00.027-07:00</published><updated>2009-12-22T14:11:58.220-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><title type='text'>光束质量因子M2（M squared）的测量</title><content type='html'>各种文献经常会用M&lt;sup&gt;2&lt;/sup&gt;（M squared）因子来评价光束的质量。到底什么是M&lt;sup&gt;2&lt;/sup&gt;？一般文献会告诉你，M&lt;sup&gt;2&lt;/sup&gt;就是一个光束的腰半径和发散角的乘积跟TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束相比的比值。M&lt;sup&gt;2&lt;/sup&gt;&amp;#8805;1，因为TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束的该乘积具有最小值。要想从实验得到M&lt;sup&gt;2&lt;/sup&gt;的值，不可避免的要涉及光束半径测量的问题。

&lt;ol&gt;&lt;li&gt;光束半径&lt;/li&gt;
光束没有明显的边界，因此它的半径有很多不同定义方法。对于高斯光束，最常见的定义就是1/e&lt;sup&gt;2&lt;/sup&gt;半径，也就是把光强下降到最大值的1/e&lt;sup&gt;2&lt;/sup&gt;的位置定义为半径，通常在公式里以W表示。在统计学里，我们对高斯分布的宽度（半径）使用的是方差，也就是说，对于高斯分布函数&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
它的方差（二次矩）半径为&amp;#963;。把这个公式和一维高斯光束光强公式&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;I&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msubsup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msubsup&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;比较，就会发现W=2&amp;#963;。无论是W还是&amp;#963;，实验上都没办法直接测量。但是如下定义的宽度实验上是可以测量的：用一个刀片，横向扫描过光束，这样一部分光束被刀片遮挡，另外一部分会通过。如果通过的光强等于总光强的90％时刀片坐标为x&lt;sub&gt;1&lt;/sub&gt;，通过的光强等于总光强的10％时刀片坐标为x&lt;sub&gt;2&lt;/sub&gt;，这样光束的宽度可以用&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy="false"&gt;&amp;#124;&lt;/mo&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;&amp;#124;&lt;/mo&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;表示。当然，这个比例不局限于10％和90％，也可能是其他值。这种实验方法称为“刀锋（knife edge）法”。这样的话，我们需要找出一个D和W（或者&amp;#963;）的关系。可惜，这个关系依赖于光束的光强分布，所以不存在一种普遍适用的关系。但是对于TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束，这个关系不难得到。

&lt;li&gt;TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束&lt;/li&gt;
因为刀片在一维方向移动，所以我们只要对光强进行一维积分就可以了。高斯函数的积分为&lt;a href="http://zh.wikipedia.org/wiki/%E8%AF%AF%E5%B7%AE%E5%87%BD%E6%95%B0"&gt;误差函数&lt;/a&gt;。例如我们计算宽度D内通过的光强占总光强的比例：&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msubsup&gt;&lt;mrow&gt;&lt;mo&gt;&amp;int;&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/msubsup&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mi&gt;&amp;ensp;&lt;/mi&gt;&lt;mi fontstyle="normal"&gt;d&lt;/mi&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msubsup&gt;&lt;mrow&gt;&lt;mo&gt;&amp;int;&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;&amp;infin;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;&amp;infin;&lt;/mi&gt;&lt;/mrow&gt;&lt;/msubsup&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mi&gt;&amp;ensp;&lt;/mi&gt;&lt;mi fontstyle="normal"&gt;d&lt;/mi&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi fontstyle="normal"&gt;erf&lt;/mi&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
按照上面的例子，这个比值应该是80％。通过查表或者数值计算，我们可以得到&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;2816&lt;/mn&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5631&lt;/mn&gt;&lt;mi&gt;&amp;sigma;&lt;/mi&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
这是TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束的结果。对于其他分布种类的光束，这个结果会有变化。

&lt;li&gt;M&lt;sup&gt;2&lt;/sup&gt;因子&lt;/li&gt;
对于TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束来讲，光束半径在光轴方向（z方向）的变化可以表示为&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msubsup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msubsup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;&amp;lambda;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;&amp;pi;&lt;/mi&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
其中z&lt;sub&gt;0&lt;/sub&gt;表示TEM&lt;sub&gt;00&lt;/sub&gt;高斯模式腰的位置。对于一般光束，我们已经提到过，光束发散程度一定超过TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束，所以可以引入一个M&lt;sup&gt;2&lt;/sup&gt;因子，这样一般光束半径可以表示为&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msubsup&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msubsup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo&gt;&amp;times;&lt;/mo&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;&amp;lambda;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;&amp;pi;&lt;/mi&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
上述各式均是在某单一横向方向（例如x)，对于一般光束，x和y方向可能有不同的半径和M&lt;sup&gt;2&lt;/sup&gt;（例如半导体激光），甚至各个方向都不相同，这时候就需要更多方向上的测量才能确定光束分布。M&lt;sup&gt;2&lt;/sup&gt;可以作为光束质量的一个量度。M&lt;sup&gt;2&lt;/sup&gt;越接近1，光束质量越好，发散越小，聚焦时形成的斑点越小。

&lt;li&gt;刀锋法测量&lt;/li&gt;
上面的例子中，我们用10％和90％作为光束宽度的测量标准，那么可不可以用其他数值呢？另外，上面得到的D和W之间的关系只对于TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束适用，那么一般的光束半径如何测量呢？&lt;a href="http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=83346"&gt;Siegman的一篇论文&lt;/a&gt;阐述了这个问题，结论是对于绝大多数激光光束，如果阈值选择在8.5％到11.6％之间，TEM&lt;sub&gt;00&lt;/sub&gt;高斯光束的结果都可以作为很好的近似，10％无疑是一个很好的折衷。其实对于大多数激光光束而言，TEM&lt;sub&gt;00&lt;/sub&gt;都是主要成分，这样的近似在大多数时候都是没什么问题的。

测量时，可以在不同的位置z多测几组，然后进行拟合，得到光束的M&lt;sup&gt;2&lt;/sup&gt;和其他各个参数。
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-8590717139535268349?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/8590717139535268349/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=8590717139535268349' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8590717139535268349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8590717139535268349'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/10/m-2.html' title='光束质量因子M&lt;sup&gt;2&lt;/sup&gt;（M squared）的测量'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-2740446243785275203</id><published>2008-10-28T15:58:00.004-07:00</published><updated>2008-11-10T00:25:21.873-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='网页'/><title type='text'>让blogger支持MathML公式输出</title><content type='html'>我想在我的blog里显示公式怎么办？我可以把每个公式变成图片文件，然后把公式作为图片显示。我不需要截屏软件，&lt;a href="http://www.openoffice.org/"&gt;OpenOffice&lt;/a&gt;可以很方便的把包含公式的文档转换为包含图片的HTML文件。但是这么做太笨了。更好的办法是用&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;在网页上显示公式。

&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;是&lt;a href="http://www.w3.org/XML/"&gt;XML&lt;/a&gt;的一个应用，是&lt;a href="http://www.w3.org/"&gt;W3C&lt;/a&gt;推荐使用的网页数学公式显示方案。遗憾的是，目前不是所有的浏览器都支持&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;。&lt;a href="http://www.mozilla.com/firefox/"&gt;Firefox&lt;/a&gt;本身包含对&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;的支持，但是你可能需要安装显示数学公式需要的字体。如果你使用Linux，你的发行版很可能包含（甚至已经安装）了该字体，请以mathml为关键词搜索以确定是否已经安装。如果你不幸使用Windows，请到&lt;a href="http://web.mit.edu/is/products/mathml/"&gt;这里&lt;/a&gt;按照说明自行安装字体。如果你更不幸使用IE浏览器，那只好自生自灭了。（开个玩笑，请安装&lt;a href="http://www.dessci.com/en/products/mathplayer/"&gt;MathPlayer&lt;/a&gt;插件）。

现在你可以到&lt;a href="http://www.w3.org/Math/XSL/pmathml2.xml"&gt;这里&lt;/a&gt;测试一下你的浏览器是不是可以正确显示MathML公式了。能显示，很好。可是，blogger并不能自动支持&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;的显示，因为blogger的网页扩展名都是html，浏览器不会自动按照xml来显示。这个问题可以这么解决：到&lt;a href="http://www1.chapman.edu/~jipsen/mathml/mathhtml/"&gt;这里&lt;/a&gt;下载一个小javascript文件，把这个文件直接放到你的blogger template文件的&lt;tt&gt;head&lt;/tt&gt;里面，或者放到互联网上某个地方，在template的&lt;tt&gt;head&lt;/tt&gt;里面加入下面一行：&lt;pre&gt;&amp;#60;script type="text/javascript" src="javascript文件的链接"&amp;#62;&amp;#60;/script&amp;#62;&lt;/pre&gt;这样blogger就可以显示你的&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;公式了。

&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;语法非常复杂，要想直接用&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;写出一个公式并不容易。&lt;a href="http://hutchinson.belmont.ma.us/tth/mml/"&gt;TtM&lt;/a&gt;是个把&lt;a href="http://www.latex-project.org/"&gt;LaTeX&lt;/a&gt;公式转换成&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;代码的小工具。这下就方便多了。把转换好的&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;代码复制到你的blog就可以了。

下面是一个&lt;a href="http://www.w3.org/Math/"&gt;MathML&lt;/a&gt;显示公式的例子：
&lt;table width="100%"&gt;&lt;tr&gt;&lt;td align="center"&gt;
    &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
    &lt;mstyle displaystyle="true"&gt;&lt;mrow&gt;&lt;mi&gt;U&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mi&gt;exp&lt;/mi&gt;&lt;mrow&gt;&lt;mo&gt;[&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;rho;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;W&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;]&lt;/mo&gt;&lt;/mrow&gt;&lt;mi&gt;exp&lt;/mi&gt;&lt;mrow&gt;&lt;mo&gt;[&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;jkz&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;jk&lt;/mi&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mrow&gt;&lt;mi&gt;&amp;rho;&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mi&gt;R&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;j&lt;/mi&gt;&lt;mi&gt;&amp;zeta;&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;mo&gt;]&lt;/mo&gt;&lt;/mrow&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/math&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-2740446243785275203?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/2740446243785275203/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=2740446243785275203' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2740446243785275203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2740446243785275203'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/10/bloggermathml.html' title='让blogger支持MathML公式输出'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-3786946987573467830</id><published>2008-10-21T23:15:00.003-07:00</published><updated>2008-11-10T00:25:35.729-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>不用重启切换runlevel</title><content type='html'>Linux下telinit命令允许不重启的情况下切换runlevel。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3786946987573467830?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3786946987573467830/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3786946987573467830' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3786946987573467830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3786946987573467830'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/10/runlevel.html' title='不用重启切换runlevel'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-3049817224641420509</id><published>2008-10-19T00:23:00.014-07:00</published><updated>2008-11-10T00:25:35.729-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>魔术组合键SysRq</title><content type='html'>很多用户不熟悉SysRq键到底有什么用，甚至很多用户根本没注意过电脑键盘上还有这么一个键存在。在Linux系统出现问题时，只要内核没有完全崩溃，SysRq就可以为我们提供一个诊断和控制内核的途径。SysRq键的使用方法是同时按下：&lt;pre&gt;Alt + SysRq + CommandKey&lt;/pre&gt;有些键盘无法同时处理那么多键，例如一些笔记本的键盘，很可能还需要按下额外的Fn键。这时候可以按照下面的顺序：&lt;pre&gt;按住Alt不放 =&gt; 按下并放开SysRq =&gt; 按下CommandKey =&gt; 放开所有键&lt;/pre&gt;Fedora默认是不开启SysRq功能的。如果想开启这项功能，可以修改&lt;tt&gt;/etc/sysctl.conf&lt;/tt&gt;文件，把&lt;tt&gt;kernel.sysrq&lt;/tt&gt;设置为1：&lt;pre&gt;kernel.sysrq = 1&lt;/pre&gt;
常用的&lt;tt&gt;CommandKey&lt;/tt&gt;有如下这些：&lt;table border="1"&gt;&lt;tr&gt;&lt;th&gt;CommandKey&lt;/th&gt;&lt;th&gt;功能&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;m&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;目前内存信息&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;t&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;目前任务信息&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;s&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;同步所有挂载文件系统&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;u&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;重新挂载所有文件系统为只读&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;b&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;立即重启（不sync或者unmount）&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;r&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;键盘从raw模式切换到XLATE模式&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;k&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;Secure Access Key杀死现在终端上所有程序&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;c&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;故意让系统崩溃&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;e&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;向除init外所有进程发出SIGTERM信号&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;tt&gt;i&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;向除init外所有进程发出SIGKILL信号&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
如果syslogd仍然起作用，SysRq触发结果将会保存在&lt;tt&gt;/var/log/messages&lt;/tt&gt;。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3049817224641420509?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3049817224641420509/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3049817224641420509' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3049817224641420509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3049817224641420509'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/10/sysrq.html' title='魔术组合键SysRq'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-1556853883168799080</id><published>2008-09-30T14:30:00.004-07:00</published><updated>2008-11-10T00:29:09.197-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxima'/><title type='text'>如何使用Maxima（四）</title><content type='html'>&lt;h5&gt;矩阵运算&lt;/h5&gt;
&lt;ol&gt;
&lt;li&gt;输入矩阵&lt;/li&gt;
可以用&lt;tt&gt;entermatrix(m,n)&lt;/tt&gt;输入一个m乘n矩阵。如果&lt;tt&gt;m=n&lt;/tt&gt;，Maxima会自动询问是什么类型的矩阵，以减少输入的工作量。
&lt;pre&gt;(%i1) m: entermatrix(2,2);

Is the matrix  1. Diagonal  2. Symmetric  3. Antisymmetric  4. General
Answer 1, 2, 3 or 4 :
4;
Row 1 Column 1:
a;
Row 1 Column 2:
1;
Row 2 Column 1:
0;
Row 2 Column 2:
b;

Matrix entered.
                                  [ a  1 ]
(%o1)                             [      ]
                                  [ 0  b ]&lt;/pre&gt;
也可以用&lt;tt&gt;matrix&lt;/tt&gt;以行为单位输入&lt;pre&gt;(%i2) matrix([a,b,c],[1,2,3],[d,e,f]);
                                  [ a  b  c ]
                                  [         ]
(%o2)                             [ 1  2  3 ]
                                  [         ]
                                  [ d  e  f ]&lt;/pre&gt;
&lt;li&gt;矩阵的转置，逆和行列式&lt;/li&gt;&lt;pre&gt;(%i3) transpose(m);
                                   [ a  0 ]
(%o3)                              [      ]
                                   [ 1  b ]
(%i4) invert(m);
                                 [ 1     1  ]
                                 [ -  - --- ]
                                 [ a    a b ]
(%o4)                            [          ]
                                 [      1   ]
                                 [ 0    -   ]
                                 [      b   ]
(%i5) determinant(m);
(%o5)                                 a b&lt;/pre&gt;
&lt;li&gt;矩阵的代数运算&lt;/li&gt;&lt;pre&gt;(%i6) m . %o4;
                                   [ 1  0 ]
(%o6)                              [      ]
                                   [ 0  1 ]
(%i7) %o6 + %o4;
                               [ 1         1  ]
                               [ - + 1  - --- ]
                               [ a        a b ]
(%o7)                          [              ]
                               [        1     ]
                               [   0    - + 1 ]
                               [        b     ]&lt;/pre&gt;
&lt;li&gt;提取矩阵的某一行或某一列&lt;/li&gt;&lt;pre&gt;(%i8) row(m,1);
(%o8)                              [ a  1 ]
(%i9) col(%o7,2);
                                   [    1  ]
                                   [ - --- ]
                                   [   a b ]
(%o9)                              [       ]
                                   [ 1     ]
                                   [ - + 1 ]
                                   [ b     ]&lt;/pre&gt;
&lt;li&gt;为矩阵增加一行（列）或几行（列）&lt;/li&gt;&lt;pre&gt;(%i10) addcol(m,[0,1],[c,1]);
                                 [ a  1  0  c ]
(%o10)                           [            ]
                                 [ 0  b  1  1 ]
(%i11) addrow(%o10,[1,0,0,1]);
                                [ a  1  0  c ]
                                [            ]
(%o11)                          [ 0  b  1  1 ]
                                [            ]
                                [ 1  0  0  1 ]&lt;/pre&gt;
&lt;li&gt;另外，&lt;tt&gt;+, -, *, /, ^, exp(x)&lt;/tt&gt;等运算都可以应用于矩阵，这些运算符分别作用于每一个元素。&lt;/li&gt;&lt;pre&gt;(%i12) m/c;
                                   [ a  1 ]
                                   [ -  - ]
                                   [ c  c ]
(%o12)                             [      ]
                                   [    b ]
                                   [ 0  - ]
                                   [    c ]&lt;/pre&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-1556853883168799080?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/1556853883168799080/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=1556853883168799080' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/1556853883168799080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/1556853883168799080'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/09/maxima.html' title='如何使用Maxima（四）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-6674501794942212928</id><published>2008-09-25T16:43:00.004-07:00</published><updated>2008-11-10T00:34:03.621-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Vim输入特殊字符（例如希腊字母）</title><content type='html'>&lt;a href="http://www.vim.org/htmldoc/digraph.html"&gt;Digraphs&lt;/a&gt;可以用来在Vim中输入特殊字符。&lt;a href="http://www.vim.org/htmldoc/digraph.html"&gt;Digraphs&lt;/a&gt;使用两个一般字符来表示一个特殊字符，输入之前先按&lt;tt&gt;Ctrl+K&lt;/tt&gt;，然后紧接着键入两个一般字符。

例如要键入拼音字母&amp;uuml;，可以先按&lt;tt&gt;Ctrl+K&lt;/tt&gt;，然后键入&lt;tt&gt;u:&lt;/tt&gt;。如果要键入希腊字母&amp;#952;，可以先按&lt;tt&gt;Ctrl+K&lt;/tt&gt;，然后键入&lt;tt&gt;h*&lt;/tt&gt;。

这个双字符组合比较有规律，例如第二个字符
&lt;ul&gt;&lt;li&gt;&lt;tt&gt;*&lt;/tt&gt;表示希腊字母&lt;/li&gt;
&lt;li&gt;&lt;tt&gt;：&lt;/tt&gt;表示字母上面加两点&lt;/li&gt;
&lt;li&gt;&lt;tt&gt;R&lt;/tt&gt;表示罗马数字&lt;/li&gt;
&lt;/ul&gt;等等。默认的组合列表可以在Vim里用&lt;tt&gt;:dig&lt;/tt&gt;命令查看。另外，还可以手动添加字符。详细说明可以参考&lt;a href="http://www.vim.org/htmldoc/digraph.html"&gt;Vim Digraphs&lt;/a&gt;文档。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-6674501794942212928?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/6674501794942212928/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=6674501794942212928' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/6674501794942212928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/6674501794942212928'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/09/vim.html' title='Vim输入特殊字符（例如希腊字母）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-4514931220826459603</id><published>2008-09-22T14:35:00.004-07:00</published><updated>2008-11-10T00:26:41.173-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>改变Linux终端分辨率</title><content type='html'>在&lt;tt&gt;grub.conf&lt;/tt&gt;文件里kernel启动选项加入参数
&lt;pre&gt;vga=xxx&lt;/pre&gt;
其中&lt;tt&gt;xxx&lt;/tt&gt;是代表显示模式的数字，具体多少可以从&lt;a href="http://en.wikipedia.org/wiki/VESA_BIOS_Extensions"&gt;这里&lt;/a&gt;查出来。下面是一些常用的数值：&lt;table border="1"&gt;
&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;640x480&lt;/th&gt;&lt;th&gt;800x600&lt;/th&gt;&lt;th&gt;1024x768&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style="font-weight:bold;"&gt;256 color palette&lt;/span&gt;&lt;/td&gt;&lt;td&gt;769&lt;/td&gt;&lt;td&gt;771&lt;/td&gt;&lt;td&gt;773&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style="font-weight:bold;"&gt;16-bit&lt;/span&gt;&lt;/td&gt;&lt;td&gt;785&lt;/td&gt;&lt;td&gt;788&lt;/td&gt;&lt;td&gt;791&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style="font-weight:bold;"&gt;24-bit&lt;/span&gt;&lt;/td&gt;&lt;td&gt;786&lt;/td&gt;&lt;td&gt;789&lt;/td&gt;&lt;td&gt;792&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-4514931220826459603?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/4514931220826459603/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=4514931220826459603' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4514931220826459603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/4514931220826459603'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/09/linux_22.html' title='改变Linux终端分辨率'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-8766994428758168433</id><published>2008-09-20T22:17:00.002-07:00</published><updated>2008-11-10T00:26:41.175-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>在Linux下合法使用微软字体</title><content type='html'>&lt;a href="http://corefonts.sourceforge.net/"&gt;corefonts&lt;/a&gt;提供了绕开Windows授权使用微软字体的方法，可以很方便的得到rpm安装包。&lt;a href="http://www.mediafire.com/?sharekey=c84ea13de2b43d75b4e0c5efb3960d79d1b72e9cd3a260c0"&gt;这里&lt;/a&gt;是我在Fedora 9上编译好的rpm文件，以方便以后使用。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-8766994428758168433?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/8766994428758168433/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=8766994428758168433' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8766994428758168433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8766994428758168433'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/09/linux.html' title='在Linux下合法使用微软字体'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-2530180806880360703</id><published>2008-08-20T16:53:00.003-07:00</published><updated>2008-11-10T00:31:15.946-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MetaPost'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>在Xfig或者Gnuplot生成的图画中加入公式或label</title><content type='html'>&lt;a href="http://www.xfig.org/"&gt;Xfig&lt;/a&gt;和&lt;a href="http://www.gnuplot.info/"&gt;Gnuplot&lt;/a&gt;都可以把图画输出为&lt;a href="http://plan9.bell-labs.com/who/hobby/MetaPost.html"&gt;MetaPost&lt;/a&gt;文件。用&lt;a href="http://plan9.bell-labs.com/who/hobby/MetaPost.html"&gt;MetaPost&lt;/a&gt;的&lt;a href="http://yusufma.blogspot.com/2006/08/metapost_13.html"&gt;label&lt;/a&gt;命令就可以方便的插入公式或者标签。修改后的&lt;a href="http://plan9.bell-labs.com/who/hobby/MetaPost.html"&gt;MetaPost&lt;/a&gt;文件可以借助mpost和&lt;a href="http://www.ida.liu.se/~joned/download/mps2eps/"&gt;mps2eps&lt;/a&gt;生成eps文件，具体方法可以参考&lt;a href="http://yusufma.blogspot.com/2006/08/metapost.html"&gt;这里&lt;/a&gt;。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-2530180806880360703?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/2530180806880360703/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=2530180806880360703' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2530180806880360703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2530180806880360703'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/08/xfiggnuplotlabel.html' title='在Xfig或者Gnuplot生成的图画中加入公式或label'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-3943145147249252196</id><published>2008-04-23T13:44:00.002-07:00</published><updated>2008-11-10T00:26:41.177-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>新的Linux Flash Player</title><content type='html'>仅仅安装Adobe的flash-plugin不能保证新的Linux Flash Player工作，还需要安装libflashsupport。最简单的办法是到Adobe的下载网站使用YUM for Linux。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3943145147249252196?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3943145147249252196/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3943145147249252196' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3943145147249252196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3943145147249252196'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/04/linux-flash-player.html' title='新的Linux Flash Player'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-6919710821759716152</id><published>2008-04-20T14:42:00.002-07:00</published><updated>2008-11-10T00:26:41.178-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>新安装Fedora 9 Preview</title><content type='html'>KDE4一开始不太适应，过了一段时间觉得还不错。不知道什么原因，每次log out之后，键盘就不管用了，用鼠标restart X就没有问题了，大概是kdm的bug。可以设置kdmrc让kdm每次log out后重启X。在kdmrc中&lt;pre&gt;[X-*-Core]&lt;/pre&gt;后面增加一行：&lt;pre&gt;TerminateServer=true&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-6919710821759716152?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/6919710821759716152/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=6919710821759716152' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/6919710821759716152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/6919710821759716152'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2008/04/fedora-9-preview.html' title='新安装Fedora 9 Preview'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-3584056849548585837</id><published>2007-12-07T16:02:00.000-08:00</published><updated>2009-11-25T11:28:01.562-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asymptote'/><category scheme='http://www.blogger.com/atom/ns#' term='MetaPost'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>矢量绘图语言Asymptote（一）</title><content type='html'>&lt;a href="http://asymptote.sourceforge.net/"&gt;Asymptote&lt;/a&gt;是从MetaPost扩展而来的矢量数学绘图语言。它使用浮点数运算，支持三维图形，使用类似C++语法。&lt;a href="http://asymptote.sourceforge.net/"&gt;Asymptote&lt;/a&gt;的很多语法和MetaPost类似，但是也有不同。下面简单介绍它的使用方法。假设&lt;a href="http://asymptote.sourceforge.net/"&gt;Asymptote&lt;/a&gt;命令存在文件&lt;tt&gt;test.asy&lt;/tt&gt;中，则执行下面的命令可以生成&lt;tt&gt;eps&lt;/tt&gt;文件：
&lt;pre&gt;asy -V test&lt;/pre&gt;其中&lt;tt&gt;-V&lt;/tt&gt;参数会自动打开一个&lt;tt&gt;PostScript&lt;/tt&gt;浏览窗口，这样可以立即浏览生成的图形。
&lt;ol&gt;
&lt;li&gt;简单直线图形
  &lt;table border="0" cellpadding="5"&gt;&lt;tr align="center"&gt;&lt;th&gt;Asymptote代码&lt;/th&gt;&lt;th&gt;生成的图像&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;draw((0,0)--(100,0)--(100,100)
--(0,100)--cycle);&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_Tl72SXWMTF4/R1nnRlID-VI/AAAAAAAAABk/5_VsSNbSGbI/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_Tl72SXWMTF4/R1nnRlID-VI/AAAAAAAAABk/5_VsSNbSGbI/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141394738829850962" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;pre&gt;size(0,3cm);
draw(unitsquare);&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_Tl72SXWMTF4/R1nqVFID-WI/AAAAAAAAABs/kJyBDvkwOyA/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_Tl72SXWMTF4/R1nqVFID-WI/AAAAAAAAABs/kJyBDvkwOyA/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141398097494276450" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;pre&gt;unitsize(2cm,3cm);
draw(unitsquare);
label("$A$",(0,0),SW);
label("$B$",(1,0),SE);
label("$C$",(1,1),NE);
label("$D$",(0,1),NW);&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Tl72SXWMTF4/R1nwa1ID-XI/AAAAAAAAAB0/-GQFIB4qE14/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_Tl72SXWMTF4/R1nwa1ID-XI/AAAAAAAAAB0/-GQFIB4qE14/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141404793348290930" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;li&gt;曲线图形
  &lt;table border="0" cellpadding="5"&gt;&lt;tr align="center"&gt;&lt;th&gt;Asymptote代码&lt;/th&gt;&lt;th&gt;生成的图像&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;draw((0,0){up}..(100,25){right}..(200,0){down});&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_Tl72SXWMTF4/R1n4QVID-YI/AAAAAAAAAB8/onGpoDMUYQY/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_Tl72SXWMTF4/R1n4QVID-YI/AAAAAAAAAB8/onGpoDMUYQY/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141413409052686722" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;pre&gt;draw((0,0){up}::(100,25){right}::(200,0){down});&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_Tl72SXWMTF4/R1n4xVID-ZI/AAAAAAAAACE/JobUG_-5SJw/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_Tl72SXWMTF4/R1n4xVID-ZI/AAAAAAAAACE/JobUG_-5SJw/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141413975988369810" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;pre&gt;size(0,100);
path unitcircle=E..N..W..S..cycle;
path g=scale(2)*unitcircle;
filldraw(unitcircle^^reverse(g),yellow,black);&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Tl72SXWMTF4/R1n5_1ID-aI/AAAAAAAAACM/Pa5WrAeyhf4/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_Tl72SXWMTF4/R1n5_1ID-aI/AAAAAAAAACM/Pa5WrAeyhf4/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141415324608100770" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;pre&gt;size(200);

real mexican(real x)
{return (1-8x^2)*exp(-(4x^2));}

int n=30;
real a=1.5;
real width=2a/n;

guide hat;
path solved;

for (int i=0; i&amp;lt;n; ++i) {
  real t=-a+i*width;
  pair z=(t,mexican(t));
  hat=hat..z;
  solved=solved..z;
}

draw(hat);
dot(hat,red);
draw(solved,dashed);&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_Tl72SXWMTF4/R1oKG1ID-bI/AAAAAAAAACU/foeb8JM8VT0/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_Tl72SXWMTF4/R1oKG1ID-bI/AAAAAAAAACU/foeb8JM8VT0/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141433037053229490" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;/li&gt;
&lt;li&gt;graph module
  &lt;table border="0" cellpadding="5"&gt;&lt;tr align="center"&gt;&lt;th&gt;Asymptote代码&lt;/th&gt;&lt;th&gt;生成的图像&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;import graph;
size(150,0);

real f(real x) {return exp(x);}
pair F(real x) {return (x,f(x));}

xaxis("$x$");
yaxis("$y$",0);

draw(graph(f,-4,2,operator ..),red);

labely(1,E);
label("$e^x$",F(1),SE);&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_Tl72SXWMTF4/R1oWFFID-cI/AAAAAAAAACc/rb_hJPagf9w/s1600-h/test.png"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_Tl72SXWMTF4/R1oWFFID-cI/AAAAAAAAACc/rb_hJPagf9w/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5141446201127991746" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-3584056849548585837?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/3584056849548585837/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=3584056849548585837' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3584056849548585837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/3584056849548585837'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2007/12/asymptote.html' title='矢量绘图语言Asymptote（一）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_Tl72SXWMTF4/R1nnRlID-VI/AAAAAAAAABk/5_VsSNbSGbI/s72-c/test.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-6900293595628088583</id><published>2007-11-13T14:37:00.000-08:00</published><updated>2008-11-10T00:29:36.523-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><title type='text'>计算折射率和其他光学变换的网站</title><content type='html'>计算折射率和其他光学变换的网站
&lt;p&gt;&lt;a href="http://www.luxpop.com/"&gt;http://www.luxpop.com/&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-6900293595628088583?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/6900293595628088583/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=6900293595628088583' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/6900293595628088583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/6900293595628088583'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2007/11/blog-post.html' title='计算折射率和其他光学变换的网站'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-2562004468185815167</id><published>2007-09-03T14:48:00.000-07:00</published><updated>2008-11-10T00:30:02.401-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='LaTeX'/><title type='text'>在Fedora 7下安装LaTeX CJK</title><content type='html'>LaTeX CJK的安装一向都很麻烦，主要是字体安装和配置不容易。这里主要根据Edward Lee的Blog（&lt;a href="http://blog.bs2.to/post/EdwardLee/7672"&gt;http://blog.bs2.to/post/EdwardLee/7672&lt;/a&gt;）里的方法进行配置。
&lt;ol&gt;
  &lt;li&gt;下载安装CJK包&lt;/li&gt;
到&lt;a href="http://cjk.ffii.org/"&gt;http://cjk.ffii.org/&lt;/a&gt;下载CJK扩展包，解压缩到“&lt;tt&gt;$HOME/texmf/tex/latex/CJK/&lt;/tt&gt;”。这里不准备修改系统文件，所以只安装到用户目录。

  &lt;li&gt;生成Type1字体和配置文件&lt;/li&gt;
这里使用CJK自带的&lt;a href="http://fontforge.sourceforge.net/"&gt;FontForge&lt;/a&gt;脚本文件&lt;tt&gt;subfonts.pe&lt;/tt&gt;生成Type1字体。

首先建一个目录，例如&lt;tt&gt;$HOME/song/&lt;/tt&gt;，我们就在这个目录里生成字体。把我们想要的TrueType字体拷贝到这个目录中，我这里使用的是Fedora自带的文鼎Unicode字体&lt;tt&gt;uming.ttf&lt;/tt&gt;。再把CJK包&lt;tt&gt;utils&lt;/tt&gt;里面的&lt;tt&gt;subfonts.pe&lt;/tt&gt;拷贝到这个目录。最后到&lt;a href="http://delloye.free.fr/Unicode.sfd"&gt;http://delloye.free.fr/Unicode.sfd&lt;/a&gt;下载&lt;tt&gt;Unicode.sfd&lt;/tt&gt;文件到同一个目录。执行下面的命令：&lt;pre&gt;fontforge -script subfonts.pe uming.ttf song Unicode.sfd&lt;/pre&gt;这个命令执行的时间比较长。执行完之后，还在该目录执行下面命令生成map文件：&lt;pre&gt;for i in *.tfm
do
cat &gt;&gt; song.map &lt;&lt; EOF
${i%.tfm} ${i%.tfm} &lt; ${i%.tfm}.pfb
EOF
done&lt;/pre&gt;按照Edward Lee的方法，还需要生成fd文件。但是我们给字体起的名字song和CJK自带的&lt;tt&gt;c70song.fd&lt;/tt&gt;文件冲突了，如果用Edward Lee的方法反倒会出问题。我们有个更简单的解决办法，直接把&lt;tt&gt;c70song.fd&lt;/tt&gt;修改一下。CJK自带的&lt;tt&gt;c70song.fd&lt;/tt&gt;文件在&lt;tt&gt;$HOME/texmf/tex/latex/CJK/texinput/UTF8/&lt;/tt&gt;目录下，内容如下：&lt;pre&gt;% This is the file c70song.fd of the CJK package
%   for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e
%
% created by Werner Lemberg &lt;wl@gnu.org&gt;
%
% Version 4.7.0 (17-Oct-2006)

\def\fileversion{4.7.0}
\def\filedate{2006/10/17}
\ProvidesFile{c70song.fd}[\filedate\space\fileversion]


% character set: Unicode U+0080 - U+FFFD
% font encoding: Unicode

\DeclareFontFamily{C70}{song}{\hyphenchar \font\m@ne}

\DeclareFontShape{C70}{song}{m}{n}{&lt;-&gt; CJK * cyberb}{}
\DeclareFontShape{C70}{song}{bx}{n}{&lt;-&gt; CJKb * cyberb}{\CJKbold}

\endinput
&lt;/pre&gt;我们只要把其中的&lt;tt&gt;cyberb&lt;/tt&gt;改作&lt;tt&gt;song&lt;/tt&gt;就可以了。

  &lt;li&gt;把生成文件拷贝到相应目录&lt;/li&gt;
把生成文件拷贝到下面的目录：&lt;pre&gt;$HOME/texmf/fonts/map/dvips/CJK/song.map
$HOME/texmf/fonts/tfm/CJK/song/*.tfm
$HOME/texmf/fonts/type1/CJK/song/*.pfb&lt;/pre&gt;如果目录不存在，自己建立一下。

  &lt;li&gt;生成ls-R数据库&lt;/li&gt;
执行&lt;pre&gt;texhash&lt;/pre&gt;

  &lt;li&gt;更新字体map&lt;/li&gt;
&lt;pre&gt;updmap --enable Map song.map&lt;/pre&gt;

  &lt;li&gt;测试&lt;/li&gt;
可以编辑下面的文件进行测试。&lt;pre&gt;\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK}{UTF8}{song}
\LaTeX CJK 测试。
\end{CJK}
\end{document}&lt;/pre&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-2562004468185815167?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/2562004468185815167/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=2562004468185815167' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2562004468185815167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/2562004468185815167'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2007/09/fedora-7latex-cjk.html' title='在Fedora 7下安装LaTeX CJK'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-8985913055620992250</id><published>2007-03-30T16:07:00.001-07:00</published><updated>2008-11-10T00:29:09.198-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxima'/><title type='text'>如何使用Maxima（三）</title><content type='html'>&lt;ol&gt;&lt;li&gt;复数运算&lt;/li&gt;代数运算：&lt;pre&gt;(%i1) a:2-3*%i$
(%i2) b:5+4*%i$
(%i3) a+b;
(%o3)                               %i + 7
(%i4) a*b;
(%o4)                        (2 - 3 %i) (4 %i + 5)
&lt;/pre&gt;上面&lt;tt&gt;%i1&lt;/tt&gt;和&lt;tt&gt;%i2&lt;/tt&gt;结尾用&lt;tt&gt;$&lt;/tt&gt;而不是分号&lt;tt&gt;;&lt;/tt&gt;表示不输出结果。

实部和虚部：&lt;pre&gt;(%i5) expand(%);
(%o5)                              22 - 7 %i
(%i6) realpart(%);
(%o6)                                 22
(%i7) imagpart(%o5);
(%o7)                                 - 7
&lt;/pre&gt;绝对值和幅角：&lt;pre&gt;(%i8) abs(%o5);
(%o8)                              sqrt(533)
(%i9) carg(%o5);
                                        7
(%o9)                             - atan(--)
                                        22
&lt;/pre&gt;复数形式和直角形式：&lt;pre&gt;(%i10) polarform(%o5);
                                     - %i atan(7/22)
(%o10)                    sqrt(533) %e
(%i11) rectform(%);
                               7                            7
(%o11)       sqrt(533) cos(atan(--)) - sqrt(533) %i sin(atan(--))
                               22                           22
(%i12) %,numer;
(%o12)                           22.0 - 7.0 %i
&lt;/pre&gt;&lt;li&gt;方程数值解&lt;/li&gt;找出方程&lt;tt&gt;f(x)=0&lt;/tt&gt;在&lt;tt&gt;[a, b]&lt;/tt&gt;范围内的数值解：&lt;pre&gt;find_root(f(x), x, a, b);&lt;/pre&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-8985913055620992250?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/8985913055620992250/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=8985913055620992250' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8985913055620992250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/8985913055620992250'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2007/03/maxima.html' title='如何使用Maxima（三）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-116475064628481617</id><published>2006-11-28T13:50:00.000-08:00</published><updated>2008-11-10T00:30:24.069-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='音乐'/><title type='text'>在线收听古典音乐频道</title><content type='html'>WCPE古典音乐频道，位于Rolesville，NC，24小时播音。这里是在线收听地址：
&lt;a href="http://audio-ogg.ibiblio.org:8000/wcpe.ogg.m3u"&gt;http://audio-ogg.ibiblio.org:8000/wcpe.ogg.m3u&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-116475064628481617?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/116475064628481617/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=116475064628481617' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/116475064628481617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/116475064628481617'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/11/blog-post.html' title='在线收听古典音乐频道'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-116190307795046875</id><published>2006-10-26T15:51:00.000-07:00</published><updated>2008-11-10T00:26:41.182-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux下复制Video DVD</title><content type='html'>首先制作iso镜像文件：
&lt;pre&gt;mkisofs -dvd-video -o dvd.iso /media/dvd&lt;/pre&gt;刻录DVD：
&lt;pre&gt;growisofs -dvd-compat -Z /dev/hdc=dvd.iso&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-116190307795046875?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/116190307795046875/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=116190307795046875' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/116190307795046875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/116190307795046875'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/10/linuxvideo-dvd.html' title='Linux下复制Video DVD'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-115802828494399094</id><published>2006-09-11T19:31:00.000-07:00</published><updated>2008-11-10T00:31:15.947-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>Gnuplot的Palette Map作图</title><content type='html'>例子（TEM22高斯型光束强度分布存在gaussian_profile文件中）：
&lt;pre&gt;gnuplot&gt; set view map
gnuplot&gt; unset surface
gnuplot&gt; set style data pm3d
gnuplot&gt; set style function pm3d
gnuplot&gt; set pm3d at b
gnuplot&gt; set palette gray
gnuplot&gt; set size square
gnuplot&gt; splot "gaussian_profile"&lt;/pre&gt;
生成的图像：
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5863/1086/1600/gaussian_profile.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5863/1086/400/gaussian_profile.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-115802828494399094?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/115802828494399094/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=115802828494399094' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115802828494399094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115802828494399094'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/09/gnuplotpalette-map.html' title='Gnuplot的Palette Map作图'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-115585439439623568</id><published>2006-08-17T15:39:00.000-07:00</published><updated>2008-11-10T00:31:29.813-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='网页'/><title type='text'>从YouTube，Google Video等站点下载视频</title><content type='html'>&lt;a href="http://www.youtube.com/"&gt;YouTube&lt;/a&gt;，&lt;a href="http://video.google.com/"&gt;Google Video&lt;/a&gt;等网站利用新的FLV（Flash Video）流媒体视频技术允许用户在互联网上传播录像，但有时候我们希望把录像保存到自己电脑上，而不是仅仅在网上浏览。&lt;a href="http://www.mozilla.com/firefox/"&gt;Firefox&lt;/a&gt;的扩展工具&lt;a href="https://addons.mozilla.org/firefox/2390/"&gt;VideoDownloader&lt;/a&gt;能够让用户把这些录像下载到本地。下载之后的文件是FLV格式，如果想在一般媒体播放器里看，可以在Linux下用&lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;ffmpeg&lt;/a&gt;把FLV文件转化成MPG或其他格式：&lt;pre&gt; ffmpeg -i video.flv -ab 128 -ar 44100 -b 200 -s 320x240 video.mpg&lt;/pre&gt;上面命令中，&lt;tt&gt;-b&lt;/tt&gt;表示视频比特率，&lt;tt&gt;-ab&lt;/tt&gt;表示音频比特率，&lt;tt&gt;-ar&lt;/tt&gt;表示音频取样率，&lt;tt&gt;-s&lt;/tt&gt;表示视频画面大小（宽x高）。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-115585439439623568?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/115585439439623568/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=115585439439623568' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115585439439623568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115585439439623568'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/08/youtubegoogle-video.html' title='从YouTube，Google Video等站点下载视频'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-115552762653913037</id><published>2006-08-13T20:53:00.000-07:00</published><updated>2008-11-10T00:27:44.504-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MetaPost'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>学用绘图工具MetaPost（二）</title><content type='html'>&lt;ol&gt;
&lt;li&gt;线性方程&lt;/li&gt;MetaPost可以解线性方程。处于从&lt;tt&gt;z1&lt;/tt&gt;到&lt;tt&gt;z2&lt;/tt&gt;之间1/3位置的点&lt;tt&gt;z3&lt;/tt&gt;可以表示为：&lt;pre&gt;z3=1/3[z1,z2]&lt;/pre&gt;过&lt;tt&gt;z1&lt;/tt&gt;和&lt;tt&gt;z2&lt;/tt&gt;两点的直线上任意一点可以表示为：&lt;pre&gt;whatever[z1,z2]&lt;/pre&gt;点&lt;tt&gt;z1&lt;/tt&gt;也可以用分量表示：&lt;tt&gt;(x1,y1)&lt;/tt&gt;。下面是寻找两直线交点的例子：&lt;table border="0" cellpadding="10"&gt;&lt;tr align="center"&gt;&lt;th&gt;MetaPost代码&lt;/th&gt;&lt;th&gt;生成的图像&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(7);
z1=(-1.5cm,0);
z2=(-3.2cm,-2cm);
z3=(2cm,0);
z4=(3cm,-2cm);
z5=whatever[z1,z2]=whatever[z3,z4];
draw z2--z1--z5;
draw z4--z3--z5;
pickup pencircle scaled 4pt;
draw z1; draw z2; draw z3;
draw z4; draw z5;
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/linear-7.png" alt="fig7"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;li&gt;图像里插入文字和符号&lt;/li&gt;用&lt;tt&gt;label&lt;/tt&gt;可以在图像里插入文字，后缀&lt;tt&gt;lft|rt|top|bot|ulft|urt|llft|lrt&lt;/tt&gt;分别表示左、右、上、下、左上、右上、左下和右下。另外，通过&lt;tt&gt;btex...etex&lt;/tt&gt;还可以插入LaTeX公式命令。&lt;table border="0" cellpadding="10"&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(8);
a=.8in; b=.6in;
z0=(0,0);
z1=-z3=(a,0);
z2=-z4=(0,b);
draw z1..z2..z3..z4..cycle;
draw z1--z0--z2;
label.top("a", .5[z0,z1]);
label.lft("b", .5[z0,z2]);
dotlabel.bot("(0,0)", z0);
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/label-8.png" alt="fig8"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(9);
numeric u;
u=1cm;
draw (0,2u)--(0,0)--(4u,0);
pickup pencircle scaled 1pt;
draw (0,0){up}
   for i=1 upto 8: ..(i/2,sqrt(i/2))*u endfor;
label.lrt(btex $\sqrt x$ etex, (3,sqrt 3)*u);
label.bot(btex $x$ etex, (2u,0));
label.lft(btex $y$ etex, (0,u));
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/label-9.png" alt="fig9"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;li&gt;用gnuplot和xfig输出MetaPost文件&lt;/li&gt;常用绘图工具gnuplot和xfig都可以输出MetaPost文件，然后就可以手工编辑，加入LaTeX公式等效果。xfig只要export成MetaPost文件就可以了。gnuplot可以用&lt;pre&gt;set terminal mp
set output "filename.mp"&lt;/pre&gt;输出为MetaPost文件。
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-115552762653913037?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/115552762653913037/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=115552762653913037' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115552762653913037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115552762653913037'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/08/metapost_13.html' title='学用绘图工具MetaPost（二）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-115535654744585179</id><published>2006-08-11T21:22:00.000-07:00</published><updated>2009-05-12T17:31:56.867-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MetaPost'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>学用绘图工具MetaPost（一）</title><content type='html'>&lt;a href="http://cm.bell-labs.com/who/hobby/MetaPost.html"&gt;MetaPost&lt;/a&gt;是贝尔实验室的John Hobby基于&lt;a href="http://www-cs-faculty.stanford.edu/~knuth/"&gt;Knuth&lt;/a&gt;的METAFONT设计的一种绘图语言。它适于绘制精确的数学图形，可以方便的生成EPS文件，供插入到LaTeX文档中。&lt;br/&gt;&lt;br/&gt;

Linux下可以用&lt;tt&gt;mpost&lt;/tt&gt;命令处理编辑好的MetaPost文件，生成EPS文件。生成的EPS文件可以作为图片插入到LaTeX文件中，但是没办法直接用gv等PostScript浏览器直接观看，&lt;a href="http://www.ida.liu.se/~joned/download/mps2eps/"&gt;这里&lt;/a&gt;有关于这个问题的讨论和解决办法。另外，可以用&lt;tt&gt;mptopdf&lt;/tt&gt;命令代替&lt;tt&gt;mpost&lt;/tt&gt;，可以解决这个问题，而且可以直接生成PDF文件。&lt;br/&gt;&lt;br/&gt;

下面是MetaPost的简介。&lt;tt&gt;beginfig...endfig&lt;/tt&gt;之间是绘图命令。实际使用中，好几个&lt;tt&gt;beginfig...endfig&lt;/tt&gt;可以放在一个文件里，文件最后需要有一个&lt;tt&gt;end&lt;/tt&gt;命令。
&lt;ol&gt;
&lt;li&gt;画直线和曲线&lt;/li&gt;&lt;table border="0" cellpadding="10"&gt;&lt;tr align="center"&gt;&lt;th&gt;MetaPost代码&lt;/th&gt;&lt;th&gt;生成的图像&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(1);
z0=(0,0);
z1=(3cm,2cm);
z2=(2cm,4.5cm);
z3=(0.5cm,3.5cm);
z4=(1.5cm,2.5cm);
draw z0--z1--z2--z3--z4;
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/line-1.png" alt="fig1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(2);
u=1cm;
z0=(0,0);
z1=(3u,2u);
z2=(2u,4.5u);
z3=(0.5u,3.5u);
z4=(1.5u,2.5u);
draw z0..z1..z2..z3..z4;
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/line-2.png" alt="fig2"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(3);
z0=(0,0);
z1=(3cm,2cm);
z2=(2cm,4.5cm);
z3=(0.5cm,3.5cm);
z4=(1.5cm,2.5cm);
draw z0..z1..z2..z3--z4--cycle;
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/line-3.png" alt="fig3"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;li&gt;表示方向的&lt;tt&gt;dir&lt;/tt&gt;和用于循环的&lt;tt&gt;for&lt;/tt&gt;&lt;/li&gt;&lt;tt&gt;dir a&lt;/tt&gt;提供了与x轴夹角为a度的单位矢量。&lt;tt&gt;dir 0&lt;/tt&gt;相当于&lt;tt&gt;right&lt;/tt&gt;，&lt;tt&gt;dir 90&lt;/tt&gt;相当于&lt;tt&gt;up&lt;/tt&gt;，类似的方向矢量还有&lt;tt&gt;left&lt;/tt&gt;和&lt;tt&gt;down&lt;/tt&gt;。&lt;table border="0" cellpadding="10"&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;pre&gt;beginfig(4);
draw (
    for i=0 upto 7:
      80dir (135i)--
    endfor
      cycle);
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/for-4.png" alt="fig4"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(5);
for a=0 upto 7:
  draw (0,0){dir 45}..{dir 10a}(6cm,0);
    endfor
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/for-5.png" alt="fig5"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;li&gt;改变画笔粗细&lt;/li&gt;&lt;table border="0" cellpadding="10"&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;beginfig(6);
u=1cm;
draw (-u,0)--(u,0);
draw (0,-u)--(0,u);
pickup pencircle scaled 3;
draw (-u,u)--(u,u)--(u,-u)--(-u,-u)--cycle;
endfig;&lt;/pre&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://www2.hawaii.edu/~huanm/webpic/pencircle-6.png" alt="fig6"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-115535654744585179?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/115535654744585179/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=115535654744585179' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115535654744585179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/115535654744585179'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/08/metapost.html' title='学用绘图工具MetaPost（一）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114807869139986379</id><published>2006-05-19T15:44:00.000-07:00</published><updated>2008-11-10T00:26:41.186-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>pdf文件处理工具：pdftk</title><content type='html'>&lt;a href="http://www.accesspdf.com/pdftk/"&gt;pdftk&lt;/a&gt;是一个处理pdf文件的小工具，可以进行合并pdf文档，提取其中几页成为新pdf文件，加密解密等操作。&lt;ol&gt;&lt;li&gt;&lt;h4&gt;合并多个pdf文件&lt;/h4&gt;&lt;pre&gt;pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4&gt;提取文件某几页合成为新文件&lt;/h4&gt;&lt;pre&gt;pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4&gt;128位加密文件&lt;/h4&gt;&lt;pre&gt;pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4&gt;加密但是允许打印&lt;/h4&gt;&lt;pre&gt;pdftk mydoc.pdf output mydoc.128.pdf owner_pw foo user_pw baz allow printing&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4&gt;解密文件&lt;/h4&gt;&lt;pre&gt;pdftk secured.pdf input_pw foopass output unsecured.pdf&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114807869139986379?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114807869139986379/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114807869139986379' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114807869139986379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114807869139986379'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/05/pdfpdftk.html' title='pdf文件处理工具：pdftk'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114687064538267986</id><published>2006-05-05T16:10:00.001-07:00</published><updated>2008-11-10T00:29:09.199-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxima'/><title type='text'>如何使用Maxima（二）</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;h4&gt;三角函数变换&lt;/h4&gt;常用的三角函数变换有下面几种：&lt;dl&gt;&lt;dt&gt;trigexpand&lt;/dt&gt;&lt;dd&gt;利用和差化积公式展开&lt;/dd&gt;&lt;dt&gt;trigreduce&lt;/dt&gt;&lt;dd&gt;利用积化和差等公式变成&lt;tt&gt;sin&lt;/tt&gt;或&lt;tt&gt;cos&lt;/tt&gt;的和&lt;/dd&gt;&lt;dt&gt;trigsimp&lt;/dt&gt;&lt;dd&gt;利用&lt;tt&gt;sin&lt;sup&gt;2&lt;/sup&gt;(x)&amp;nbsp;+&amp;nbsp;cos&lt;sup&gt;2&lt;/sup&gt;&amp;nbsp;=&amp;nbsp;1&lt;/tt&gt;等公式简化&lt;/dd&gt;&lt;dt&gt;trigrat&lt;/dt&gt;&lt;dd&gt;简化分数形式&lt;/dd&gt;&lt;/dl&gt;下面是一些例子：&lt;pre&gt;(%i1) sin(2*x)/cos(x)+cos(2*x);
                              sin(2 x)
(%o1)                         -------- + cos(2 x)
                               cos(x)
(%i2) trigexpand(%o1);
                             2                    2
(%o2)                   - sin (x) + 2 sin(x) + cos (x)
(%i3) trigreduce(%o1);
(%o3)                     sec(x) sin(2 x) + cos(2 x)
(%i4) trigsimp(%o1);
                          sin(2 x) + cos(x) cos(2 x)
(%o4)                     --------------------------
                                    cos(x)
(%i5) trigrat(%);
(%o5)                         cos(2 x) + 2 sin(x)
&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;h4&gt;微积分&lt;/h4&gt;微分：&lt;pre&gt;(%i1) f: sqrt(x-1)*exp(2*x^2);
                                               2
                                            2 x
(%o1)                         sqrt(x - 1) %e
(%i2) diff(f, x);
                                                     2
                                         2        2 x
                                      2 x       %e
(%o2)               4 sqrt(x - 1) x %e     + -------------
                                             2 sqrt(x - 1)
(%i3) diff(sin(x)*exp(x^2), x, 2);
                       2             2                 2
                  2   x             x                 x
(%o3)          4 x  %e   sin(x) + %e   sin(x) + 4 x %e   cos(x)
&lt;/pre&gt;不定积分：&lt;pre&gt;(%i4) integrate(%o2, x);
                                       2   log(x - 1)
                                    2 x  - ----------
                                               2
(%o4)                     (x - 1) %e
&lt;/pre&gt;定积分：
从这个例子可以看出，maxima是一个很聪明的代数系统，它不会像其他数学程序那样想当然的默认一个结果，而是主动问你必要的条件，然后给出正确的结果。&lt;pre&gt;(%i5) integrate(exp(-a*x^2), x, 0, inf);
Is  a  positive, negative, or zero?

positive;
                                   sqrt(%pi)
(%o5)                              ---------
                                   2 sqrt(a)
&lt;/pre&gt;泰勒展开：
这个例子给出函数g的前三阶泰勒展开。&lt;pre&gt;(%i6) g: sin(2*x)*exp(a*x);
                                  a x
(%o6)                           %e    sin(2 x)
(%i7) taylor (g, x, 0, 4);
                                2       3     3         4
                        2   (3 a  - 4) x    (a  - 4 a) x
(%o7)/T/     2 x + 2 a x  + ------------- + ------------- + . . .
                                  3               3
&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114687064538267986?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114687064538267986/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114687064538267986' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114687064538267986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114687064538267986'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/05/maxima_05.html' title='如何使用Maxima（二）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114680474980953353</id><published>2006-05-04T21:52:00.000-07:00</published><updated>2008-11-10T00:33:27.900-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='随想'/><title type='text'>刘再复这样概括巴金</title><content type='html'>‘文革’结束了，伸冤的伸冤，平反的平反，乌纱帽掉了又带上了，而那些在牛棚里受难的作家与革命家们个个都在讲述自己的苦难过去和向社会索取报酬，甚至讴歌‘二次解放’。只有一个受折磨的灵魂，在寓所的墙角下对过去自己的著作与行为感到深深不安，感到揪心的惭愧，灵魂和双手都在战栗，这就是《真话集》(即《随想录》)的伟大作者……惟一,惟一，Only One！中国的大地这么辽阔，大地上所发生的历史事件这么惨烈，卷入历史运动的人群数亿之众，但我们在大喧哗之后听到的良心呻吟与自我鞭挞却只有一个！&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114680474980953353?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114680474980953353/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114680474980953353' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114680474980953353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114680474980953353'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/05/blog-post.html' title='刘再复这样概括巴金'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114671294914472404</id><published>2006-05-03T20:22:00.001-07:00</published><updated>2008-11-10T00:29:09.200-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxima'/><title type='text'>如何使用Maxima（一）</title><content type='html'>&lt;a href="http://maxima.sourceforge.net/index.shtml"&gt;Maxima&lt;/a&gt;是一个优秀的开放源代码代数运算系统，符号运算能力可以和著名商业数学软件Mathematica相媲美。这里是它的使用方法的一个简介。&lt;ol&gt;&lt;li&gt;&lt;h4&gt;运行和退出&lt;/h4&gt;运行：&lt;pre&gt;maxima&lt;/pre&gt;进入maxima环境后，会看到开始处有&lt;tt&gt;(%i1)&lt;/tt&gt;，这是行标。&lt;tt&gt;%i&lt;/tt&gt;表示输入行，&lt;tt&gt;%o&lt;/tt&gt;表示输出行，后面的数字表示第几个输入或输出。
退出：&lt;pre&gt;quit();&lt;/pre&gt;可以看出，maxima语法和C语言类似，语句结束需要加分号。maxima里面是要区分大小写的。&lt;/li&gt;&lt;li&gt;&lt;h4&gt;算术运算&lt;/h4&gt;符号&lt;tt&gt;+, -, *, /, ^&lt;/tt&gt;分别表示加、减、乘、除、乘方。maxima是一个精确计算的代数系统，例如分数，开方等运算会保持符号形式，不会被自动转化为小数。&lt;pre&gt;(%i1) 2/5+3/4;
                                      23
(%o1)                                 --
                                      20
&lt;/pre&gt;如果要输出小数，可以用&lt;tt&gt;numer&lt;/tt&gt;命令：&lt;pre&gt;(%i2) %,numer;
(%o2)                                1.15
&lt;/pre&gt;百分号&lt;tt&gt;%&lt;/tt&gt;代表最后一次输出的结果。另外，可以用&lt;tt&gt;bfloat&lt;/tt&gt;输出任意精确度的小数，有效数字位数由变量&lt;tt&gt;fpprec&lt;/tt&gt;控制，默认是16位。&lt;pre&gt;(%i3) fpprec:100;
(%o3)                                 100
(%i4) bfloat(%pi);
(%o4) 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068b0
&lt;/pre&gt;&lt;tt&gt;(%i3)&lt;/tt&gt;中的冒号表示赋值。&lt;/li&gt;&lt;li&gt;&lt;h4&gt;代数运算&lt;/h4&gt;多项式展开：&lt;pre&gt;(%i5) (x^2+2*x*y+3*y^2)^3;
                                 2            2 3
(%o5)                        (3 y  + 2 x y + x )
(%i6) expand(%);
            6         5       2  4       3  3       4  2      5      6
(%o6)   27 y  + 54 x y  + 63 x  y  + 44 x  y  + 21 x  y  + 6 x  y + x
&lt;/pre&gt;等量代换：&lt;pre&gt;(%i7) %o6, x=2/z;
                 5        4        3        2
            108 y    252 y    352 y    336 y    192 y   64       6
(%o7)       ------ + ------ + ------ + ------ + ----- + -- + 27 y
              z         2        3        4       5      6
                       z        z        z       z      z
&lt;/pre&gt;提取公分母：&lt;pre&gt;(%i8) ratsimp(%);
          6  6        5  5        4  4        3  3        2  2
      27 y  z  + 108 y  z  + 252 y  z  + 352 y  z  + 336 y  z  + 192 y z + 64
(%o8) -----------------------------------------------------------------------
                                         6
                                        z
&lt;/pre&gt;因式分解：&lt;pre&gt;(%i9) factor(%);
                                2  2             3
                            (3 y  z  + 4 y z + 4)
(%o9)                       ----------------------
                                       6
                                      z
&lt;/pre&gt;解非线性方程组：&lt;pre&gt;(%i10) a+b+2*c=0;
(%o10)                          2 c + b + a = 0
(%i11) 2*a-b=1;
(%o11)                            2 a - b = 1
(%i12) a-2*b*c=5;
(%o12)                           a - 2 b c = 5
(%i13) solve([%o10,%o11,%o12],[a,b,c]);
             sqrt(7) + 1      2 sqrt(7) - 1      sqrt(7) - 14
(%o13) [[a = -----------, b = -------------, c = -------------],
                  3                 3            4 sqrt(7) - 2
                          sqrt(7) - 1        2 sqrt(7) + 1      sqrt(7) + 14
                   [a = - -----------, b = - -------------, c = -------------]]
                               3                   3            4 sqrt(7) + 2
&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114671294914472404?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114671294914472404/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114671294914472404' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114671294914472404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114671294914472404'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/05/maxima.html' title='如何使用Maxima（一）'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114592295213120745</id><published>2006-04-24T16:55:00.000-07:00</published><updated>2008-11-10T00:33:27.900-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='随想'/><title type='text'>反驳对Linux的两种无知的指责</title><content type='html'>经常听到对Linux有若干指责，其实完全是无知的表现。

第一，说“用Linux有法律隐患”。其实，目前针对Linux的法律起诉非常少，而且据我所知，Linux还没有一起败诉的。相反，Microsoft招致的起诉远远多于Linux，而且很多以败诉告终。以今天的软件复杂度，有知识产权纠纷是非常正常的，可以说任何一个软件企业都有陷入法律纠纷的可能，单单指责Linux是没有道理的，更何况Linux根本不是一个企业。Windows和MS Office都有败诉的例子，而人们还在使用他们，这些人凭什么去指责Linux有法律问题。

第二，说“Linux版本众多，相互不兼容”。Linux下绝大部分软件是以源代码形式发布的，安装时根据不同的平台进行编译，兼容众多的硬件平台，绝对比只运行在PC上Windows兼容性强。为了大家方便，也有很多编译后的二进制代码以软件包的形式发布。虽然Linux有很多版本，但是软件包的管理方式主要有两种：一种是Red Hat的rpm，一种是Debian的dpkg。通过alien软件，这两种包可以互相转换，所以不存在不兼容的问题。一些硬件厂商以Linux版本多，支持起来不容易为由拒绝为Linux提供驱动，就更是可笑了。他们只要提供内核级的驱动支持就可以了，Linux发行版再多跟他们也没关系。有些人抱怨Linux支持的硬件少，这是因果颠倒，他们应该去抱怨这些硬件厂商不支持Linux。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114592295213120745?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114592295213120745/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114592295213120745' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114592295213120745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114592295213120745'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/linux.html' title='反驳对Linux的两种无知的指责'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114566867726502175</id><published>2006-04-21T18:17:00.000-07:00</published><updated>2008-11-10T00:32:15.719-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='音乐'/><title type='text'>莫扎特作品下载</title><content type='html'>&lt;a href="http://213.188.106.66/mozart00.htm"&gt;这里&lt;/a&gt;有好多莫扎特作品mp3下载。虽然音质不是特别好，但是作为莫扎特作品入门完全可以了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114566867726502175?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114566867726502175/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114566867726502175' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114566867726502175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114566867726502175'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/blog-post.html' title='莫扎特作品下载'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114540031033886011</id><published>2006-04-18T15:45:00.001-07:00</published><updated>2008-11-10T00:23:20.241-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='数学'/><title type='text'>Monte Carlo方法</title><content type='html'>&lt;a href="http://pdg.lbl.gov/index.html"&gt;The Review of Particle Physics&lt;/a&gt;有一篇关于Monte Carlo方法的Review，在Mathematical Tools里面，介绍了Monte Carlo方法和任意分布随机数的生成，地址是

&lt;a href="http://pdg.lbl.gov/2005/reviews/monterpp.pdf"&gt;http://pdg.lbl.gov/2005/reviews/monterpp.pdf&lt;/a&gt;。

另外还有一些关于概率和统计的Review，对进行计算机模拟实验很有帮助。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114540031033886011?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114540031033886011/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114540031033886011' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114540031033886011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114540031033886011'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/monte-carlo.html' title='Monte Carlo方法'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114504622783393765</id><published>2006-04-14T13:23:00.001-07:00</published><updated>2008-11-10T00:15:22.528-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='口琴'/><title type='text'>谈谈Super64吧</title><content type='html'>&lt;img alt="Super64" src="http://images.amazon.com/images/P/B0002GWKI2.01-A16A7Q5XF4OWBQ._SCLZZZZZZZ_.jpg" /&gt;生日礼物耶！我不太舍得买，但是很仰慕这把琴（或者说比较仰慕Franz Chmel），经常念叨，结果老婆就作为生日礼物送给我，很惊喜啊。现在把玩了有一段时间了，谈谈感受吧。&lt;ul&gt;&lt;li&gt;&lt;h4&gt;体积：&lt;/h4&gt;的确比12孔口琴大了不少，也重了一些，但是在乐器中仍然属于非常小巧的，所以没什么抱怨了。前些时候跟一个邻居介绍口琴有三到四个八度的音域，他还很吃惊。他虽然不精通音乐，但是也玩过很多乐器，所以对乐器有些了解，知道一般管乐器没有这么大的音域。这一点小小口琴的确挺让人吃惊的。&lt;/li&gt;&lt;li&gt;&lt;h4&gt;吹嘴：&lt;/h4&gt;非常顺滑。一开始感觉比270吹嘴厚，但是习惯之后觉得比270更容易含多孔演奏八度和声，大概是因为形状更符合人体工程学吧。吹快速的曲子时比较容易感觉嘴唇粘连，似乎吹嘴有吸水效果似的，大概和镀银有关。但是如果稍微有点水，就会变得非常滑溜。至于圆形吹孔，我并没有感觉和方形的有太大不同，因为我很少真的把舌头贴在吹孔上的，除了极少数吹和声的时候。孔距比270略大一些，虽然差别不大，但是我需要花一段时间去适应。&lt;/li&gt;&lt;li&gt;&lt;h4&gt;盖板：&lt;/h4&gt;以前觉得Super64外观不如270好看，但是真的拿到手，觉得还是很不错的。尤其是新琴，外壳很亮，造型很有现代感，这点和新的270Deluxe比较相似，和270的古典美不一样。拿给一位学小提琴的朋友看，他一个劲的夸漂亮。外壳似乎比较薄，捏起来像日本汽车外壳的感觉，比较软。难道是我手劲太大了？&lt;/li&gt;&lt;li&gt;&lt;h4&gt;按键：&lt;/h4&gt;比270行程长，比255行程短。弹簧没有270那么硬，花了一段时间去适应。新琴按键声音比较大，拆开后在按键推杆边缘抹了一点点半固态的润唇膏，声音小了许多。这个用量一定要小，用手指头沿着边缘抹一点点就好，多了就容易沾灰了。&lt;/li&gt;&lt;li&gt;&lt;h4&gt;簧片：&lt;/h4&gt;明显比270容易驱动，同样的力度变化，在Super64上显的更容易一些。270上发音略微滞后的现象没有了，用老婆的话说，就是听我吹曲子“不赶了”。高音比270省力，低音比270容易发声，多出的低音四孔需要点功力驱动。有少数几个簧片发音有问题。例如多出的低音四孔里有个别簧片有颤音，但是吹了一段时间后好了些。高音有些音发音不通畅，需要重新调整一下簧片和面板间距。有一个c音至今仍然有问题，吹起来似乎有关风薄膜被粘住那种“扑扑”声，但是明显不是薄膜的问题。快速或大力的吹没问题，但是温柔一点的吹问题就来了。我估计是簧片平直度的问题，但是因为在内侧，不太好调整，我也不希望把新琴弄坏，反正同样音高的c有好几个呢，就这样吧。&lt;/li&gt;&lt;li&gt;&lt;h4&gt;音色：&lt;/h4&gt;和270比较，270明亮中略带沙哑，Super64深沉饱满，类似于单簧管。感觉270比较有激情，Super64婉约一些。这一点上不同的人可能有不同的喜好，我老婆喜欢Super64的音色。不管他人如何看法，我觉得琴格材料对音色影响还是满大的。&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114504622783393765?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114504622783393765/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114504622783393765' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114504622783393765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114504622783393765'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/super64.html' title='谈谈Super64吧'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114487381729287655</id><published>2006-04-12T13:30:00.000-07:00</published><updated>2008-11-10T00:35:29.412-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Fedora Core 5英文环境下运行中文Firefox的Script</title><content type='html'>这里假设是KDE环境，Gnome没有试过，不知道行不行。
&lt;pre&gt;#!/bin/bash

export LANG="zh_CN.UTF-8"
export GDM_LANG="zh_CN.UTF-8"
export QT_IM_MODULE=scim
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=scim
firefox &amp;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114487381729287655?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114487381729287655/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114487381729287655' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114487381729287655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114487381729287655'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/fedora-core-5firefoxscript.html' title='Fedora Core 5英文环境下运行中文Firefox的Script'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114480541637696173</id><published>2006-04-11T18:30:00.000-07:00</published><updated>2008-11-10T00:35:29.414-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>在eps图形中插入文字</title><content type='html'>&lt;pre&gt;% Sample of printing text

/Times-Roman findfont   % Get the basic font
20 scalefont            % Scale the font to 20 points
setfont                 % Make it the current font

newpath                 % Start a new path
72 72 moveto            % Lower left corner of text at (72, 72)
(Hello, world!) show    % Typeset "Hello, world!"

showpage&lt;/pre&gt;
参考链接：
&lt;a href="http://www.cs.indiana.edu/docproject/programming/postscript/postscript.html"&gt;First Guide to PostScript&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114480541637696173?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114480541637696173/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114480541637696173' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114480541637696173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114480541637696173'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/eps.html' title='在eps图形中插入文字'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114471651687004086</id><published>2006-04-10T17:48:00.000-07:00</published><updated>2008-11-10T00:35:29.415-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>把多个eps文件合为一个eps文件</title><content type='html'>有时候需要把多个eps图形文件合为一个文件。在网上搜索了一下，似乎没有什么特别合适的工具。这里有个解决办法。

在linux下eps文件其实就是一个文本文件，可以用vim等文本编辑器手动编辑。例如要把01.eps, 02.eps, 03.eps, 04.eps四个图形文件合为一个2x2的图形文件，可以首先执行下面命令把它们合为一个文件
&lt;pre&gt;cat 01.eps 02.eps 03.eps 04.eps &gt; outfile.eps&lt;/pre&gt;
然后用vim打开outfile.eps。各个文件中间部分是描述图形的，不需要管。只要改动一下每个文件的开头和结尾部分就可以了。
&lt;ol&gt;
&lt;li&gt;每个eps文件开头都有类似于这样一行：
&lt;pre&gt;%!PS-Adobe-2.0 EPSF-2.0&lt;/pre&gt;
只要保留第一个文件中的就行了，其余文件开头的这一行都删去。
&lt;/li&gt;
&lt;li&gt;每个eps文件结尾都有这样的命令：&lt;pre&gt;showpage&lt;/pre&gt;
只需要保留最后一个就可以了，其余文件结尾处的该命令都删去。
&lt;/li&gt;
&lt;li&gt;每个文件开头都有类似于这样一行：
&lt;pre&gt;%%BoundingBox: 0 0 100 120&lt;/pre&gt;
这表示图形的大小，四个数字分别是左下角和右上角的坐标。我们需要根据自己的要求把数字改一下。例如如果每个eps大小都是100x120，我们希望得到2x2的图形列表，那么合成之后的图应该是200x240的。那么我们把第一个eps文件开头的BoundingBox改为&lt;pre&gt;%%BoundingBox: 0 0 200 240&lt;/pre&gt;，然后把其余各eps文件开头的BoundingBox行删掉。
&lt;/li&gt;
&lt;li&gt;在第一个eps文件开始处（BoundingBox之下，其余postscript命令之上）加入&lt;pre&gt;save gsave&lt;/pre&gt;，在其余eps文件开始处加入
&lt;pre&gt;grestore restore
save gsave
xxx yyy translate&lt;/pre&gt;
xxx和yyy对应于每个eps图形平移的坐标。在所有eps文件最后的showpage之前加入&lt;pre&gt;grestore restore&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
然后就可以用postscript浏览器看效果了。

参考链接：
&lt;a href="http://www.debian.org/doc/manuals/user/ch11.html"&gt;http://www.debian.org/doc/manuals/user/ch11.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114471651687004086?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114471651687004086/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114471651687004086' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114471651687004086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114471651687004086'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/epseps.html' title='把多个eps文件合为一个eps文件'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114438264284454304</id><published>2006-04-06T21:04:00.000-07:00</published><updated>2006-04-06T21:04:02.876-07:00</updated><title type='text'>谢旭东的Blog</title><content type='html'>今天和好朋友谢旭东联系上了。好久没见面了。这是他的Blog:
&lt;a href="http://spaces.msn.com/xudongxie/"&gt;谢旭东的Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114438264284454304?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114438264284454304/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114438264284454304' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114438264284454304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114438264284454304'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/blog.html' title='谢旭东的Blog'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114394007935817162</id><published>2006-04-01T17:07:00.000-08:00</published><updated>2008-11-10T00:35:29.416-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>设置Linux router</title><content type='html'>如果Linux机器上有两块网卡，eth0（外部网）和eth1（内部局域网），可以如下设置让内部局域网的机器通过这台电脑连接外部网络：
&lt;pre&gt;iptables -t nat --flush
iptables -t nat --delete-chain
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables --insert FORWARD -i eth1 -j ACCEPT
echo 1 &gt; /proc/sys/net/ipv4/ip_forward
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114394007935817162?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114394007935817162/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114394007935817162' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114394007935817162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114394007935817162'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/04/linux-router.html' title='设置Linux router'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114377963945800988</id><published>2006-03-30T20:33:00.000-08:00</published><updated>2008-11-10T00:35:29.418-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>用blender做的第一个3D图</title><content type='html'>就是为了好玩，挺简单的一个3D图。
&lt;img alt="Cube" src="http://www2.hawaii.edu/~huanm/webpic/cube.jpg" width="300"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114377963945800988?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114377963945800988/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114377963945800988' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114377963945800988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114377963945800988'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/03/blender3d.html' title='用blender做的第一个3D图'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114324732079612555</id><published>2006-03-24T16:42:00.001-08:00</published><updated>2008-11-10T00:15:22.528-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='口琴'/><title type='text'>生日快乐！</title><content type='html'>&lt;h2 style="color: rgb(255, 0, 0);"&gt;祝自己生日快乐！&lt;/h2&gt;
收到了老婆送的礼物，Hohner Super64口琴，非常非常高兴！一直梦寐以求的琴啊！确实比270的音色好，簧片反应快，但是孔距和按键的行程和270都有些不一样，需要一些时间去适应。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114324732079612555?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114324732079612555/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114324732079612555' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114324732079612555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114324732079612555'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/03/blog-post.html' title='生日快乐！'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114315393175627665</id><published>2006-03-23T14:45:00.000-08:00</published><updated>2008-11-10T00:35:29.419-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Fedora Core 5安装flash插件</title><content type='html'>从Macromedia直接下载安装flash插件在Fedora Core 5里行不通，firefox总提示找不到插件。可以从下面这个网址直接下载安装flash-plugin的rpm包，
&lt;a href="http://macromedia.mplug.org/"&gt;http://macromedia.mplug.org/&lt;/a&gt;
或者干脆按照网页所示的方法把Repos加入/etc/yum.repos.d/用yum安装。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114315393175627665?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114315393175627665/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114315393175627665' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114315393175627665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114315393175627665'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/03/fedora-core-5flash.html' title='Fedora Core 5安装flash插件'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114306149301711540</id><published>2006-03-22T13:04:00.000-08:00</published><updated>2008-11-10T00:35:29.421-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>把文本文件中的逗号分隔符换成TAB</title><content type='html'>&lt;pre&gt;sed 's/,/\t/g' input-file &gt; output-file&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114306149301711540?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114306149301711540/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114306149301711540' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114306149301711540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114306149301711540'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/03/tab.html' title='把文本文件中的逗号分隔符换成TAB'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-114064578726089110</id><published>2006-02-22T14:03:00.000-08:00</published><updated>2009-03-20T12:09:33.674-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='GnuPlot'/><title type='text'>用gnuplot拟合Gaussian曲线</title><content type='html'>在gnuplot里定义Gaussian函数
&lt;pre&gt;f(x)=a*exp(-(x-b)*(x-b)/(c*c))&lt;/pre&gt;
这个Gaussian函数的宽度 FWHM = 2*sqrt(ln2)*c = 1.665c
建立一个参数列表文件gaussian.par：
&lt;pre&gt;#three parameters
a = a0
b = b0
c = c0&lt;/pre&gt;
其中a0, b0, c0是人为设置的初始值。在gnuplot里运行
&lt;pre&gt;fit [xrange] f(x) 'datafile' via 'gaussian.par'&lt;/pre&gt;上面&lt;tt&gt;[xrange]&lt;/tt&gt;替换成相应的自变量区间，&lt;tt&gt;datafile&lt;/tt&gt;是数据文件名。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-114064578726089110?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/114064578726089110/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=114064578726089110' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114064578726089110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/114064578726089110'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/02/gnuplotgaussian.html' title='用gnuplot拟合Gaussian曲线'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-113866668463489931</id><published>2006-01-30T16:18:00.000-08:00</published><updated>2008-11-10T00:35:29.424-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>用Mplayer下载流媒体文件</title><content type='html'>互联网上有些音像文件是以流媒体形式存在的，例如rtsp,mms协议。使用mplayer可以把这些文件下载到本地机器上。例如：
&lt;pre&gt;mplayer -dumpstream mms://hostname/directory/filename&lt;/pre&gt;
下载之后的文件名是stream.dump，只要改回相应文件名就可以了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-113866668463489931?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/113866668463489931/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=113866668463489931' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/113866668463489931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/113866668463489931'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/01/mplayer.html' title='用Mplayer下载流媒体文件'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-113814018455462002</id><published>2006-01-24T14:03:00.000-08:00</published><updated>2008-11-10T00:32:15.720-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='音乐'/><title type='text'>古典音乐作品编号标记</title><content type='html'>很多时候我们见到一些古典音乐作品的名字后面跟着由字母和数字组成的编号,例如op37, kv525, RV4, D112等.究竟这些标号表示什么意思,来源于哪里,有什么作用？最常见的记号是op或opus,拉丁语的意思是"作品".它大概起源于17世纪初叶,出版音乐乐谱的出版商为了区别同一作曲家的不同作品而标上记号,这就是op记号. op记号通常是按同一作曲家出版作品的次序由小到大编号,但这又并不是绝对的.不过, op标记也有问题,例如很多作曲家的作品由不同出版商出版,那时不同出版商有不同的op序号.因此会出现某作品在一个出版商标号为op3,在另一出版商标号为op8,甚至有第三个出版商那里编号为op6,这样显然会造成混乱.

　　到了近两百年,越来越多学者研究前人的音乐作品.这些学者为研究这些作曲家的作品,列出他们所作的所有作品进行研究甚为重要.由于前面所讲的 op记号有时会造成混乱,或是研究者在研究过程中发现新的作品,又或者是一些作品未正式出版而没有op记号,这时对所有作品进行重新编号便成为这些学者的又一项工作.由此就产生如BWV, D等编号,这些编号往往是提出新作品编号的学者名字的代表字母.下面列出一些作曲家作品常用的记号:

　　作品记号/适用的作曲家

　　AV Richard Strauss 理查-斯特劳斯

　　B Dvorak 德沃扎克

　　BB Bartok 巴托克

　　BWV J.S. Bach 巴赫

　　D Schubert 舒伯特

　　F Vivaldi 韦瓦尔第

　　H Holst 侯斯特

　　HWV Handel 汉度

　　K Mozart 莫扎特

　　KV Mozart 莫扎特

　　L Debussy 德彪斯

　　M Vivaldi 韦瓦尔第

　　Op 多数作曲家

　　P Vivaldi 韦瓦尔第

　　R Vivaldi 韦瓦尔第

　　RV Vivaldi 韦瓦尔第

　　S J.S. Bach 巴赫 (与BWV相同)

　　S Liszt 李斯特

　　Sz Bartok 巴托克

　　WWV Wagner 韦格勒

　　Z Purcell 帕萧&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-113814018455462002?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/113814018455462002/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=113814018455462002' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/113814018455462002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/113814018455462002'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2006/01/blog-post.html' title='古典音乐作品编号标记'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-113011927745369690</id><published>2005-10-23T19:01:00.000-07:00</published><updated>2008-11-10T00:35:29.426-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>pdfnup: 让pdf文件多页合并到一页的小工具</title><content type='html'>有时候做handout的时候，想把几页slides打印到一张纸上。pdfnup可以很方便的把一个pdf文件的几页纸合为一页。例如，如下命令
&lt;pre&gt;pdfnup --nup 2x3 --frame true --delta "1cm 1cm"
        --scale 0.9 handout.pdf&lt;/pre&gt;
自动生成一个每页纸包含2x3个slides的pdf文件。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-113011927745369690?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/113011927745369690/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=113011927745369690' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/113011927745369690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/113011927745369690'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/10/pdfnup-pdf.html' title='pdfnup: 让pdf文件多页合并到一页的小工具'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-112984438450057454</id><published>2005-10-20T14:39:00.001-07:00</published><updated>2008-11-10T00:15:00.537-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='口琴'/><title type='text'>半音阶口琴笔记——持琴法</title><content type='html'>半音阶口琴基本的持琴方法是：左手拇指和食指捏紧琴身，右手食指抵住按键，双手手掌自然合拢，形成一个共鸣腔。这样出来的音色饱满甜润，方便使用手震音。还有一种半开放的持琴法，即双手不合紧，下面打开一定空间，这样出来的音色明亮活泼。我以前使用第一种方法多一些，但是后来发现封闭的持琴法音量毕竟小一些，不太适合演出时使用麦克风的需要，尤其麦克风不是很好时，所以现在用第二种方法多一些。这样需要尽量使用气震音。然而，即使是半开放的持琴法，手震音还是有效的。

按琴键的食指可以分别使用上中下三个关节。食指上关节比较软，一般抒情乐曲可以满足要求，但是演奏快速活泼的乐曲时，觉得按键速度不够快，这时候似乎用中下关节比较好。如果要演奏快速的颤音，还需要配合手腕的抖动。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-112984438450057454?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/112984438450057454/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=112984438450057454' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112984438450057454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112984438450057454'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/10/blog-post_20.html' title='半音阶口琴笔记——持琴法'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-112969235513753698</id><published>2005-10-18T20:25:00.000-07:00</published><updated>2008-11-10T00:33:27.901-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='随想'/><title type='text'>沉痛悼念世纪的良心——巴金老人</title><content type='html'>今天上网惊闻巴金老人去世了。虽然早知道巴金老人年纪很大了，一直患病，但仍不免心情沉重。

巴金是我最喜爱的作家。他早期的作品充满了青年火一样的热情，对真理的渴望，以及对于劳动人民深切的同情。我正是在那火一样的年纪里接触到了巴金的作品，感觉到他说出了我一直以来想说却没能说出口的话，感受到了从绝望中寻找希望的那种强烈共鸣，从此以后一直深深喜欢巴金的作品。从他那里我学到了什么是善良，什么是青春。他是一个把自己的命运和社会的前途融入一起的人，他的散文作品有强烈的个人意识，几乎总是以第一人称出现，表达对社会和人生的思考。小说《家》虽然不算自传小说，但是有巴金本人深深的影子。巴金把自己的思想通过主人公觉慧淋漓尽致的表现了出来，表达了对封建家庭的厌恶和对新生活的渴望。

巴金老人一直主张讲真话，对自己在文革中未能坚持真理内咎了一辈子。五集《随想录》便是巴金对于自己这段人生的思考和解剖。《随想录》标志了巴金散文的一个新的高度。和青年时期的作品不同，《随想录》中的文章读起来宛如一位善良的老人坐在你的面前娓娓诉说他所经历的历史，以及他对于这段历史的思考。作品中反复强调说真话，解剖自己在这段历史中犯下的错误，思考人们如何避免这段悲剧历史再现。巴金老人一生有两个重要的愿望：一个是建立中国现代文学馆，这个愿望在巴金老人的不懈努力下已经实现，中国现代文学馆数年前已经正式开馆，文学馆的门把手就是依据巴金老人手的模型制造的，每位参观者仿佛都会被巴金老人亲手领进这个文学宝库；另一个愿望便是建立文革博物馆，思考悲剧产生的原因，警戒后人不要犯同样的错误，这个愿望在巴金老人的有生之年未能实现。具有讽刺意义的是，巴金老人仅仅因为自己在文革中没有讲真话而自责了一辈子，而真正制造悲剧的人却都活的好好的，至今没有任何人出来为文革的发生承担责任。

巴金老人给称为世纪的良心。如今，他离我们而去了，还有谁能够在官话套话横行的世界里举起讲真话的旗帜，凭自己的良心讲话呢？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-112969235513753698?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/112969235513753698/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=112969235513753698' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112969235513753698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112969235513753698'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/10/blog-post.html' title='沉痛悼念世纪的良心——巴金老人'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-112734980210077906</id><published>2005-09-21T17:43:00.000-07:00</published><updated>2008-11-10T01:37:24.455-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><title type='text'>在Linux下把wma文件转化为mp3</title><content type='html'>需要用到mplayer和lame
&lt;pre&gt;mplayer "filename.wma" -ao pcm:file="filename.wav"
lame -h "filename.wav" "filename.mp3"&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-112734980210077906?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/112734980210077906/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=112734980210077906' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112734980210077906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112734980210077906'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/09/linuxwmamp3.html' title='在Linux下把wma文件转化为mp3'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-112631911607329013</id><published>2005-09-09T19:25:00.000-07:00</published><updated>2008-11-10T00:35:29.429-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>transcode编码DVD的bug</title><content type='html'>dvd::rip在Linux下把DVD压缩编码为avi，当transcode时无法进行，提示“Job 'Transcoding video - title #1, pass 1' failed”。根据google的结果，是transcode在AMD处理器上的bug。transcode时手动加上transcode options "--accel 3dnow"可以解决问题。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-112631911607329013?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/112631911607329013/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=112631911607329013' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112631911607329013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112631911607329013'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/09/transcodedvdbug.html' title='transcode编码DVD的bug'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-112441766018844675</id><published>2005-08-18T19:14:00.000-07:00</published><updated>2008-11-10T00:36:14.179-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>用aspell在vim里作拼写检查</title><content type='html'>&lt;pre&gt;:w
:!aspell -c %&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-112441766018844675?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/112441766018844675/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=112441766018844675' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112441766018844675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112441766018844675'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/08/aspellvim.html' title='用aspell在vim里作拼写检查'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-112007842241947596</id><published>2005-06-29T13:53:00.000-07:00</published><updated>2008-11-10T00:35:53.875-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><title type='text'>一个介绍激光基础知识和各种激光器的网页</title><content type='html'>&lt;a href="http://repairfaq.ece.drexel.edu/sam/lasersam.htm"&gt;Sam's Laser FAQ&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-112007842241947596?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/112007842241947596/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=112007842241947596' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112007842241947596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/112007842241947596'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/blog-post.html' title='一个介绍激光基础知识和各种激光器的网页'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111960035689475437</id><published>2005-06-24T01:05:00.000-07:00</published><updated>2008-11-10T00:38:23.815-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Fedora使用kdm显示管理器</title><content type='html'>Fedora默认显示管理器是gdm，对于习惯使用KDE桌面环境的用户，无法在退出桌面时直接选择关机或重启。在/etc/sysconfig/desktop文件里做如下更改可以使用kdm显示管理器：
&lt;pre&gt;DISPLAYMANAGER="KDE"&lt;/pre&gt;
注意：&lt;pre&gt;DESKTOP="GNOME"&lt;/pre&gt;是默认桌面环境，和显示管理器是两个概念。也就是说，完全可以在kdm下使用GNOME或KDE任何一种桌面。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111960035689475437?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111960035689475437/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111960035689475437' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111960035689475437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111960035689475437'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/fedorakdm.html' title='Fedora使用kdm显示管理器'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111922851304882812</id><published>2005-06-19T17:48:00.000-07:00</published><updated>2008-11-10T00:38:23.817-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux下刻录CD失败的解决方案</title><content type='html'>最近安装Fedora Core 4,刻录的CD总是无法通过安装时的mediacheck检测。Google发现这是一个很普遍的问题，刻录之后的CD经常和原始的iso文件 md5sum不一样。凭我个人的经验，K3B刻出的所有CD都有这个问题，X-CD-Roast时好时坏，其中原因我目前还不清除。其实这样的CD并不意 味着文件有问题不能使用，但是不能通过md5sum总让人无法放心。有人提出使用-pad参数可以避免这样的问题，可是我使用X-CD-Roast刻盘时 使用了这个参数的，一样会出问题。

&lt;a href="http://www.troubleshooters.com/linux/coasterless.htm"&gt;这里&lt;/a&gt;有一个方案，提出使用padsize=63s。例如：
&lt;pre&gt;cdrecord dev=/dev/cdrom speed=16 padsize=63s -pad -v -eject /home/myuid/myiso.iso&lt;/pre&gt;
尝试了一下这个方法，刻的CD成功通过了md5sum测试。其效果有待进一步测试。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111922851304882812?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111922851304882812/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111922851304882812' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111922851304882812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111922851304882812'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/linuxcd.html' title='Linux下刻录CD失败的解决方案'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111914591995627452</id><published>2005-06-18T18:51:00.000-07:00</published><updated>2008-11-10T00:38:23.818-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Adobe Reader 7.0在Linux下打印无法选择打印机的问题</title><content type='html'>虽然Linux下有不少很好的PDF文件浏览器，例如xpdf，但是某些功能例如form还是只有Adobe Reader才能实现。Adobe Reader 7.0的Linux版本功能很好，但是如果有多个打印机，Adobe Reader不允许用户选择打印机，只能用默认的打印机。LinuxFocus提供了一个用kprinter的解决方案：
&lt;pre&gt;#!/bin/sh
# save this as /usr/local/bin/printerScript
# and make it executable with:
# chmod 755 /usr/local/bin/printerScript
## create temporary file
tmp="/tmp/postscript-print-$$.ps"
[ -f "$tmp" ] &amp;&amp; exit 1
## save the file to a new name which will not be deleted
## by acroread. the first argument is the file name of
## the postscript file
cp  "$1"  $tmp
## start the KDE printer frontend on this file
kprinter  $tmp
## clean up afterwards
rm -f     $tmp
##&lt;/pre&gt;
将 上面的文件存为/usr/local/bin/printerScript，然后把Adobe Reader的printer Command一栏由/usr/bin/lp改为/usr/local/bin/printerScript，这样在打印时会自动启动kprinter， 允许用户选择使用的打印机。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111914591995627452?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111914591995627452/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111914591995627452' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111914591995627452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111914591995627452'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/adobe-reader-70linux.html' title='Adobe Reader 7.0在Linux下打印无法选择打印机的问题'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111880469780142678</id><published>2005-06-14T20:04:00.000-07:00</published><updated>2008-11-10T00:38:23.819-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Fedora Firestarter</title><content type='html'>Fedora Core 4发布。Fedora Extra被默认加入yum镜像列表。Firestarter是Fedora Extra的一个防火墙配置工具，比Fedora Core默认的system-config-securitylevel略为灵活一些，然而，生成的iptables规则有些过于复杂。另外，卸载之后，使用DHCP动态IP的系统重启时会提示firestarter文件找不到，这是因为/etc/dhclient-exit-hooks文件有关firestarter的内容并没有随着卸载而删除掉。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111880469780142678?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111880469780142678/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111880469780142678' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111880469780142678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111880469780142678'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/fedora-firestarter.html' title='Fedora Firestarter'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111847187255624345</id><published>2005-06-10T23:37:00.000-07:00</published><updated>2008-11-10T00:38:23.820-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Guarddog</title><content type='html'>Guarddog是一个KDE环境下的iptables防火墙配置工具。它的图形界面非常友好，使用者不需要太多网络方面的知识。

Guarddog默认分为两个网络区域，分别是Internet（外面的世界）和Local（你的计算机）。软件默认首先阻挡所有网络连接，然后由用户指定哪个端口需要开启，这样最大可能的保证了系统安全性。指定端口的方式很简单。如果用户的计算机不运行任何服务（一般用户的电脑都是这样的），那么用户的计算机（Local区域）的所有端口都是关闭状态。如果用户要访问互联网网页，只要把Internet区域中的http开启。如果要访问ftp，就把Internet中的ftp开启。常用的端口包括http, https, ftp, telnet, ssh, POP3, SMTP, DNS等等，另外还有MSN, Yahoo等即时通讯软件和Quake等游戏服务器端口，基本上满足了绝大多数用户的要求。

Guarddog目前功能上的局限也很明显，例如无法配置NAT，处理多个网络界面时缺乏区别对待的灵活性，iptables的很多参数还无法实现等等。但是对于一般的非技术用户，应该足够了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111847187255624345?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111847187255624345/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111847187255624345' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111847187255624345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111847187255624345'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/guarddog.html' title='Guarddog'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111822281151788695</id><published>2005-06-08T02:26:00.000-07:00</published><updated>2008-11-10T00:38:23.821-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Debian 3.1 发布</title><content type='html'>三年多了，Debian终于发布了新版本。安装程序比以前有了大改观，但是易用性比Fedora等仍然差一些，目前还是只能定位于高级用户。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111822281151788695?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111822281151788695/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111822281151788695' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111822281151788695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111822281151788695'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/06/debian-31.html' title='Debian 3.1 发布'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111757687790534719</id><published>2005-05-31T14:59:00.000-07:00</published><updated>2008-11-10T00:38:44.991-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='光学'/><title type='text'>发现一个光衍射干涉分析软件DIFFRACT</title><content type='html'>MM Research Inc.
website: &lt;a href="http://www.mmresearch.com/"&gt;http://www.mmresearch.com/&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111757687790534719?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111757687790534719/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111757687790534719' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111757687790534719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111757687790534719'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/05/diffract.html' title='发现一个光衍射干涉分析软件DIFFRACT'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111706507663720159</id><published>2005-05-25T16:45:00.000-07:00</published><updated>2005-05-25T16:51:16.640-07:00</updated><title type='text'>决定自己学修车了</title><content type='html'>又要花几百美元修车了。以前觉得费事，不如多花些钱让车铺去修，但是这次觉得实在不值，很多问题可以自己解决的，并没有那么麻烦。也好，让我终于下决心要尝试自己修车了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111706507663720159?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111706507663720159/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111706507663720159' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111706507663720159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111706507663720159'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/05/blog-post_25.html' title='决定自己学修车了'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111665866684179122</id><published>2005-05-20T23:55:00.000-07:00</published><updated>2005-05-20T23:57:46.846-07:00</updated><title type='text'>今天的感想</title><content type='html'>以后一定要google搜索之后再开始自己的计算推导，可能会省很多精力。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111665866684179122?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111665866684179122/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111665866684179122' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111665866684179122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111665866684179122'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/05/blog-post_20.html' title='今天的感想'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111586375338014878</id><published>2005-05-11T18:26:00.000-07:00</published><updated>2008-11-10T00:38:23.822-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Fedora Core 4 Test　3　发布</title><content type='html'>Fedora Core 4 Test　3　昨天发布。今天安装试用。界面改进很明显，或许是托新版KDE和Gnome的福。难得的是除了bluecurve之外其他的主题改进也很明显。现在FC已经成了一个可用性非常强的系统。

当然bug还是有的。例如Gimp，还有中文支持，但是应该比较容易改正，总体讲比FC2的测试版的bug少了许多。OpenOfffice.org 2.0　Beta版本增加了数据库软件Base，因此和MS Office的竞争力又增强了一些。另外，主菜单里多了一些新面孔，例如新的电影播放器Totem，新的pdf和postscript文档浏览器 Evince。其他软件正在试用中。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111586375338014878?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111586375338014878/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111586375338014878' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111586375338014878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111586375338014878'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/05/fedora-core-4-test3.html' title='Fedora Core 4 Test　3　发布'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12683551.post-111533775602121191</id><published>2005-05-05T16:56:00.000-07:00</published><updated>2008-11-10T00:38:59.445-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='随想'/><title type='text'>标题解读</title><content type='html'>瑞典皇家科学院将2004年诺贝尔物理学奖授予美国科学家戴维·格罗斯&lt;span class="nbody"&gt;(David Gross)&lt;/span&gt;、戴维·波利策&lt;span class="nbody"&gt;(David Politzer)&lt;/span&gt;和弗兰克·维尔切克&lt;span class="nbody"&gt;(Frank Wilczek)&lt;/span&gt;，以表彰他们发现了粒子物理的强相互作用理论中的“渐近自由”(&lt;span class="nbody"&gt;asymptotic freedom&lt;/span&gt;)现象。

3位科学家在上个世纪70年代提出的理论认为，强作用力会随着夸克彼此间距离的增加而增大，因此没有夸克可以从原子核中向外迁移，获得真正的自由。通俗地 说，这一现象有点像拉一根具有弹性的橡皮筋：橡皮筋拉得越长，其产生的力量越大，人拉起来也更为费劲。同样根据“渐近自由”理论，强作用力会随着夸克间距 离的变小而减弱，这意味着，约束在质子等内部的夸克在彼此距离足够小时将近乎自由地进行运动。&lt;span class="nbody"&gt;三位科学家于1973年完成的工作所采用的数学形式是后来描述强相互作用理论——量子色动力学(QCD)的基础。&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12683551-111533775602121191?l=yusufma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yusufma.blogspot.com/feeds/111533775602121191/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12683551&amp;postID=111533775602121191' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111533775602121191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12683551/posts/default/111533775602121191'/><link rel='alternate' type='text/html' href='http://yusufma.blogspot.com/2005/05/blog-post.html' title='标题解读'/><author><name>Huan Ma</name><uri>http://www.blogger.com/profile/09690102741518868309</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www2.hawaii.edu/~huanm/webpic/head.jpg'/></author><thr:total>0</thr:total></entry></feed>
