<?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 code Archives &#8212; MATLAB Number ONE</title>
	<atom:link href="https://matlab1.com/category/matlab-code/feed/" rel="self" type="application/rss+xml" />
	<link>https://matlab1.com/category/matlab-code/</link>
	<description>MATLAB Simulink &#124; Tutorial &#124; Code &#124; Project</description>
	<lastBuildDate>Tue, 29 Dec 2020 17:20:30 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://matlab1.com/wp-content/uploads/2018/08/icon1-100x100.png</url>
	<title>MATLAB code Archives &#8212; MATLAB Number ONE</title>
	<link>https://matlab1.com/category/matlab-code/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Code debugging in MATLAB</title>
		<link>https://matlab1.com/code-debugging-in-matlab/</link>
					<comments>https://matlab1.com/code-debugging-in-matlab/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Tue, 29 Dec 2020 09:20:06 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=7062</guid>

					<description><![CDATA[<p>You can debug your programs in the following ways: Divide the program into several shorter sections and try each section separately. Write the results of the calculations in the middle stages of the program flow. You can do this easily by removing the semicolon (;) from the end of the calculation statement or writing the [&#8230;]</p>
<p>The post <a href="https://matlab1.com/code-debugging-in-matlab/">Code debugging in MATLAB</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/code-debugging-in-matlab/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MATLAB TIPS AND TRICKS</title>
		<link>https://matlab1.com/matlab-tips-and-tricks/</link>
					<comments>https://matlab1.com/matlab-tips-and-tricks/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Tue, 12 Jun 2018 12:17:42 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=5602</guid>

					<description><![CDATA[<p>Version Issues One of the key issues to be mindful of is that there are two new versions of MATLAB every year, one in the spring of that year (e.g., 2016a) and one in the fall (e.g., 2016b). Whereas changes in each release are incremental, over time, these changes do add up to transformational change. For instance, [&#8230;]</p>
<p>The post <a href="https://matlab1.com/matlab-tips-and-tricks/">MATLAB TIPS AND TRICKS</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/matlab-tips-and-tricks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Numerical integral of an input function or data set using Simpson’s rule</title>
		<link>https://matlab1.com/numerical-integral-of-an-input-function-or-data-set-using-simpsons-rule/</link>
					<comments>https://matlab1.com/numerical-integral-of-an-input-function-or-data-set-using-simpsons-rule/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Thu, 15 Mar 2018 13:36:04 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=4384</guid>

					<description><![CDATA[<p>function I = simpsons(f,a,b,n) if numel(f)¿1 % If the input provided is a vector n=numel(f)-1; h=(b-a)/n; I= h/3*(f(1)+2*sum(f(3:2:end-2))+4*sum(f(2:2:end))+f(end)); else % If the input provided is an anonymous function h=(b-a)/n; xi=a:h:b; I= h/3*(f(xi(1))+2*sum(f(xi(3:2:end-2)))+4*sum(f(xi(2:2:end)))+f(xi(end))); end</p>
<p>The post <a href="https://matlab1.com/numerical-integral-of-an-input-function-or-data-set-using-simpsons-rule/">Numerical integral of an input function or data set using Simpson’s rule</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/numerical-integral-of-an-input-function-or-data-set-using-simpsons-rule/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>flow rate calculation in the microfluidic channels using the rectangular channel flow equations</title>
		<link>https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-the-rectangular-channel-flow-equations/</link>
					<comments>https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-the-rectangular-channel-flow-equations/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Thu, 15 Mar 2018 13:33:22 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=4382</guid>

					<description><![CDATA[<p>The following protocol calculated flow rate in the microfluidic channels using data obtained from PIV using the rectangular channel flow equations. &#160; %Calculates flow rate from velocity according to the exact solution of %rectangular channel flow %Enter everything as u:m/s, W,H: micron, L: mm function[q]=profilecalc(W,H,L) %Definitions, converting to standard SI %Width w=W*10ˆ-6; %Height h=H*10ˆ-6; %Length l=L*10ˆ-3; [&#8230;]</p>
<p>The post <a href="https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-the-rectangular-channel-flow-equations/">flow rate calculation in the microfluidic channels using the rectangular channel flow equations</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-the-rectangular-channel-flow-equations/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>flow rate calculation in the microfluidic channels using Purday approximation</title>
		<link>https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-purday-approximation/</link>
					<comments>https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-purday-approximation/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Thu, 15 Mar 2018 13:31:18 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=4380</guid>

					<description><![CDATA[<p>flow rate calculation in the microfluidic channels using data obtained from PIV using the Purday approximation. &#160; %Program uses the maximum velocity obtained from PIV to calculate the flow %rate %Define time step (us) time step=90; %Channel width (um) w=1500; %Channel height (um) h=212.5; %Read in the image vectors v=loadvec(’*.vc7’); %For each time step/file: %Access [&#8230;]</p>
<p>The post <a href="https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-purday-approximation/">flow rate calculation in the microfluidic channels using Purday approximation</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/flow-rate-calculation-in-the-microfluidic-channels-using-purday-approximation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sinc interpolation on input waveforms</title>
		<link>https://matlab1.com/sinc-interpolation-on-input-waveforms/</link>
					<comments>https://matlab1.com/sinc-interpolation-on-input-waveforms/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Thu, 15 Mar 2018 13:28:46 +0000</pubDate>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=4378</guid>

					<description><![CDATA[<p>function [yi, ypi] = sincdint(x, y, xi, c) % SINCDINT 1-D piecewise discrete sinc interpolation % SINCDINT(X,Y,XI,C) interpolates to find YI, the values of the % underlying function Y at the points in the array XI, using % piecewise discrete sinc interpolation. X and Y must be vectors % of length N. % % C [&#8230;]</p>
<p>The post <a href="https://matlab1.com/sinc-interpolation-on-input-waveforms/">Sinc interpolation on input waveforms</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/sinc-interpolation-on-input-waveforms/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Analytical Solution of Fick’s 2nd law</title>
		<link>https://matlab1.com/analytical-solution-ficks-2nd-law/</link>
					<comments>https://matlab1.com/analytical-solution-ficks-2nd-law/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Thu, 09 Nov 2017 08:40:30 +0000</pubDate>
				<category><![CDATA[MATLAB code]]></category>
		<category><![CDATA[Analytical Solution]]></category>
		<category><![CDATA[Analytical Solution of Fick’s 2nd law]]></category>
		<category><![CDATA[Fick’s 2nd law]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=2410</guid>

					<description><![CDATA[<p>Analytical Solution of Fick’s 2nd law The rate at which the dye mixes with the water is characterized by determining a dispersion coefficient. The analytical solution for equation 5 when a pulse of mass ’M’ is injected at x=0, the concentration distribution over a cross section of area ‘’ is given by Where C=Concentration (kg/), [&#8230;]</p>
<p>The post <a href="https://matlab1.com/analytical-solution-ficks-2nd-law/">Analytical Solution of Fick’s 2nd law</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/analytical-solution-ficks-2nd-law/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MATLAB code for Vogel&#8217;s Approximation Method</title>
		<link>https://matlab1.com/matlab-code-vogels-approximation-method/</link>
					<comments>https://matlab1.com/matlab-code-vogels-approximation-method/#comments</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Sat, 21 Oct 2017 14:57:29 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=1122</guid>

					<description><![CDATA[<p>&#38;nbsp; function &#91;minTcost,b,c&#93;=vogel&#40;A,sup,dem&#41; %input:transportationcostA,vectorsupply %sup,vectordemanddem %output:minimumtransportationcostminTcost, %basicmatrixb,costmatrixc, b=zeros&#40;size&#40;A&#41;&#41;; ctemp=A; &#91;m,n&#93;=size&#40;A&#41;; c=zeros&#40;m,n&#41;; while length&#40;find&#40;dem==0&#41;&#41;&#38;lt;length&#40;dem&#41;&#124;&#124; length&#40;find&#40;sup==0&#41;&#41;&#38;lt;length&#40;sup&#41; prow=sort&#40;ctemp,1&#41;; prow=prow&#40;2,:&#41;-prow&#40;1,:&#41;;%rowpenalty pcol=sort&#40;ctemp,2&#41;; pcol=pcol&#40;:,2&#41;-pcol&#40;:,1&#41;;%columnpenalty &#91;rmax,rind&#93;=max&#40;prow&#41;; &#91;cmax,cind&#93;=max&#40;pcol&#41;; disp&#40;'columnpenalty'&#41; disp&#40;prow&#41;; disp&#40;'rowpenalty'&#41;; disp&#40;pcol&#41;; %valueforallocatedcell if rmax&#38;gt;cmax &#91;~,mind&#93;=min&#40;ctemp&#40;:,rind&#41;&#41;; &#91;amt,dem,sup,ctemp&#93;= chkdemandsupply&#40;dem,sup,rind,mind,ctemp&#41;; x=sprintf&#40;'x(%d,%d)=%d',mind,rind,amt&#41;; disp&#40;x&#41;; b&#40;mind,rind&#41;=1; c&#40;mind,rind&#41;=amt; disp&#40;c&#41;; end if cmax&#38;gt;=rmax &#91;~,mind&#93;=min&#40;ctemp&#40;cind,:&#41;&#41;; &#91;amt,dem,sup,ctemp&#93;=chkdemandsupply&#40;dem,sup,mind,cind,ctemp&#41;; x=sprintf&#40;'x(%d,%d)=%d',cind,mind,amt&#41;; disp&#40;x&#41;; b&#40;cind,mind&#41;=1; c&#40;cind,mind&#41;=amt; disp&#40;c&#41;; minTcost=sum&#40;sum&#40;c.*A&#41;&#41;; end end function &#91;y,dem,sup,ctemp&#93;=chkdemandsupply&#40;dem,sup,ded,sud,ctem&#41; tempd=dem; temps=sup; if tempd&#40;ded&#41;&#38;gt;temps&#40;sud&#41; temps&#40;sud&#41;=0; [&#8230;]</p>
<p>The post <a href="https://matlab1.com/matlab-code-vogels-approximation-method/">MATLAB code for Vogel&#8217;s Approximation Method</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/matlab-code-vogels-approximation-method/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>MATLAB code for Least Cost Method</title>
		<link>https://matlab1.com/matlab-code-least-cost-method/</link>
					<comments>https://matlab1.com/matlab-code-least-cost-method/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Sat, 21 Oct 2017 14:24:59 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=1120</guid>

					<description><![CDATA[<p>&#160; &#160; function&#91;minTcost,b,c&#93;=leastcost&#40;A,sup,dem&#41; %input:TransportationcostA,supplysup, %demanddem %output:minimumtransportationcost %minTcost,basicmatrixb,costmatrixc &#91;m,n&#93;=size&#40;A&#41;; sum=0; rf=zeros; cf=zeros; b=zeros&#40;m,n&#41;; c=zeros&#40;m,n&#41;; for I=1:m rf&#40;I,1&#41;=0; for J=1:n cf&#40;1,J&#41;=0; end end f=m; d=n; while f&#38;gt;0&#38;amp;&#38;amp;d&#38;gt;0 min=Inf; for I=1:m if rf&#40;I,1&#41;~=1 for J=1:n if cf&#40;1,J&#41;~=1 if min&#38;gt;A&#40;I,J&#41; min=A&#40;I,J&#41;; p=I; q=J; end end end end end if sup&#40;p,1&#41;&#38;lt;dem&#40;1,q&#41; b&#40;p,q&#41;=1; c&#40;p,q&#41;=sup&#40;p,1&#41;; disp&#40;c&#41;; sum=sum+A&#40;p,q&#41;*sup&#40;p,1&#41;; x=sprintf&#40;'x(%d,%d)=%d',p,q,sup&#40;p,1&#41;&#41;; disp&#40;x&#41;; dem&#40;1,q&#41;=dem&#40;1,q&#41;*sup&#40;p,1&#41;; sup&#40;p,1&#41;=0; disp&#40;'sup'&#41;; [&#8230;]</p>
<p>The post <a href="https://matlab1.com/matlab-code-least-cost-method/">MATLAB code for Least Cost Method</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/matlab-code-least-cost-method/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Support Vector Machine for Speech Recognition</title>
		<link>https://matlab1.com/support-vector-machine-speech-recognition/</link>
					<comments>https://matlab1.com/support-vector-machine-speech-recognition/#respond</comments>
		
		<dc:creator><![CDATA[global MATLAB]]></dc:creator>
		<pubDate>Wed, 18 Jan 2017 11:31:14 +0000</pubDate>
				<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[MATLAB code]]></category>
		<category><![CDATA[Speech Recognition]]></category>
		<guid isPermaLink="false">https://matlab1.com/?p=971</guid>

					<description><![CDATA[<p>LPC coefficients for three different isolated words are collected. &#160; &#160;</p>
<p>The post <a href="https://matlab1.com/support-vector-machine-speech-recognition/">Support Vector Machine for Speech Recognition</a> appeared first on <a href="https://matlab1.com">MATLAB Number ONE</a>.</p>
]]></description>
		
					<wfw:commentRss>https://matlab1.com/support-vector-machine-speech-recognition/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
