小さな試み


x=0:pi/10:4*pi;
y=sin(x);
plot(x,y)
<html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
      <!--
This HTML is auto-generated from an M-file.
To make changes, update the M-file and republish this document.
      -->
      <title>Untitled</title>
      <meta name="generator" content="MATLAB 7.0">
      <meta name="date" content="2012-04-11">
      <meta name="m-file" content="Untitled"><style>
body {
  background-color: white;
  margin:10px;
}
h1 {
  color: #990000; 
  font-size: x-large;
}
h2 {
  color: #990000;
  font-size: medium;
}
p.footer {
  text-align: right;
  font-size: xx-small;
  font-weight: lighter;
  font-style: italic;
  color: gray;
}

pre.codeinput {
  margin-left: 30px;
}

span.keyword {color: #0000FF}
span.comment {color: #228B22}
span.string {color: #A020F0}
span.untermstring {color: #B20000}
span.syscmd {color: #B28C00}

pre.showbuttons {
  margin-left: 30px;
  border: solid black 2px;
  padding: 4px;
  background: #EBEFF3;
}

pre.codeoutput {
  color: gray;
  font-style: italic;
}
pre.error {
  color: red;
}

/* Make the text shrink to fit narrow windows, but not stretch too far in 
wide windows.  On Gecko-based browsers, the shrink-to-fit doesn't work. */ 
p,h1,h2,div {
  /* for MATLAB's browser */
  width: 600px;
  /* for Mozilla, but the "width" tag overrides it anyway */
  max-width: 600px;
  /* for IE */
  width:expression(document.body.clientWidth > 620 ? "600px": "auto" );
}

    </style></head>
   <body><pre class="codeinput">x=0:pi/10:4*pi;
y=sin(x);
plot(x,y)
</pre><img vspace="5" hspace="5" src="Untitled_01.png"> <p class="footer"><br>
         Published with MATLAB® 7.0<br></p>
      <!--
##### SOURCE BEGIN #####
x=0:pi/10:4*pi;
y=sin(x);
plot(x,y)
##### SOURCE END #####
-->
   </body>
</html>

Published with MATLAB® 7.0