<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tihara</author_name>
  <author_url>https://blog.hatena.ne.jp/tihara/</author_url>
  <blog_title>周波数と駒</blog_title>
  <blog_url>https://tihara.hateblo.jp/</blog_url>
  <categories>
    <anon>MATLAB</anon>
  </categories>
  <description>愛用しているMATLABであるが、この言語、printfという名前の関数がない。コマンドウィンドウに値などを出力したいときには、行の末尾にセミコロンをつけないのが最も簡単な方法となる。 例えば、 a = 1; %出力されない a = 1 %以下出力 a = 1 といった具合である。 また、dispというコマンドもある。Rubyでいう&quot;p&quot;のような役割の関数である。 b = [2; 3]; disp(b) %以下出力 2 3 そして、printfはないがfprintfがCでいうprintfの役割になったりする。 fprintf(&quot;%03d\n&quot;, 4) %以下出力 004 このfprintfの使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftihara.hateblo.jp%2Fentry%2F2021%2F01%2F04%2F173817&quot; title=&quot;printf - 周波数と駒&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-04 17:38:17</published>
  <title>printf</title>
  <type>rich</type>
  <url>https://tihara.hateblo.jp/entry/2021/01/04/173817</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
