<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>matlab &#8211; About Things | A Hans Scharler Blog</title>
	<atom:link href="https://nothans.com/tag/matlab/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Sun, 22 Mar 2026 16:27:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/cropped-settings.png?fit=32%2C32&#038;ssl=1</url>
	<title>matlab &#8211; About Things | A Hans Scharler Blog</title>
	<link>https://nothans.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114568856</site>	<item>
		<title>The MATLAB Engineering Super Stack (Updated for GitHub Copilot + MATLAB MCP Core Server)</title>
		<link>https://nothans.com/the-matlab-engineering-super-stack</link>
					<comments>https://nothans.com/the-matlab-engineering-super-stack#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sun, 22 Mar 2026 16:26:32 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Agentic Engineering]]></category>
		<category><![CDATA[GitHub Copilot]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[MATLAB MCP Server]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5365</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>Back in November 2025 I wrote about the <a href="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code" data-type="post" data-id="5223">Engineering Super Stack: MATLAB, Visual Studio Code, and Claude Code</a> wired together with the MATLAB MCP server. The thesis was simple. These tools are better together than apart.</p>



<p>Five months later, I owe that post an update. The stack evolved. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="750" height="750" data-attachment-id="5367" data-permalink="https://nothans.com/super-stack-featured" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?fit=750%2C750&amp;ssl=1" data-orig-size="750,750" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="the matlab engineering super stack" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?fit=750%2C750&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?resize=750%2C750&#038;ssl=1" alt="" class="wp-image-5367" style="width:422px;height:auto" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?w=750&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?resize=530%2C530&amp;ssl=1 530w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-featured.png?resize=500%2C500&amp;ssl=1 500w" sizes="(max-width: 750px) 100vw, 750px" /></figure>
</div>

<h2 class="wp-block-heading" id="the-agent-engineer">The Agent Engineer</h2>


<p>Seth DeLand has been at MathWorks for fifteen years. He started in mechanical engineering, building mathematical models for diesel combustion and NOx emissions. Control strategies, optimization, statistics. The kind of work where getting the math wrong means the engine doesn&#8217;t meet spec. Now he&#8217;s a Product Manager focused on generative AI, and he recently sat down with Jousef Murad on the Engineered-Mind Podcast to talk about what agentic AI means for engineers.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/p8JpYGnaegs?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div></figure>



<p>He&#8217;s not selling hype. He&#8217;s describing what he sees happening in real engineering workflows.</p>



<p>On what makes agentic AI different from chatting with an LLM:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;Rather than it just generating a bunch of text, it&#8217;s actually going to generate calls to APIs&#8230; now they&#8217;re not limited just to generate text as an output, they can actually start to work on the same artifacts that we humans are working on.&#8221;</p>



<p>Seth DeLand</p>
</blockquote>



<p>That distinction matters. An LLM gives you text. An agent gives you results. It runs your code, checks your tests, detects your toolboxes, and iterates on errors. No copying and pasting between windows. The agent works on your project, not a hypothetical version of it.</p>



<p>Seth didn&#8217;t frame this as tools replacing engineers. He framed it as engineers leveling up.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;It&#8217;s more that we are working at a higher level now. We are thinking much more in terms of what are the problems, what are the constraints, how do I shape the solution space so that I can turn my AI loose in that solution space and have it go work&#8230; and then come back to me.&#8221;</p>



<p>Seth DeLand</p>
</blockquote>



<p>You&#8217;re not being replaced. You&#8217;re being promoted. The engineer becomes the one who defines the problem, sets the constraints, and shapes the space where the AI works. That&#8217;s not a demotion. That&#8217;s what senior engineers have always done, except now the junior engineer on your team is an agent that never sleeps and never complains about the build system.</p>



<p>Seth also nailed something I&#8217;ve been feeling since I started using agents for prototyping:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;Why not have it implement four prototypes of all of those different options and see which one I like the best&#8230; it allows me to shorten that cycle to get from kind of an idea to some type of proof of concept.&#8221;</p>



<p>Seth DeLand</p>
</blockquote>



<p>Four prototypes. Not four design docs. Four working implementations. You compare running code instead of arguing about architecture diagrams. I wrote a whole post about this idea (<a href="https://nothans.com/twenty-prototypes">Twenty Prototypes</a>), and hearing a MathWorks PM describe the same workflow independently tells me this isn&#8217;t a niche trick. It&#8217;s becoming the default.</p>


<h2 class="wp-block-heading" id="what-changed-since-november">What Changed Since November</h2>


<p>When I wrote the <a href="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code">original super stack post</a>, the MATLAB MCP Core Server was at version 0.1. First release. Five tools. It worked, but everything is moving fast.</p>



<p>Here&#8217;s where things stand now:</p>



<p>The MCP server is at v0.6.1. MathWorks shipped cross-platform MCP Bundles for one-click installs, added headless mode so MATLAB can run without the desktop GUI, and introduced MCP Resources that feed coding guidelines directly to your AI agent. Nine releases in five months.</p>



<p>MATLAB Copilot launched with R2025a in May 2025. It&#8217;s a purpose-built AI assistant inside the MATLAB desktop with chat, code generation, autocomplete, and error explanations. They even upgraded the underlying model to GPT-5 mini a month after launch.</p>



<p>Simulink Copilot entered beta. You can chat with your Simulink models, search and trace features with natural language, and troubleshoot errors through a dedicated panel on the canvas. If you do model-based design, this is worth watching.</p>



<p>And the MCP ecosystem around it exploded. MCP now has 97 million monthly SDK downloads and over 10,000 active servers. Anthropic donated it to the Linux Foundation. OpenAI, Google, Microsoft, and Amazon all support it. MathWorks calls MCP &#8220;USB-C for AI,&#8221; and that metaphor has held up.</p>



<p>The super stack isn&#8217;t experimental anymore. It&#8217;s infrastructure.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" decoding="async" width="572" height="1024" data-attachment-id="5368" data-permalink="https://nothans.com/super-stack-infographic" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-infographic.png?fit=750%2C1343&amp;ssl=1" data-orig-size="750,1343" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="matlab engineering super stack infographic" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-infographic.png?fit=572%2C1024&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-infographic.png?resize=572%2C1024&#038;ssl=1" alt="" class="wp-image-5368" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-infographic.png?resize=572%2C1024&amp;ssl=1 572w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-infographic.png?resize=168%2C300&amp;ssl=1 168w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/03/super-stack-infographic.png?w=750&amp;ssl=1 750w" sizes="(max-width: 572px) 100vw, 572px" /></figure>
</div>

<h2 class="wp-block-heading" id="the-setup-matlab-mcp-vs-code-github-copilot">The Setup: MATLAB MCP + VS Code + GitHub Copilot</h2>


<p>The original post showed the stack with Claude Code. This time I&#8217;ll set it up with GitHub Copilot in VS Code. Same MCP server, different AI client. That&#8217;s the whole point of an open protocol.</p>



<p><strong>What you need:</strong></p>



<ul class="wp-block-list">
<li>MATLAB R2020b or later, installed and on your system PATH</li>



<li>Visual Studio Code with the GitHub Copilot Chat extension</li>



<li>The MATLAB Extension for VS Code (optional but recommended)</li>



<li>A GitHub Copilot subscription (the free tier works)</li>
</ul>



<p><strong>Step 1: Download the MCP server</strong></p>



<p>Go to the&nbsp;<a href="https://github.com/matlab/matlab-mcp-core-server/releases">MATLAB MCP Core Server releases page</a>&nbsp;on GitHub and download the binary for your platform:</p>



<ul class="wp-block-list">
<li>Windows: <code>matlab-mcp-core-server-win64.exe</code></li>



<li>macOS Apple Silicon: <code>matlab-mcp-core-server-maca64</code></li>



<li>macOS Intel: <code>matlab-mcp-core-server-maci64</code></li>



<li>Linux: <code>matlab-mcp-core-server-glnxa64</code></li>
</ul>



<p>On macOS or Linux, make it executable:&nbsp;<code>chmod +x matlab-mcp-core-server-*</code></p>



<p><strong>Step 2: Configure VS Code</strong></p>



<p>Create a&nbsp;<code>.vscode</code>&nbsp;folder in your project root (if it doesn&#8217;t exist), then add an&nbsp;<code>mcp.json</code>&nbsp;file:</p>



<pre class="wp-block-code"><code>{
    "servers": {
        "matlab": {
            "type": "stdio",
            "command": "C:\\path\\to\\matlab-mcp-core-server-win64.exe",
            "args": &#91;
                "--matlab-root=C:\\Program Files\\MATLAB\\R2025a",
                "--initial-working-folder=C:\\Users\\you\\YourProject"
            ]
        }
    }
}</code></pre>



<p>Replace the paths with your actual MATLAB installation and project directory. On macOS or Linux, use forward slashes.</p>



<p><strong>Step 3: Validate</strong></p>



<p>Open GitHub Copilot Chat in VS Code and ask: &#8220;Which MATLAB toolboxes are available?&#8221;</p>



<p>If everything is wired up, the MCP server launches MATLAB in the background and Copilot responds with your installed toolboxes. The first call takes a few seconds while MATLAB starts. After that, it&#8217;s fast.</p>



<p><strong>What you get:</strong></p>



<p>Five tools, available to any MCP-compatible AI client:</p>



<ul class="wp-block-list">
<li><code>detect_matlab_toolboxes</code>: Lists your installed MATLAB version and toolboxes</li>



<li><code>check_matlab_code</code>: Runs static analysis on a .m file (style issues, errors, deprecated functions)</li>



<li><code>evaluate_matlab_code</code>: Executes a MATLAB code string and returns the output</li>



<li><code>run_matlab_file</code>: Runs a .m script file</li>



<li><code>run_matlab_test_file</code>: Runs MATLAB unit tests</li>
</ul>



<p>Plus two MCP Resources (added in v0.3) that feed your AI agent the official MATLAB coding guidelines. The agent doesn&#8217;t just write MATLAB code. It writes MATLAB code that follows MathWorks conventions.&nbsp;<code>1i</code>&nbsp;instead of&nbsp;<code>i</code>&nbsp;for imaginary numbers.&nbsp;<code>k</code>&nbsp;for loop variables. Error handling the way the documentation says to.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;I think one of the impressive things about a lot of these AI models is that if you can teach it about the system that it&#8217;s working on&#8230; they can build on top of existing things that you have.&#8221;</p>



<p>Seth DeLand</p>
</blockquote>



<p>That&#8217;s exactly what the MCP server does. It teaches the AI about your MATLAB installation, your toolboxes, your project. The agent isn&#8217;t guessing. It&#8217;s building on what you already have.</p>


<h2 class="wp-block-heading" id="you-are-the-engineer">You Are the Engineer</h2>


<p>The tools got better. The MCP server matured. The ecosystem grew. But the most important upgrade in the super stack isn&#8217;t software.</p>



<p>It&#8217;s you.</p>



<p>You decide what problem to solve. You set the constraints. You shape the solution space and turn the agent loose inside it. When it comes back with four prototypes, you&#8217;re the one with the engineering judgment to pick the one that actually works for your system.</p>



<p>The agent writes code, runs tests, checks for deprecated functions. It can&#8217;t decide what matters. That&#8217;s your job.</p>



<p>Seth put it well: engineers are working at a higher level now. Not because the tools forced them to, but because the tools finally caught up to where the interesting problems live. The math. The constraints. The design decisions that determine whether the system works when it meets the real world.</p>



<p>The super stack is MATLAB, VS Code, and an AI agent connected through MCP. The stack doesn&#8217;t work without the engineer at the top of it.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/the-matlab-engineering-super-stack/feed</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5365</post-id>	</item>
		<item>
		<title>The Engineering Super Stack: MATLAB + Visual Studio Code + Claude Code</title>
		<link>https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code</link>
					<comments>https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 03 Nov 2025 23:35:17 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[Generative AI]]></category>
		<category><![CDATA[GitHub Copilot]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[MATLAB MCP Server]]></category>
		<category><![CDATA[MCP]]></category>
		<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5223</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>One tool to rule them all? Or, even better, the super stack. Stacking the right set of tools that yield something greater than the parts. For engineering, I use MATLAB, MATLAB Copilot for syntax help, Visual Studio Code with the MATLAB extension installed, and Claude Code running in Visual Studio Code, connected to MATLAB via MCP. </p>



<p>Here&#8217;s how I feel rn.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="250" height="188" data-attachment-id="5224" data-permalink="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/image-67" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?fit=250%2C188&amp;ssl=1" data-orig-size="250,188" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="A powerful MATLAB engineer" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?fit=250%2C188&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?resize=250%2C188&#038;ssl=1" alt="" class="wp-image-5224" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?w=250&amp;ssl=1 250w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 250px) 100vw, 250px" /></figure>
</div>


<p>I really feel like I can engineer anything with this setup, helping me build engineered systems. I have tried new toolboxes, built deep learning projects, and improved my MATLAB coding skills by running AI code reviews.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;Using MATLAB + Claude Code went from &#8216;vibe coding&#8217; to &#8216;vibration engineering&#8217; &#8212; I was no longer just using AI &#8212;  I learned from it, got pointed in the right direction, and dug in.</p>
<cite>Hans Scharler</cite></blockquote>



<p>Here is what you need:</p>



<ul class="wp-block-list">
<li>MATLAB: <a href="https://matlab.mathworks.com">https://matlab.mathworks.com</a></li>



<li>Visual Studio Code: <a href="https://code.visualstudio.com/">https://code.visualstudio.com/</a></li>



<li>Claude Code: <a href="https://www.claude.com/product/claude-code">https://www.claude.com/product/claude-code</a></li>



<li>MATLAB MCP Core Server for Claude Code: <a href="https://github.com/matlab/matlab-mcp-core-server">https://github.com/matlab/matlab-mcp-core-server</a></li>



<li>MATLAB Extension for Visual Studio Code: <a href="https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab">https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab</a></li>
</ul>



<p>To build your own super stack, open a new MATLAB project in Visual Studio Code with the MATLAB and the Claude Code extensions enabled. From a terminal in VS Code, run Claude Code. Claude Code will interact with Visual Studio Code via these extensions. In Claude Code, enable the MATLAB MCP Core Server. This will give you five MCP tools to interact with MATLAB. Claude Code will be able to check code, evaluate code, run files, run test files, and detect your local MATLAB&#8217;s toolboxes.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="423" data-attachment-id="5226" data-permalink="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/image-68" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?fit=1680%2C946&amp;ssl=1" data-orig-size="1680,946" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?fit=750%2C423&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=750%2C423&#038;ssl=1" alt="" class="wp-image-5226" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=1024%2C577&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=1536%2C865&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=750%2C422&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=480%2C270&amp;ssl=1 480w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=1320%2C743&amp;ssl=1 1320w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?w=1680&amp;ssl=1 1680w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">The Engineering Super Stack: Visual Studio Code + Claude Code + MATLAB</figcaption></figure>
</div>


<p>In my vibration project, my team and I created a few files. It has been a minute since I used them, but with Claude Code, I can just get going. It is going to read what I have, learn from he documentation, and do whatever I am looking to do.</p>



<pre class="wp-block-code"><code>Use the vibration model to generate three weeks of vibration data, then use the analyze vibration function to detect any anomilies</code></pre>



<p>What&#8217;s great about this workflow is that Claude Code is &#8220;not making up&#8221; a solution; it is leveraging the models that I have built plus constrained in MATLAB, bringing some engineering rigor to the chat. Claude Code is taking advantage of the Signal Processing Toolbox and how it works, rather than trying to figure out signal processing with some scratch code.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="505" data-attachment-id="5227" data-permalink="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/image-69" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?fit=1132%2C763&amp;ssl=1" data-orig-size="1132,763" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?fit=750%2C505&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=750%2C505&#038;ssl=1" alt="" class="wp-image-5227" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=1024%2C690&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=300%2C202&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=768%2C518&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=750%2C506&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?w=1132&amp;ssl=1 1132w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">MATLAB is showing me the results of a vibration analysis from motor data</figcaption></figure>
</div>


<p>One extra benefit of this engineering stack is that I find myself exploring more, trying out other features of MATLAB that I haven&#8217;t used before. I feel way more confident trying something new and then learning how it works. I keep expanding what I know and onboarding into new things, learning, and gaining more experience rather than settling for a static picture. Dynamic.</p>



<p>WHat are your pro tips?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/feed</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5223</post-id>	</item>
		<item>
		<title>From GitHub Repo to Book: MATLAB with Python by Yann Debray</title>
		<link>https://nothans.com/matlab-with-python-book-by-yann-debray</link>
					<comments>https://nothans.com/matlab-with-python-book-by-yann-debray#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 22 Nov 2023 22:49:26 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[TensorFlow]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=4315</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>My friend and colleague, Yann Debray, has published a book called &#8220;<a href="https://amzn.to/3GaNlon">MATLAB with Python</a>&#8220;. Yann&#8217;s book presents a unique perspective on integrating MATLAB and Python in scientific computing, challenging the common &#8220;MATLAB vs. Python&#8221; mindset. Aimed at engineers and scientists, the book begins with an introduction that includes a brief history of scientific computing, insights about the author, and a comparison between open-source and commercial software. It sets the stage for a comprehensive guide on how MATLAB and Python can work together, emphasizing their complementary strengths.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://amzn.to/3GaNlon"><img data-recalc-dims="1" loading="lazy" decoding="async" width="742" height="986" data-attachment-id="4316" data-permalink="https://nothans.com/matlab-with-python-book-by-yann-debray/image-11-9" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-11.png?fit=742%2C986&amp;ssl=1" data-orig-size="742,986" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="MATLAB with Python by Yann Debray" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-11.png?fit=742%2C986&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-11.png?resize=742%2C986&#038;ssl=1" alt="" class="wp-image-4316" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-11.png?w=742&amp;ssl=1 742w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-11.png?resize=226%2C300&amp;ssl=1 226w" sizes="auto, (max-width: 742px) 100vw, 742px" /></a><figcaption class="wp-element-caption"><a href="https://amzn.to/3GaNlon">MATLAB with Python</a> by Yann Debray</figcaption></figure>
</div>


<p>The core of the book is structured around practical applications that show you how and why you would want to use MATLAB and Python, and Python with MATLAB. Executing Python code inside of MATLAB, calling Python community packages, and debugging Python code that MATLAB calls are examples of advanced topics that Yann covers and gives you a sense of how easy it is to extract the value from both platforms. The book also explores the use of Python AI libraries from MATLAB, highlighting applications with Scikit-learn and TensorFlow. Conversely, it guides readers on using the MATLAB Engine API for Python, showcasing how MATLAB&#8217;s powerful tools can facilitate AI development. In a recent update to the GitHub repo that backs the book, Yann offers resources on accessing Python packages in <a href="https://matlab.mathworks.com">MATLAB Online</a>.</p>



<p>I found the book practical and easy to follow. My favorite part is that the book itself is open-source. The full prose and source code are stored on a living GitHub repo that Yann has been keeping up to date as things change with MATLAB and Python. Since it is on GitHub, he can link the book to MATLAB Online, where anyone can follow along and try the examples. I specifically like the Call TensorFlow from MATLAB example in the Call Python AI Libraries from MATLAB chapter.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" width="701" height="746" data-attachment-id="4317" data-permalink="https://nothans.com/matlab-with-python-book-by-yann-debray/image-12-7" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-12.png?fit=701%2C746&amp;ssl=1" data-orig-size="701,746" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-12" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-12.png?fit=701%2C746&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-12.png?resize=701%2C746&#038;ssl=1" alt="" class="wp-image-4317" style="width:701px;height:auto" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-12.png?w=701&amp;ssl=1 701w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-12.png?resize=282%2C300&amp;ssl=1 282w" sizes="auto, (max-width: 701px) 100vw, 701px" /><figcaption class="wp-element-caption">Call TensorFlow from MATLAB</figcaption></figure>
</div>


<p>If you are into scientific computing and want to go to the next level, I recommend that you check out the book. You can get into it right now by reading and using the examples on the GitHub repo or getting a physical copy from Amazon so that you can enjoy it at your leisure. Maybe read it with some turkey and cranberry sauce.</p>


<h2 class="wp-block-heading" id="bonus-video">Bonus Video</h2>


<p>If you want to hear and see Yann talk about Python and MATLAB in a video, you are in luck. Yann was a guest on the <a href="https://www.youtube.com/@matlabcoders5446">MATLAB Coders</a> YouTube channel and got into how to effectively use Python and MATLAB together. I like to think that this presentation was the beginning of Yann&#8217;s dream to write a book.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/1hD_M7NawvY?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption class="wp-element-caption">Call Python from MATLAB tutorial</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/matlab-with-python-book-by-yann-debray/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4315</post-id>	</item>
		<item>
		<title>Accelerating learning and building&#8230; The MATLAB AI Chat Playground is open.</title>
		<link>https://nothans.com/the-matlab-ai-chat-playground-is-open</link>
					<comments>https://nothans.com/the-matlab-ai-chat-playground-is-open#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 09 Nov 2023 15:14:41 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[MATLAB Central]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=4203</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>As you may have deduced from my recent blog posts, I have been bullish about generative AI, large-language models, and ChatGPT. I have also been working on generative AI technology for my work at MathWorks. I started internal office hours for ChatGPT and an internal developer community focused on prompt engineering, prototyping, and exploring, which kicked off many development projects. My initial goal was to create a place for users to experiment with generative AI, answer questions, fill gaps, and create bespoke MATLAB code snippets. We recently opened up our AI playground to all users.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://www.mathworks.com/matlabcentral/playground" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="750" data-attachment-id="4204" data-permalink="https://nothans.com/the-matlab-ai-chat-playground-is-open/ai-chat-playground-quick-demo" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/AI-Chat-Playground-quick-demo.gif?fit=600%2C750&amp;ssl=1" data-orig-size="600,750" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="MATLAB AI Chat Playground quick demo" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/AI-Chat-Playground-quick-demo.gif?fit=600%2C750&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/AI-Chat-Playground-quick-demo.gif?resize=600%2C750&#038;ssl=1" alt="" class="wp-image-4204"/></a><figcaption class="wp-element-caption">MATLAB AI Chat Playground</figcaption></figure>
</div>


<p>To get started, open the <a href="https://www.mathworks.com/matlabcentral/playground/" data-type="link" data-id="https://www.mathworks.com/matlabcentral/playground/">MATLAB AI Chat Playground</a> in your favorite desktop web browser. Select an onboarding prompt or type in a question, an idea, or a request for code.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="500" data-attachment-id="4205" data-permalink="https://nothans.com/the-matlab-ai-chat-playground-is-open/playground-output" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?fit=1124%2C749&amp;ssl=1" data-orig-size="1124,749" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="MATLAB AI Chat Playground output" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?fit=750%2C500&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?resize=750%2C500&#038;ssl=1" alt="" class="wp-image-4205" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?resize=1024%2C682&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?resize=768%2C512&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?resize=750%2C500&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?resize=420%2C280&amp;ssl=1 420w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/playground-output.jpg?w=1124&amp;ssl=1 1124w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">AI Chat Playground: Generating and Rendering MATLAB Code</figcaption></figure>
</div>


<p>The AI returns explanations, code, and ideas for how to continue the conversation. You can run the code in real-time thanks to the <a href="https://matlab.mathworks.com">MATLAB Online</a> compute server. You can rate the output using the thumbs-up or thumbs-down buttons. This helps us tune the experience over time.</p>



<p>I have been living with the AI Chat Playground since May and learning with a group of community users. I try to use the playground for my MATLAB questions and work instead of using a search engine. The playground does not do the work for me, but it does help me get closer to a solution. The idea is to accelerate learning and building. If I shave some minutes off looking for an example or answer, then I can stay in the zone longer. These minutes add up over the course of a day, a week, a month, or a year—just little efficiencies that pile up.</p>



<p>My old friend, Jay, called me on his commute the other day, and he said something that has been sticking with me all week.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>&#8220;This is the worst that Generative AI technology will ever be.&#8221;</p>
<cite>Jay Huie</cite></blockquote>



<p>Right now, ChatGPT from OpenAI, Bard from Google, and Poe from Anthropic are already amazing large-language models. It is crazy to think that this is the worst version of the technology, and that is only up from here. We have been living in this world for about 11 months. Buckle up.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://www.mathworks.com/matlabcentral/playground/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="428" data-attachment-id="4206" data-permalink="https://nothans.com/the-matlab-ai-chat-playground-is-open/image-3-15" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?fit=1792%2C1024&amp;ssl=1" data-orig-size="1792,1024" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-3" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?fit=750%2C428&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=750%2C428&#038;ssl=1" alt="" class="wp-image-4206" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=1024%2C585&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=300%2C171&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=768%2C439&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=1536%2C878&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=750%2C429&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?resize=1320%2C754&amp;ssl=1 1320w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/11/image-3.png?w=1792&amp;ssl=1 1792w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">The MATLAB AI Chat Playground visualized by DALL-E 3</figcaption></figure>
</div>


<p>So, over to you. Head over to the MATLAB Central community to access the <a href="https://www.mathworks.com/matlabcentral/playground/" data-type="link" data-id="https://www.mathworks.com/matlabcentral/playground/">AI Chat Playground</a>. Let me know what you learn or build. And share with the rest of the community in the MathWorks Community Discussion Area for <a href="https://www.mathworks.com/matlabcentral/discussions/ai" data-type="link" data-id="https://www.mathworks.com/matlabcentral/discussions/ai">Generative AI</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/the-matlab-ai-chat-playground-is-open/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4203</post-id>	</item>
		<item>
		<title>Classify a Photo Using ResNet-50 and MATLAB Online</title>
		<link>https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online</link>
					<comments>https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sat, 14 Jan 2023 04:16:31 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[deep learning]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[MATLAB Online]]></category>
		<category><![CDATA[ResNet-50]]></category>
		<category><![CDATA[webcam]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3536</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>MATLAB is a powerful tool for technical computing and data analysis. It is widely used in a variety of fields such as engineering, finance, and science. One of the strengths of MATLAB is its ability to work with images and perform image processing tasks.</p>



<p>Most people experienced MATLAB on their PC, but you can also access MATLAB in your browser with <a rel="noreferrer noopener" href="https://matlab.mathworks.com" target="_blank">MATLAB Online</a>. MATLAB Online is a web-based version of MATLAB that allows users to access the software and its features through a web browser. It eliminates the need to install and configure the software on a local computer, making it accessible from anywhere with an internet connection.</p>



<p>In this project, I will be using MATLAB Online to take a picture with a webcam, classify the image using a pre-trained deep learning model, and display the results.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="428" height="428" data-attachment-id="3537" data-permalink="https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online/webcam" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?fit=428%2C428&amp;ssl=1" data-orig-size="428,428" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="webcam" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?fit=428%2C428&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?resize=428%2C428&#038;ssl=1" alt="" class="wp-image-3537" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?w=428&amp;ssl=1 428w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/webcam.png?resize=150%2C150&amp;ssl=1 150w" sizes="auto, (max-width: 428px) 100vw, 428px" /><figcaption class="wp-element-caption">MATLAB Online Selfie</figcaption></figure>
</div>


<p>I selected the ResNet-50 model, which is a deep convolutional neural network (CNN) trained on the ImageNet dataset. ResNet-50 stands for &#8220;Residual Network with 50 layers&#8221; and was developed by Microsoft Research in 2015. The architecture is known for its ability to train very deep neural networks without the problem of vanishing gradients, which allows for improved performance on image classification tasks. The model is capable of identifying objects in images and classifying them into one of 1000 different categories.</p>



<pre class="wp-block-code"><code>% Connect to webcam
cam = webcam;

% Take a picture
img = snapshot(cam);

% Resize image to &#91;224 224 3]
img = imresize(img, &#91;224 224]);

% Display the picture
imshow(img);

% Load pretrained model
net = resnet50;

% Classify image
label = classify(net, img);

% Display label
disp(label);

% Release webcam
clear cam;</code></pre>



<p>What&#8217;s really neat is that MATLAB Online can use your webcam. This code takes a photo, resizes it for ResNet-50, shows the output, and classifies the photo.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://matlab.mathworks.com/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="390" data-attachment-id="3538" data-permalink="https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online/image-2-5" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?fit=1311%2C682&amp;ssl=1" data-orig-size="1311,682" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-2" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?fit=750%2C390&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=750%2C390&#038;ssl=1" alt="" class="wp-image-3538" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=1024%2C533&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=300%2C156&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=768%2C400&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?resize=750%2C390&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/01/image-2.png?w=1311&amp;ssl=1 1311w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Old A.I. Thinks My Phone is an iPod</figcaption></figure>
</div>


<p>Check out <a rel="noreferrer noopener" href="https://matlab.mathworks.com/" target="_blank">MATLAB Online</a> and run the very latest version of MATLAB and select toolboxes. Everyone should be able to try this project out and get started with image classification.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/classify-a-photo-using-resnet-50-and-matlab-online/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3536</post-id>	</item>
		<item>
		<title>Win (or Do Better) at DFS by Optimizing Your Fantasy Football Lineups</title>
		<link>https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups</link>
					<comments>https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 15 Sep 2022 17:57:29 +0000</pubDate>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[DFS]]></category>
		<category><![CDATA[Draft Kings]]></category>
		<category><![CDATA[fantasy football]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[optimization]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3302</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>As the United States heads out of summer and pumpkin spiced everything invades our culinary favorites, American Football takes over. I will now spend some part of my day talking about the NFL, the crazy outcomes, and fantasy football. FANTASY FOOTBALL. I can&#8217;t stress this enough: Fantasy Football saved the NFL. I started playing fantasy football with friends from work five years ago and I can&#8217;t imagine watching football without it. Fantasy football creates a game on top of the game, like an emergent property of an artificial neural network. If you are not into football, then this project might not be so interesting at least on its surface. But, if you stick with it, you might learn about optimization problems since fantasy football lineups are just optimization problems looking to be solved.</p>


<h2 class="wp-block-heading" id="the-problem">The Problem</h2>


<p>Daily Fantasy Sports (DFS) for football is about picking a lineup of players across all of the NFL teams under a set salary cap and competing against other players doing the same thing. It&#8217;s easy right? Just pick all of the best players! Profit. Wait up. Everyone else is doing that too. The secret is to use player projections, maximize your utility of the salary cap, and add some chili pepper for your signature taste.</p>


<h2 class="wp-block-heading" id="the-solution">The Solution</h2>


<p>Dust off your math skills and remind yourself that everything is a math problem, but others have solved them for you. An optimal DFS lineup is just an optimization problem. I am going to pick optimal DFS lineups using MATLAB and its Optimization Toolbox.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="340" data-attachment-id="3303" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/matlab-optimal-team" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/matlab-optimal-team.jpg?fit=767%2C348&amp;ssl=1" data-orig-size="767,348" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1663245293&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="matlab-optimal-team" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/matlab-optimal-team.jpg?fit=750%2C340&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/matlab-optimal-team.jpg?resize=750%2C340&#038;ssl=1" alt="" class="wp-image-3303" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/matlab-optimal-team.jpg?w=767&amp;ssl=1 767w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/matlab-optimal-team.jpg?resize=300%2C136&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/matlab-optimal-team.jpg?resize=750%2C340&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Optimal DFS Football Team for September 15, 2022</figcaption></figure>
</div>

<h2 class="wp-block-heading" id="get-the-data">Get the Data</h2>


<p>In order to optimize a lineup, you need to get some data. You need a table of players with their positions and score projections. I recommend getting the latest player projects from <a rel="noreferrer noopener" href="https://www.dailyfantasyfuel.com/nfl/projections/" target="_blank">Daily Fantasy Fuel</a>. They give you access to a table with everything that you want and they update it daily with the latest projections from Draft Kings and Fan Duel. Projections are subjective but they take into account past performance, team matchups, and weather conditions. You can adjust each row of the table with your own projections and put your thumb on the scales so to speak. Maybe you got some insider info that the Rams are not going to start Cam Akers so you adjust their projection down.</p>



<ul class="wp-block-list"><li>Go to  <a rel="noreferrer noopener" href="https://www.dailyfantasyfuel.com/nfl/projections/" target="_blank">Daily Fantasy Fuel</a> and click on &#8220;Download Projects as CSV&#8221;</li><li>Save the file to your computer as &#8220;DFF_data.csv&#8221; into a new folder</li></ul>



<p>A CSV file is just way to save data as a table. It might look intimidating if you open it up, but we are going to import the data into a nice clean table using MATLAB&#8217;s import tool.</p>


<h2 class="wp-block-heading" id="access-matlab">Access MATLAB</h2>


<p>You might have MATLAB installed on your computer, so all you have to do is open MATLAB. If you don&#8217;t have MATLAB installed, you can use MATLAB Online at <a href="https://matlab.mathworks.com/" target="_blank" rel="noreferrer noopener">matlab.mathworks.com</a> by signing in and clicking &#8220;Open MATLAB Online (basic).&#8221;</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://matlab.mathworks.com/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="429" data-attachment-id="3305" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/matlab-online-basic" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?fit=875%2C501&amp;ssl=1" data-orig-size="875,501" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="MATLAB Online Basic" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?fit=750%2C429&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?resize=750%2C429&#038;ssl=1" alt="" class="wp-image-3305" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?w=875&amp;ssl=1 875w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?resize=300%2C172&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?resize=768%2C440&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/MATLAB-Online-Basic.jpg?resize=750%2C429&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption><a href="https://matlab.mathworks.com/" target="_blank" rel="noreferrer noopener">MATLAB Online (basic)</a></figcaption></figure>
</div>

<h2 class="wp-block-heading" id="import-the-data">Import the Data</h2>


<p>First, we need to get the data into MATLAB.</p>



<ul class="wp-block-list"><li>Right-click on the &#8220;Current Folder&#8221; and click &#8220;Upload Files&#8221;</li><li>Select the CSV file that you downloaded from Daily Fantasy Fuel</li></ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="481" data-attachment-id="3306" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/upload-file-to-matlab-online" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?fit=835%2C536&amp;ssl=1" data-orig-size="835,536" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Upload file to MATLAB Online" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?fit=750%2C481&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?resize=750%2C481&#038;ssl=1" alt="" class="wp-image-3306" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?w=835&amp;ssl=1 835w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?resize=300%2C193&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?resize=768%2C493&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Upload-file-to-MATLAB-Online.jpg?resize=750%2C481&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Uploading file to MATLAB Online</figcaption></figure>
</div>


<p>Second, we need to import the data from the CSV file so we can work our fantasy magic.</p>



<ul class="wp-block-list"><li>Right-click on the DFF_data.csv that we uploaded and click Open</li><li>Click &#8220;Import Selection&#8221; and &#8220;Import Data&#8221;</li></ul>



<p>These steps will bring the data into MATLAB in a nice and useable way. All of the default options will work perfectly.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="429" data-attachment-id="3307" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/import-csv-file-to-matlab" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?fit=1190%2C681&amp;ssl=1" data-orig-size="1190,681" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Import CSV file to MATLAB" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?fit=750%2C429&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?resize=750%2C429&#038;ssl=1" alt="" class="wp-image-3307" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?resize=1024%2C586&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?resize=300%2C172&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?resize=768%2C440&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?resize=750%2C429&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Import-CSV-file-to-MATLAB.jpg?w=1190&amp;ssl=1 1190w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Imported CSV file in MATLAB</figcaption></figure>


<h2 class="wp-block-heading" id="enter-the-code">Enter the Code</h2>


<p>First, let&#8217;s create a new file for our optimizer code.</p>



<ul class="wp-block-list"><li>Right-click on the Current Folder area, click <em>New</em>, and then <em>Live Script</em></li><li>Name it &#8220;dfs.mlx&#8221; and open it</li></ul>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="429" data-attachment-id="3308" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/new-matlab-live-script" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?fit=1190%2C681&amp;ssl=1" data-orig-size="1190,681" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="New MATLAB Live Script" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?fit=750%2C429&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?resize=750%2C429&#038;ssl=1" alt="" class="wp-image-3308" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?resize=1024%2C586&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?resize=300%2C172&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?resize=768%2C440&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?resize=750%2C429&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/New-MATLAB-Live-Script.jpg?w=1190&amp;ssl=1 1190w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>New MATLAB Live Script</figcaption></figure>
</div>


<p>Next, we need to get the code into MATLAB.</p>



<ul class="wp-block-list"><li>Copy and paste my MATLAB code from <a href="https://github.com/nothans/dfs-optimizer/blob/main/dfs.m">GitHub</a> into your new MATLAB Live Script.</li><li>Click &#8220;Save&#8221;</li></ul>



<p>The next thing that we need to do is select a &#8220;Salary Cap&#8221; and run the code.</p>



<ul class="wp-block-list"><li>Change the <em>salaryCap</em> variable to the salary cap to optimize for. 50,000 to 60,000 is a common range.</li><li>Click the Run button on the Live Editor tab</li></ul>



<p>If everything goes to plan, MATLAB will output a table of optimal starting players based on the projected data.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="478" data-attachment-id="3309" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/executed-matlab-code" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?fit=1354%2C863&amp;ssl=1" data-orig-size="1354,863" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Executed MATLAB Code" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?fit=750%2C478&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?resize=750%2C478&#038;ssl=1" alt="" class="wp-image-3309" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?resize=1024%2C653&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?resize=300%2C191&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?resize=768%2C490&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?resize=750%2C478&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/Executed-MATLAB-Code.jpg?w=1354&amp;ssl=1 1354w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Executed MATLAB Code Showing the Optimal DFS Lineup</figcaption></figure>


<h2 class="wp-block-heading" id="profit">Profit</h2>


<p>There&#8217;s still some luck involved. Projections are projections. Now that you have a baseline, you can experiment by using different projections data and tweaking individual player projections.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="651" height="531" data-attachment-id="3312" data-permalink="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/dfs-fat-stacks" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/DFS-fat-stacks.jpg?fit=651%2C531&amp;ssl=1" data-orig-size="651,531" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="DFS fat stacks" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/DFS-fat-stacks.jpg?fit=651%2C531&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/DFS-fat-stacks.jpg?resize=651%2C531&#038;ssl=1" alt="" class="wp-image-3312" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/DFS-fat-stacks.jpg?w=651&amp;ssl=1 651w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/DFS-fat-stacks.jpg?resize=300%2C245&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/09/DFS-fat-stacks.jpg?resize=80%2C64&amp;ssl=1 80w" sizes="auto, (max-width: 651px) 100vw, 651px" /><figcaption>DFS Fat Stacks Using MATLAB</figcaption></figure>
</div>


<p>Let me know how you do and if you made some improvements to my optimization code. Good luck.</p>


<h2 class="wp-block-heading" id="resources">Resources</h2>


<ul class="wp-block-list"><li>Source code at GitHub &#8211; <a href="https://github.com/nothans/dfs-optimizer" target="_blank" rel="noreferrer noopener">https://github.com/nothans/dfs-optimizer</a></li><li>Daily Fantasy Fuel &#8211; <a href="https://www.dailyfantasyfuel.com/nfl/projections/" target="_blank" rel="noreferrer noopener">https://www.dailyfantasyfuel.com/nfl/projections/</a></li><li>MATLAB &#8211; <a href="https://matlab.mathworks.com/" target="_blank" rel="noreferrer noopener">https://matlab.mathworks.com/</a></li><li>Optimization Toolbox documentation &#8211; <a href="https://www.mathworks.com/help/optim/" target="_blank" rel="noreferrer noopener">https://www.mathworks.com/help/optim/</a></li></ul>



<p> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3302</post-id>	</item>
		<item>
		<title>You Can See the Earth Move Thanks to a Seismograph Board for the Raspberry Pi</title>
		<link>https://nothans.com/you-can-see-the-earth-move-thanks-to-a-seismograph-board-for-the-raspberry-pi</link>
					<comments>https://nothans.com/you-can-see-the-earth-move-thanks-to-a-seismograph-board-for-the-raspberry-pi#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sat, 12 Mar 2022 14:57:39 +0000</pubDate>
				<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[thingspeak]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=2745</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I have been blogging about IoT and M2M for just about 15 years. In that timeframe, a lot of <em>things</em> happened. Nothing more significant than the rise of single-board computers ushered in by the Raspberry Pi 10 years ago. Since the Raspberry Pi&#8217;s release, people have been making addon boards for almost any application you can think of. I use a bunch of the tiny computers around my house for various projects: I run a whole arcade machine, a home automation server, and a monitor for network activity to name a few.</p>



<p>Recently, my college at MathWorks, Christopher Stapels, introduced me to the <a href="https://raspberryshake.org/" target="_blank" rel="noreferrer noopener">Raspberry Shake</a>. The&#8221;shake&#8221; is a  personal seismograph that laterally allows you to watch the Earth move and the things that cause the earth to move.</p>



<figure class="wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/xiDaKjxvqEA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption>Raspberry Shake: Your Personal Seismograph</figcaption></figure>



<p>Christopher went on to collaborate with <a href="http://twitter.com/Weston_Quakes">Alan Kafka</a> at Weston Observatory, Boston College, and Jay Pulli at Raytheon to explore traffic data analysis using seismic data collected by the Raspberry Shake and sent to <a href="https://thingspeak.com/channels/1470727" target="_blank" rel="noreferrer noopener">ThingSpeak</a>.</p>



<figure class="wp-block-image size-large"><a href="https://blogs.mathworks.com/iot/2022/03/02/seismic-traffic-monitoring/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="533" data-attachment-id="2746" data-permalink="https://nothans.com/you-can-see-the-earth-move-thanks-to-a-seismograph-board-for-the-raspberry-pi/raspberry-shake" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?fit=1249%2C888&amp;ssl=1" data-orig-size="1249,888" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="raspberry-shake" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?fit=750%2C533&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?resize=750%2C533&#038;ssl=1" alt="" class="wp-image-2746" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?resize=1024%2C728&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?resize=300%2C213&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?resize=768%2C546&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/03/raspberry-shake.jpg?w=1249&amp;ssl=1 1249w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption><a href="https://blogs.mathworks.com/iot/2022/03/02/seismic-traffic-monitoring/">Live Seismic Traffic Monitoring with ThingSpeak, MATLAB, and Raspberry Shake</a></figcaption></figure>



<p>The team explored the data using MATLAB and tried to establish some correlation between vibration and traffic density. Check out the <a rel="noreferrer noopener" href="https://blogs.mathworks.com/iot/2022/03/02/seismic-traffic-monitoring/" target="_blank">project</a> on the MathWorks IoT Blog. <a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=GN8VV8CHnrk" target="_blank">Whole Lotta Shakin&#8217; Goin&#8217; On</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/you-can-see-the-earth-move-thanks-to-a-seismograph-board-for-the-raspberry-pi/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2745</post-id>	</item>
		<item>
		<title>I Want This MathWorks T-Shirt: MATLAB Central Celebrates Its 20th Anniversary</title>
		<link>https://nothans.com/matlab-central-anniversary</link>
					<comments>https://nothans.com/matlab-central-anniversary#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 20:40:21 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[mathworks]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[t-shirts]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=2391</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>The MathWorks Community, <a rel="noreferrer noopener" href="https://www.mathworks.com/matlabcentral" target="_blank">MATLAB Central</a>, launched back in September 2001. It&#8217;s awesome to look <a rel="noreferrer noopener" href="https://blogs.mathworks.com/community/2021/09/09/and-now-we-are-20/" target="_blank">way back</a> and see the origin of the community. MATLAB Central emerged as an extension to the vibrant MTLAB Usenet newgroup. The site launched with a coding content and now 20 years later, we are celebrating our 20th anniversary with a <a href="https://www.mathworks.com/matlabcentral/contests/20th-anniversary-matlab-minihack.html" target="_blank" rel="noreferrer noopener">coding contest</a>!</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://blogs.mathworks.com/community/2021/09/09/and-now-we-are-20/"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="537" data-attachment-id="2392" data-permalink="https://nothans.com/matlab-central-anniversary/matlab-central-2001" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/matlab-central-2001.png?fit=500%2C537&amp;ssl=1" data-orig-size="500,537" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="matlab-central-2001" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/matlab-central-2001.png?fit=500%2C537&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/matlab-central-2001.png?resize=500%2C537&#038;ssl=1" alt="" class="wp-image-2392" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/matlab-central-2001.png?w=500&amp;ssl=1 500w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/matlab-central-2001.png?resize=279%2C300&amp;ssl=1 279w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><figcaption>MATLAB Central Back In 2001</figcaption></figure></div>



<p>The <a rel="noreferrer noopener" href="https://www.mathworks.com/matlabcentral/contests/20th-anniversary-matlab-minihack.html" target="_blank">coding contest</a> is all about using 280 characters or less of MATLAB code to show off an interesting and beautiful image. We will be displaying all of the images allowing folks to remix the code and make new ones. As part of the celebration, MathWorks will be donating up to $20,000 to the humanitarian aid organization, <a href="https://www.directrelief.org/">Direct Relief</a>, based on participation. Along with the support of Direct Relief, we will be giving winners a custom MathWorks shirt. I WANT THIS SHIRT!</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="602" data-attachment-id="2393" data-permalink="https://nothans.com/matlab-central-anniversary/mathworks_community_shirt" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/MathWorks_Community_Shirt.jpg?fit=986%2C792&amp;ssl=1" data-orig-size="986,792" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1631635883&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="MathWorks Community Shirt" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/MathWorks_Community_Shirt.jpg?fit=750%2C602&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/MathWorks_Community_Shirt.jpg?resize=750%2C602&#038;ssl=1" alt="" class="wp-image-2393" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/MathWorks_Community_Shirt.jpg?w=986&amp;ssl=1 986w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/MathWorks_Community_Shirt.jpg?resize=300%2C240&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/09/MathWorks_Community_Shirt.jpg?resize=768%2C617&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>MathWorks Code Contest Shirt</figcaption></figure></div>



<p>Check out the MathWorks Community Contests at <a href="https://www.mathworks.com/matlabcentral/contests.html" target="_blank" rel="noreferrer noopener">MATLAB Central</a>. Follow along for news and updates. And, if you win, show off your t-shirt.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/matlab-central-anniversary/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2391</post-id>	</item>
		<item>
		<title>What are butterflies really up to? Find out with a wind tunnel and high-speed cameras.</title>
		<link>https://nothans.com/what-are-butterflies-really-up-to</link>
					<comments>https://nothans.com/what-are-butterflies-really-up-to#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 25 Aug 2021 14:14:14 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[butterflies]]></category>
		<category><![CDATA[caterpillars]]></category>
		<category><![CDATA[George]]></category>
		<category><![CDATA[mathworks]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[science]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=2364</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I have been a full-time teacher for the last year and a half. This designation is unofficial and I am still learning how to <s>entertain</s> teach my son by engaging in science, reading, arts, and game theory. </p>



<p>Butterflies have recently captured George&#8217;s attention.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="1000" data-attachment-id="2365" data-permalink="https://nothans.com/what-are-butterflies-really-up-to/butterfly_and_george" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_and_george.jpg?fit=847%2C1129&amp;ssl=1" data-orig-size="847,1129" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="butterfly_and_george" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_and_george.jpg?fit=750%2C1000&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_and_george.jpg?resize=750%2C1000&#038;ssl=1" alt="" class="wp-image-2365" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_and_george.jpg?resize=768%2C1024&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_and_george.jpg?resize=225%2C300&amp;ssl=1 225w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_and_george.jpg?w=847&amp;ssl=1 847w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>George and a Butterfly</figcaption></figure></div>



<p>It was fun exploring the lifecycle of a butterfly going from eggs to a caterpillar to a pupa to finally a beautiful butterfly. I am sure there are life lessons in this metamorphosis, but that is for another day.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2366" data-permalink="https://nothans.com/what-are-butterflies-really-up-to/butterfly-life-cycle-insect-emergence-transformation-or-metamorphosis-caterpillar-development-stages-biology-cycle-vector-illustration" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?fit=2560%2C2560&amp;ssl=1" data-orig-size="2560,2560" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;Butterfly life cycle. Insect emergence, transformation or metamorphosis. Caterpillar development stages. Biology cycle vector illustration. Insect and butterfly, larva and pupa development&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;Butterfly life cycle. Insect emergence, transformation or metamorphosis. Caterpillar development stages. Biology cycle vector illustration&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Butterfly life cycle. Insect emergence, transformation or metamorphosis. Caterpillar development stages. Biology cycle vector illustration" data-image-description="" data-image-caption="&lt;p&gt;Butterfly life cycle. Insect emergence, transformation or metamorphosis. Caterpillar development stages. Biology cycle vector illustration. Insect and butterfly, larva and pupa development&lt;/p&gt;
" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?fit=750%2C750&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle.jpg?resize=566%2C566&#038;ssl=1" alt="" class="wp-image-2366" width="566" height="566" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?resize=1024%2C1024&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?resize=768%2C768&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?resize=1536%2C1536&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?resize=2048%2C2048&amp;ssl=1 2048w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly-life-cycle-scaled.jpg?w=2250&amp;ssl=1 2250w" sizes="auto, (max-width: 566px) 100vw, 566px" /><figcaption>Butterfly life cycle</figcaption></figure></div>



<p>George learned by observation. I learned by observation. Butterflies have a unique flight path. They have had a lot of time to learn how to fly and they treat the air like water. What can we learn from butterflies? Well, to go next level, you need some butterflies, a wind tunnel, and some high-speed cameras to slow down the butterfly&#8217;s motion and see what they are doing with their wings. <a rel="noreferrer noopener" href="https://www.mathworks.com/company/mathworks-stories/decoding-butterfly-flight-with-fluid-dynamics.html" target="_blank">Researchers at Lund University did just that</a>.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/Z9iQ6CyQHGg?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption>Uncovering the Secrets to Butterfly Flight Using MATLAB Image Processing and Data Analysis</figcaption></figure>



<p>In a complex experiment, the researchers used MATLAB to calculate aerodynamic forces and analyze the butterfly kinematics. They discovered that the butterflies’ flexible wings provide the impulse and increased efficiency that results in their distinct flight pattern. </p>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://www.mathworks.com/company/mathworks-stories/decoding-butterfly-flight-with-fluid-dynamics.html"><img data-recalc-dims="1" loading="lazy" decoding="async" width="620" height="453" data-attachment-id="2367" data-permalink="https://nothans.com/what-are-butterflies-really-up-to/butterfly_thrust" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_thrust.jpg?fit=620%2C453&amp;ssl=1" data-orig-size="620,453" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="butterfly thrust" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_thrust.jpg?fit=620%2C453&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_thrust.jpg?resize=620%2C453&#038;ssl=1" alt="" class="wp-image-2367" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_thrust.jpg?w=620&amp;ssl=1 620w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/butterfly_thrust.jpg?resize=300%2C219&amp;ssl=1 300w" sizes="auto, (max-width: 620px) 100vw, 620px" /></a><figcaption>The thrust generated during the upstroke and clap of a butterfly flying at approximately 2 ms<sup>-1</sup>. (Image credit: L. C. Johansson and P. Henningsson)</figcaption></figure></div>



<p>It turns out that the butterfly wing is flexible. This allows the butterfly to form a cup to create a tremendous amount of thrust. Planes, jets, and drones all have rigid wings. Understanding how butterflies fly could lead to innovations with other flying machines.</p>



<p>Read more about the butterfly project on <a rel="noreferrer noopener" href="https://www.mathworks.com/company/mathworks-stories/decoding-butterfly-flight-with-fluid-dynamics.html" target="_blank">MathWorks.com</a>. Science!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/what-are-butterflies-really-up-to/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2364</post-id>	</item>
		<item>
		<title>Predictive Maintenance: Going Next Level With the Ninja Foodi Air Fryer</title>
		<link>https://nothans.com/when-will-your-air-fryer-fail</link>
					<comments>https://nothans.com/when-will-your-air-fryer-fail#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 27 May 2021 22:24:42 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[mathworks]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[thingspeak]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=2218</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p><strong><em>I love my air fryer.</em></strong></p>



<p>Our <a href="https://amzn.to/3wvnoJs">Ninja Foodi Air Fryer</a> became our family&#8217;s go-to gadget during the stay-at-home order. When you order takeout, you probably noticed that the food isn&#8217;t the same. The plastic containers are nice for containing during transport, but they have a side effect of steaming your food. Pop your sides into an air fryer and they are back to their former glory&#8230; and sometimes even better. We also found a bunch a <a href="https://amzn.to/3c04Ysj" target="_blank" rel="noreferrer noopener">recipes</a> made for the air fryer. This is going to change your whole existence and I never, ever use hyperbole.</p>



<p>A few years ago, I worked on a <a rel="noreferrer noopener" href="https://www.hackster.io/matlab-iot/condition-based-maintenance-of-a-duct-fan-using-thingspeak-abb23d" target="_blank">predictive maintenance</a> project for duct fans. An air flyer is like a normal oven with the addition of a fan. There are fans in almost every major system and when they fail, the system that they are attached to will eventually fail. Fan blades can get bent, dusty, covered in food particles and oils, and damaged over time. The idea behind predictive maintenance is to predict the remaining useful life (RUL) of a machine and perform maintenance and repairs just-in-time. When applied at scale, predictive maintenance strategies provide a substantial return on investment. Studies show that condition-monitoring and predictive maintenance pays for itself and can be developed by anyone using MATLAB and the <a rel="noreferrer noopener" href="https://www.mathworks.com/products/predictive-maintenance.html" target="_blank">Predictive Maintenance Toolbox</a>.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="580" data-attachment-id="2221" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/air_fryer_thingspeak_particle" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?fit=2560%2C1980&amp;ssl=1" data-orig-size="2560,1980" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 2&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622115639&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.442&quot;,&quot;iso&quot;:&quot;356&quot;,&quot;shutter_speed&quot;:&quot;0.016671&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Air Fryer Connected to ThingSpeak" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?fit=750%2C580&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle.jpg?resize=750%2C580&#038;ssl=1" alt="" class="wp-image-2221" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=1024%2C792&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=300%2C232&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=768%2C594&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=1536%2C1188&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?resize=2048%2C1584&amp;ssl=1 2048w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/air_fryer_thingspeak_particle-scaled.jpg?w=2250&amp;ssl=1 2250w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Air fryer with vibration sensor connected to ThingSpeak</figcaption></figure>



<p>Check out my <a rel="noreferrer noopener" href="https://www.hackster.io/matlab-iot/condition-based-maintenance-of-a-duct-fan-using-thingspeak-abb23d" target="_blank">Condition-based Maintenance of a Duct Fan</a> using ThingSpeak over at Hackster for a complete tutorial, video, and the source code. I adapted this project for an air fryer, but you could literally apply this technique to any machine that you want to monitor or to predict its remaining useful life. The idea is that fans and monitors vibrate when they are operational. As they degrade, the vibration changes over time. If you train a model with the data, you can use the model to predict the machine&#8217;s state, condition, and remaining lifespan. The predicted information can be used to change the maintenance schedule of the machine and optimize repair timing. It&#8217;s better to replace a part when the machine is scheduled to be down versus when the machine is in production.</p>



<p>I am using the <a href="https://docs.particle.io/reference/discontinued/button/">Particle Internet Button</a> for this project. The button gives me a nice convenient packaging of a Wi-Fi device for connectivity to ThingSpeak, an accelerometer to measure vibration, and LEDs for status lights.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/7P-gZ7t-AUQ?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div></figure>



<p>The system uses ThingSpeak channels to store the vibration data, MATLAB / Predictive Maintenance Toolbox to build our machine learning model, MATLAB to analyze live data, and ThingSpeak to visualize our machine state and predictions.</p>



<figure class="wp-block-image size-large is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="2222" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/rul_system" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?fit=1319%2C712&amp;ssl=1" data-orig-size="1319,712" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622137085&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="rul_system" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?fit=750%2C405&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=740%2C399&#038;ssl=1" alt="" class="wp-image-2222" width="740" height="399" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=1024%2C553&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=300%2C162&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?resize=768%2C415&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/rul_system.jpg?w=1319&amp;ssl=1 1319w" sizes="auto, (max-width: 740px) 100vw, 740px" /><figcaption>Predictive Maintenance System Overview</figcaption></figure>



<p>Here&#8217;s an overview of the steps involved:</p>



<ul class="wp-block-list"><li><strong>Data Collection</strong> &#8211; Your first challenge is to collect data from the system. Attach the vibration sensor package to the machine, connect it to the network, and send the data to an IoT service like <a href="https://thingspeak.com">ThingSpeak</a>.</li><li><strong>Data Parsing, Exploration, Feature Extraction, and Training</strong> &#8211; Now that you have data, you have to figure out what it all means. Use MATLAB, the <a href="https://www.mathworks.com/products/predictive-maintenance.html">Predictive Maintenance Toolbox</a>, and the <a href="https://www.mathworks.com/products/statistics.html">Statistics and Machine Learning Toolbox</a> to parse the data, extract interesting features, and to train a machine learning model.</li><li><strong>Visualize and Report</strong> &#8211; Present your findings with charts and gauges. Use ThingSpeak Alerts to send automated email messages about the machine&#8217;s health.</li><li><strong>Profit.</strong></li></ul>



<p>Here&#8217;s what some raw data from air fyer looks like.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="566" data-attachment-id="2223" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/thingspeak_ninja_foodie" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?fit=848%2C640&amp;ssl=1" data-orig-size="848,640" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1621603721&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="ThingSpeak_Ninja_Foodie" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?fit=750%2C566&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=750%2C566&#038;ssl=1" alt="" class="wp-image-2223" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?w=848&amp;ssl=1 848w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=768%2C580&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/ThingSpeak_Ninja_Foodie.jpg?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Air Fryer Vibration Data on ThingSpeak</figcaption></figure>



<p>Vibration data is hard to interpret, but with machine learning, it&#8217;s possible to classify what the vibration data means and understand what the changes mean over time. You may even have noticed the sound of these appliances change over time. This is your brain picking up on the changes and telling you, &#8220;IT IS TIME TO CLEAN YOUR NASTY AIR FRYER.&#8221; Imagine a machine learning model always monitoring the vibration data and alerting you on the changes. Things will be working when they are supposed to be working.</p>



<p>Run two experiments with your fan and collect the data:</p>



<ul class="wp-block-list"><li><strong>Experiment 1:</strong>&nbsp;<em>Simulating</em>&nbsp;<em>failure due to blocking the airflow</em>&nbsp;(1000 data points) &#8211; Collect 1000 data points: 250 – OFF, 250 –ON, and 500 – BLOCKAGE</li><li><strong>Experiment 2:</strong>&nbsp;<em>Simulating</em>&nbsp;<em>failure due to rotor imbalance</em>&nbsp;(1000 data points) &#8211; Collect 1000 data points: = 250 – OFF, 250 –ON, 500 – IMBALANCED</li></ul>



<figure class="wp-block-video"><video height="420" style="aspect-ratio: 560 / 420;" width="560" controls src="https://nothans.com/wp-content/uploads/2021/05/data_visualization_Ruv6CGlIdR.mp4"></video><figcaption>MATLAB Data Exploration</figcaption></figure>



<p>When we explore the vibration data, you may notice some things:</p>



<ul class="wp-block-list"><li>The variance of the data in the time domain increases as the fan is turned on and as the failure develops in both experiments.</li><li>In the frequency domain for the experiment 1 data, the peak shifts from 30 Hz to 25 Hz.</li><li>In experiment 2, the peak in the frequency domain remains at the same point but the amplitude at that frequency increases.</li></ul>



<p>Using MATLAB&#8217;s built in Classification Leaner App in the Statistics and Machine Learning Toolbox makes it easy to train a machine learning model with your data.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="604" data-attachment-id="2225" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/classification_learner_app_in_matlab" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?fit=958%2C771&amp;ssl=1" data-orig-size="958,771" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622138330&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="classification_learner_app_in_matlab" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?fit=750%2C604&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?resize=750%2C604&#038;ssl=1" alt="" class="wp-image-2225" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?w=958&amp;ssl=1 958w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?resize=300%2C240&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/classification_learner_app_in_matlab.jpg?resize=768%2C618&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Classification Leaner App in MATLAB</figcaption></figure>



<p>When everything is running in operation, the system will monitor the vibration data, analyze using the MATLAB analytics that we developed in the tutorial, and predict the time to service. As you use appliances and machines they degrade over time. You don&#8217;t always need to clean and maintain. The trick is to do it when you need to do it before catastrophic failure&#8230; or going to <a rel="noreferrer noopener" href="https://amzn.to/3wvnoJs" target="_blank">Amazon</a> and buying a new one.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="552" height="276" data-attachment-id="2226" data-permalink="https://nothans.com/when-will-your-air-fryer-fail/time_to_service" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?fit=552%2C276&amp;ssl=1" data-orig-size="552,276" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1622138655&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="time_to_service" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?fit=552%2C276&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?resize=552%2C276&#038;ssl=1" alt="" class="wp-image-2226" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?w=552&amp;ssl=1 552w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/05/time_to_service.jpg?resize=300%2C150&amp;ssl=1 300w" sizes="auto, (max-width: 552px) 100vw, 552px" /><figcaption>Time To Service</figcaption></figure></div>



<p>If you are looking to try this out for yourself, check out the <a rel="noreferrer noopener" href="https://www.hackster.io/matlab-iot/condition-based-maintenance-of-a-duct-fan-using-thingspeak-abb23d" target="_blank">Condition-based Maintenance of a Duct Fan</a> project published on on Hackster. We have included the source code for the device as well as the MATLAB code to make the system to work. This can be applied to other systems and the process applies to many applications of predictive maintenance. Now that you know that these techniques exist, you might be able to find some useful ways to apply them.</p>



<p><strong><em>Apparently, I like <a rel="noreferrer noopener" href="https://nothans.com/mytoaster" target="_blank">connecting appliances</a> to the internet.</em></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/when-will-your-air-fryer-fail/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://nothans.com/wp-content/uploads/2021/05/data_visualization_Ruv6CGlIdR.mp4" length="939784" type="video/mp4" />

		<post-id xmlns="com-wordpress:feed-additions:1">2218</post-id>	</item>
	</channel>
</rss>
