<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Scientific Computing on Daniel Hufschläger</title>
    <link>https://hufschlaeger.net/tags/scientific-computing/</link>
    <description>Recent content in Scientific Computing on Daniel Hufschläger</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>de</language>
    <copyright>© 2026 Daniel</copyright>
    <lastBuildDate>Fri, 09 Oct 2020 17:06:31 +0100</lastBuildDate><atom:link href="https://hufschlaeger.net/tags/scientific-computing/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Suche nach den ersten hundert Primzahlen in C&#43;&#43;</title>
      <link>https://hufschlaeger.net/blog/cpp-prime-numbers/</link>
      <pubDate>Fri, 09 Oct 2020 17:06:31 +0100</pubDate>
      
      <guid>https://hufschlaeger.net/blog/cpp-prime-numbers/</guid>
      <description>&lt;p&gt;Suchen der Primzahlen kleiner 100 in C++.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt; 1&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 2&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 3&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 4&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 5&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 6&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 7&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 8&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt; 9&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;10&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;11&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;12&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;13&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;14&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;15&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;16&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;17&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;18&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;19&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;20&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;21&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;22&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;23&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;24&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;25&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;26&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;27&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;28&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;29&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;30&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;31&#xA;&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;32&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-cpp&#34; data-lang=&#34;cpp&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// basic io&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;#include&lt;/span&gt; &lt;span class=&#34;cpf&#34;&gt;&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;using&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;namespace&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;std&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kt&#34;&gt;int&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;main&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;int&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;argc&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;kt&#34;&gt;char&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;argv&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;[]&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;kt&#34;&gt;int&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt;   &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;kt&#34;&gt;int&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iDivisor&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;c1&#34;&gt;// loop over all natural numbers &#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;100&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;++&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;){&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;c1&#34;&gt;// state if current number is a prime number&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;kt&#34;&gt;int&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iPrime&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;c1&#34;&gt;// loop over each divisor candidate&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iDivisor&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iDivisor&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;++&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;iDivisor&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &lt;span class=&#34;c1&#34;&gt;// if divisor matches the current number -&amp;gt; change state&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;%&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iDivisor&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;==&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;){&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;n&#34;&gt;iPrime&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;c1&#34;&gt;// if prime print to stdout&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;iPrime&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;==&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &lt;span class=&#34;n&#34;&gt;std&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;cout&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;iCount&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;std&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;::&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;endl&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;k&#34;&gt;return&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;/div&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/cpp-prime-numbers/featured.png" />
    </item>
    
    <item>
      <title>Sublime Text 3 using miniconda</title>
      <link>https://hufschlaeger.net/blog/sublime-text-and-miniconda/</link>
      <pubDate>Tue, 10 Oct 2017 20:43:31 +0200</pubDate>
      
      <guid>https://hufschlaeger.net/blog/sublime-text-and-miniconda/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://docs.anaconda.com/anaconda/user-guide/tasks/integration/sublime&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;conda package for Sublime Text 3&lt;/a&gt; in default configuration is prefering Anaconda. Neverless by adjusting some paths, you&amp;rsquo;ll be able to use miniconda aswell. The source block below was taken for a installation of miniconda (with Python 3.6) x64 on a Windows workstation. The paths might be different on a macOS or Linux machine.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/sublime-text-and-miniconda/featured.png" />
    </item>
    
    <item>
      <title>Amplitude modulation and demodulation using Python</title>
      <link>https://hufschlaeger.net/blog/amplitude-modulation-and-demodulation/</link>
      <pubDate>Thu, 27 Apr 2017 10:43:31 +0200</pubDate>
      
      <guid>https://hufschlaeger.net/blog/amplitude-modulation-and-demodulation/</guid>
      <description>&lt;p&gt;As the title promises, I have spent some time for recapitulating the amplitude modulation and several reconstruction techniques. Today amplitude modulation isn&amp;rsquo;t very common, but was used for varoius applications like audio or signal transmissions in general.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/amplitude-modulation-and-demodulation/featured.png" />
    </item>
    
    <item>
      <title>CFD simulations using Scientific Python</title>
      <link>https://hufschlaeger.net/blog/cfd-simulation-using-python/</link>
      <pubDate>Sun, 18 Dec 2016 02:00:00 +0000</pubDate>
      
      <guid>https://hufschlaeger.net/blog/cfd-simulation-using-python/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;Introduction&#xA;    &lt;div id=&#34;introduction&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#introduction&#34; aria-label=&#34;Anker&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;For some simulation topics of my Ph.D., I had to learn/recapitulate some basics about simulations techniques and fluid simulations. The original procedure and code could be found at &lt;a href=&#34;http://www.archer.ac.uk/training/course-material/2014/07/SciPython_Cranfield/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Archer (UK National Supercomputing Service)&lt;/a&gt;. This is a simple example for applying the finite difference approach to determine the flow pattern (CFD&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;) in a cavity. For simplicity, we&amp;rsquo;re assuming a perfect liquid without viscosity, which also implies that there&amp;rsquo;re no vortices. The \(z\)-dimension of this setup was defined to be endless. We are interested in the directional velocity of the fluid.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/cfd-simulation-using-python/featured.png" />
    </item>
    
    <item>
      <title>Scientific Python - first contact</title>
      <link>https://hufschlaeger.net/blog/scipy-first-contact/</link>
      <pubDate>Mon, 05 Dec 2016 02:00:00 +0000</pubDate>
      
      <guid>https://hufschlaeger.net/blog/scipy-first-contact/</guid>
      <description>&lt;p&gt;To be honest, my last contact with Python was some &lt;a href=&#34;https://hufschlaeger.net/2008-11-messwerte-schnell-mit-gnuplot-und-python-plotten/&#34; &gt;years ago&lt;/a&gt;. It&amp;rsquo;s a pretty cool language, nice packaging system (pip and so on) like CPAN&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; or CTAN&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;. But to be more focused on C/C++, Python and myself are going different ways. Last year I purchased a textbook &amp;ldquo;Python Machine Learning&amp;rdquo;  Sebastian Raschka in a fortunate coincidence and as I had read it, I was fascinated by a bundle of new Python libraries like Numpy, SciPy, Mathplotlib and so on.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/scipy-first-contact/featured.png" />
    </item>
    
    <item>
      <title>Octave Stapel- oder Batchverarbeitung von Dateien</title>
      <link>https://hufschlaeger.net/blog/octave-batchverarbeitung-von-dateien/</link>
      <pubDate>Tue, 20 May 2014 20:33:39 +0000</pubDate>
      
      <guid>https://hufschlaeger.net/blog/octave-batchverarbeitung-von-dateien/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;Batchverarbeitung&#xA;    &lt;div id=&#34;batchverarbeitung&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#batchverarbeitung&#34; aria-label=&#34;Anker&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Programme wie MATLAB oder &lt;a href=&#34;https://gnu.org/software/octave/&#34; title=&#34;GNU Octave&#34; target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Octave&lt;/a&gt; sind schon recht hilfreiche Programme, wenn es darum geht Daten mathematisch auszuwerten oder zu visualisieren. Dabei ist es oftmals extrem nervig, wenn mehrere Dateien des gleichen Typs verarbeitet werden – also mittels Stapel- oder Batchverarbeitung – sollen um bspw. Trainingsdaten für einen Klassifikator zu verarbeiten etc.. Für MATLAB ist mir dazu mal eine 32-Bit-DLL untergekommen, aber leider funktioniert diese nicht unter Octave.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/octave-batchverarbeitung-von-dateien/featured.png" />
    </item>
    
    <item>
      <title>Octave - Alternative zu Scilab ist gefunden</title>
      <link>https://hufschlaeger.net/blog/octave-alternative-zu-scilab-ist-gefunden/</link>
      <pubDate>Thu, 29 Jan 2009 21:12:56 +0000</pubDate>
      
      <guid>https://hufschlaeger.net/blog/octave-alternative-zu-scilab-ist-gefunden/</guid>
      <description>&lt;p&gt;Nachdem ich ja &lt;a title=&#34;Probleme mit Scilab&#34; href=&#34;https://hufschlaeger.net/blog/2008/11/probleme-mit-scilab.html/&#34; target=&#34;_self&#34;&gt;letzens gemeckert habe,&lt;/a&gt; aber leider nicht ohne Mathe-Software im Studium auskomme, habe ich mich wieder dem Problem Scilab und Open-JDK zu gewandt. Leider ohne eine nennenswerte Verbesserung. Also blieb mir nur die Variante VirtualBox oder eben was anderes. Letzteres hat sich dann diese Woche als sehr komfortabel herausgestellt und trägt den Namen &lt;a title=&#34;GNU Octave&#34; href=&#34;http://www.gnu.org/software/octave/&#34; target=&#34;_self&#34;&gt;Octave&lt;/a&gt;.&#xA;&lt;figure&gt;&lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;image&#34;&#xA;    src=&#34;https://hufschlaeger.net/img/power_meas.png&#34;&#xA;    &gt;&lt;figcaption&gt;Auswertung einer Leistungsmessung mit Octave&lt;/figcaption&gt;&lt;/figure&gt;&#xA;&#xA;In der Grundausstattung kommt octave recht schlicht als Kommandointerpreter und ohne GUI daher.Â  Allerdings gibt es dort auch Projekte wie kOctave oder QtOctave, welche sich diesem Problem annehmen.&#xA;Interessanterweise wird standardmäßig &lt;a title=&#34;GNU Plot&#34; href=&#34;http://www.gnuplot.info/&#34; target=&#34;_self&#34;&gt;GNUPlot&lt;/a&gt; für die Ausgabe der Graphen verwendet, womit ich ja schon recht &lt;a title=&#34;Plotten mit GNU Plot&#34; href=&#34;https://hufschlaeger.net/blog/2008/11/messwerte-schnell-mit-gnuplot-und-python-plotten.html/&#34; target=&#34;_self&#34;&gt;gute Erfahrungen&lt;/a&gt; machen konnte. Ein Problem war allerdings noch zu lösen. Bei der Ausgabe in Bildformate wie PNG oder JPEG meckerte octave bzgl. einiger fehlender Schriftarten. Deshalb sollten folgende Werte innerhalb der Shellumgebung gesetzt bzw. die Standardeinstellungen von octave erweitert werden.&#xA;In der .bashrc&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/octave-alternative-zu-scilab-ist-gefunden/featured.png" />
    </item>
    
    <item>
      <title>Probleme mit Scilab</title>
      <link>https://hufschlaeger.net/blog/probleme-mit-scilab/</link>
      <pubDate>Mon, 17 Nov 2008 21:28:24 +0000</pubDate>
      
      <guid>https://hufschlaeger.net/blog/probleme-mit-scilab/</guid>
      <description>&lt;p&gt;Also eigentlich bin ich ja ein Freund von freier Software und kann mich auch recht schnell damit anfreunden, wenn es Probleme gibt oder es eventuell das ein oder andere Problem gibt, das erst gelöst werden muss bevor man die Software benutzen kann. Aber bei manchen Sachen kapituliere ich dann doch oder starte jetzt einfach mal einen Aufruf zu Hilfe. Die Rede ist von der freien Software &lt;a href=&#34;http://www.scilab.org/&#34; title=&#34;SciLab&#34; target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Scilab&lt;/a&gt;, die erst kürzlich in Version 5.0.3 erschienen ist. Das Programm ist eine echt &lt;a href=&#34;http://www.mathworks.de/&#34; title=&#34;Mathworks Matlab&#34; target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Matlab&lt;/a&gt;-Alternative, besonders wenn man eh nur an der Oberfläche kratzt und mal eben hier und da Gleichungssysteme lösen will oder schnell einen Graph braucht. Für letzteres hat mir zwar bisher &lt;a title=&#34;GNUPlot + Python : Messwerte plotten&#34; href=&#34;https://hufschlaeger.net/messwerte-schnell-mit-gnuplot-und-python-plotten/&#34; target=&#34;_self&#34;&gt;GnuPlot in Verbindung mit Python&lt;/a&gt; recht gute Dienste geleistet, aber langsam geht es ans Eingemachte.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/probleme-mit-scilab/featured.png" />
    </item>
    
    <item>
      <title>Messwerte schnell mit GnuPlot und Python plotten</title>
      <link>https://hufschlaeger.net/blog/messwerte-schnell-mit-gnuplot-und-python-plotten/</link>
      <pubDate>Wed, 12 Nov 2008 02:00:00 +0000</pubDate>
      
      <guid>https://hufschlaeger.net/blog/messwerte-schnell-mit-gnuplot-und-python-plotten/</guid>
      <description>&lt;p&gt;Des Öfteren kommt es einem während des Studiums unter, dass man Messwerte grafisch darstellen soll/muss. Allerdings nicht nur für Laborprotokolle sondern auch für das allgemeine Verständnis stellen diese Verläufe eine wertvolle Hilfe dar. Wer nicht immer gleich zu den Riesen der mathematischen Programme wie &lt;a href=&#34;http://www.mathworks.de&#34; target=&#34;_blank&#34;&gt;Matlab von Mathworks&lt;/a&gt;, &lt;a href=&#34;http://www.scilab.org&#34; target=&#34;_blank&#34;&gt;Scilab &lt;/a&gt;usw. greifen möchte, kann dafür auch genauso gut &lt;a href=&#34;http://www.gnuplot.info&#34; target=&#34;_blank&#34;&gt;GNUPlot&lt;/a&gt; benutzen. GNUPlot selbst, stellt schon sehr viele Funktionen bereit um allerlei &lt;a href=&#34;http://userpage.fu-berlin.de/~voelker/gnuplotkurs/gnuplotkurs.html&#34; target=&#34;_blank&#34;&gt;GnuPlot Grundkurs FU Berlin&lt;/a&gt; grafisches Zeugs zu erstellen, aber in Verbindung mit einer Skriptsprache wie Python ist es nahezu unschlagbar.&#xA;Da ich erst neulich für einen Grundlagenversuch eine Alternative zum Zeichnen einer Diodenkennlinie suchte, hab ich das Skript hier geschrieben. Es ist natürlich sehr rudimentär, aber erlaubt das Beschriften der Achsen und die Angabe einer Datei mit Messwerten die wie folgt aufgebaut ist.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://hufschlaeger.net/blog/messwerte-schnell-mit-gnuplot-und-python-plotten/featured.png" />
    </item>
    
  </channel>
</rss>
