<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>matlab &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/matlab/</link>
	<description>Feed of posts on WordPress.com tagged "matlab"</description>
	<pubDate>Sun, 12 Oct 2008 03:05:04 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[function reshape ของ MATLAB]]></title>
<link>http://thailatex.wordpress.com/2008/10/10/function-reshape-%e0%b8%82%e0%b8%ad%e0%b8%87-matlab-2/</link>
<pubDate>Fri, 10 Oct 2008 09:57:34 +0000</pubDate>
<dc:creator>tsvhh</dc:creator>
<guid>http://thailatex.id.wordpress.com/2008/10/10/function-reshape-%e0%b8%82%e0%b8%ad%e0%b8%87-matlab-2/</guid>
<description><![CDATA[เป็นฟังก์ชันที่ถ้าใช้บ่อยแล้วจะดี ]]></description>
<content:encoded><![CDATA[<p>เป็นฟังก์ชันที่ถ้าใช้บ่อยแล้วจะดี เพราะการกระทำใด ๆ ในรูปเมตริกซ์โดยการหลีกเลี่ยงการใช้    <br />การวนลูปแล้วกระทำกับตัวเลขทีละตัวจะทำให้การคำนวณโดยใช้ MATLAB เร็วขึ้น </p>
<p>ปัญหาของผมคือผมมีข้อมูล</p>
<p><a href="http://thailatex.files.wordpress.com/2008/10/reshape1.jpg"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="reshape1" border="0" alt="reshape1" src="http://thailatex.files.wordpress.com/2008/10/reshape1-thumb.jpg" width="86" height="65" /></a> </p>
<p>ผมต้องการให้เป็นแบบนี้</p>
<p><a href="http://thailatex.files.wordpress.com/2008/10/reshape2.jpg"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="reshape2" border="0" alt="reshape2" src="http://thailatex.files.wordpress.com/2008/10/reshape2-thumb.jpg" width="59" height="114" /></a> ในคู่มือของ MATLAB บอกว่าให้ใช้คำสั่ง reshape ซึ่งมีวิธีการใช้ดังนี้</p>
<blockquote><p>B = reshape(A,m,n)      <br />โดยที่ A คือเมตริกซ์ที่ต้องการจะทำการเปลี่ยนแปลง      <br />m และ n คือจำนวนแถวและหลัก</p>
</blockquote>
<p>ถ้าผมใช้ B = reshape(y,[],1)&#160; ผมจะได้ </p>
<p><img style="display:block;float:none;margin-left:auto;margin-right:auto;border-width:0;" title="reshape3." border="0" alt="reshape3." src="http://thailatex.files.wordpress.com/2008/10/reshape3-thumb.jpg" width="60" height="114" /></p>
<p>ซึ่งไม่ใช่สิ่งที่ต้องการ คิดอยู่ต้องนานว่าจะทำอย่างไร สรุปว่าก็แค่ B = reshape(y’,[],1) นั่นก็   <br />คือทำการ transpose ก่อนนั่นเอง </p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://thailatex.files.wordpress.com/2008/10/reshape3.jpg"></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Linier Model Estimation using Ordinary Least Square and Maximum Likelihood]]></title>
<link>http://sanjoyo55.wordpress.com/?p=26</link>
<pubDate>Thu, 09 Oct 2008 00:18:19 +0000</pubDate>
<dc:creator>sanjoyo55</dc:creator>
<guid>http://sanjoyo55.id.wordpress.com/2008/10/09/linier-model-estimation-using-ordinary-least-square-and-maximum-likelihood/</guid>
<description><![CDATA[Estimasi dalam Model Linier pada umumnya mengunakan metoda OLS (Ordinary Least Square) atau ML (Maxi]]></description>
<content:encoded><![CDATA[<p>Estimasi dalam Model Linier pada umumnya mengunakan metoda OLS (Ordinary Least Square) atau ML (Maximum Likelihood). Dalam Paper ini menjelaskan secara teoritis bagaimana metoda estimasi tersebut. Simulasi Monte Carlo digunakan untuk menjamin Robusness hasil estimasi. Komputasi yang digunakan dengan menggunakan MATLAB.</p>
<p><strong>Bila Anda ingin mendapatkan paper lengkap, Silahkan Submit permintaan Anda melalui menu "Comment" di bawah ini.</strong></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Another improper integral solved using trapezoidal rule]]></title>
<link>http://autarkaw.wordpress.com/?p=191</link>
<pubDate>Wed, 08 Oct 2008 13:48:58 +0000</pubDate>
<dc:creator>Autar Kaw</dc:creator>
<guid>http://autarkaw.id.wordpress.com/2008/10/08/another-improper-integral-solved-using-trapezoidal-rule/</guid>
<description><![CDATA[In a previous post, I showed how Trapezoidal rule can be used to solve improper integrals.  The exa]]></description>
<content:encoded><![CDATA[<p>In a <a href="http://autarkaw.wordpress.com/2008/07/16/can-i-use-trapezoidal-rule-to-calculate-an-improper-integral/">previous post</a>, I showed how Trapezoidal rule can be used to solve improper integrals.  The example used in the post was an improper integral with an infinite interval of integration.</p>
<p>In an example in this post, we use Trapezoidal rule to solve an improper integral where the integrand becomes infinite.  The integral is $latex \int_{0}^{b} 1/sqrt{x} dx $.  The integrand becomes infinite at x=0.  Since x=0 would be one of the points where the integrand will be sought by the multiple-segment Trapezoidal rule, we choose the value of the integrand at x=0 to be zero (any other value would do too - a better assumption would be f(h), where h is the segment width in the multiple-segment Trapezoidal rule).</p>
<p>Here is a MATLAB program that shows you the exact value of the integral and then compares it with the multiple-segment Trapezoidal rule.  The convergence is slow but you can integrate improper integrals using Trapezoidal rule.</p>
<p>The MATLAB program that can be downloaded at <a href="http://numericalmethods.eng.usf.edu/blog/trapezoidal_improper_sqrt.m">http://numericalmethods.eng.usf.edu/blog/trapezoidal_improper_sqrt.m</a> (better to download it as single quotes from the web-post do not translate correctly with the MATLAB editor).  The html file showing the mfile and the command window output is here: <a href="http://numericalmethods.eng.usf.edu/blog/trapezoidal_improper_sqrt.html">http://numericalmethods.eng.usf.edu/blog/trapezoidal_improper_sqrt.html</a></p>
<p>% Simulation : Can I use Trapezoidal rule for an improper integral?</p>
<p>% Language : Matlab 2007a</p>
<p>% Authors : Autar Kaw, http://numericalmethods.eng.usf.edu</p>
<p>% Mfile available at<br />
% http://numericalmethods.eng.usf.edu/blog/trapezoidal_improper_sqrt.m</p>
<p>% Last Revised : October 8, 2008</p>
<p>% Abstract: This program shows use of multiple segment Trapezoidal<br />
% rule to integrate 1/sqrt(x) from x=0 to b, b&#62;0.</p>
<p>clc<br />
clear all</p>
<p>disp('This program shows the convergence of getting the value of ')<br />
disp('an improper integral using multiple segment Trapezoidal rule')<br />
disp('Author: Autar K Kaw.  autarkaw.wordpress.com')</p>
<p>%INPUTS.  If you want to experiment, these are the only variables<br />
% you should and can change.<br />
% b  = Upper limit of integration<br />
% m = Maximum number of segments is 2^m<br />
b=9;<br />
m=14;</p>
<p>% SIMULATION<br />
fprintf('\nFinding the integral of 1/sqrt(x) with limits of integration as x=0 to x=%g',b)</p>
<p>% EXACT VALUE OF INTEGRAL<br />
% integrand 1/sqrt(x)<br />
syms x<br />
f=1/sqrt(x);<br />
a=0;<br />
valexact=double(int(f,x,a,b));<br />
fprintf('\n\nExact value of integral = %f',valexact)<br />
disp( '  ')</p>
<p>f=inline('1/sqrt(x)');<br />
%finding value of the integral using 16,...2^m segments<br />
for k=4:1:m<br />
n=2^k;<br />
h=(b-a)/n;<br />
sum=0;<br />
for i=1:1:n-1<br />
sum=sum+f(a+i*h);<br />
end<br />
% See below how f(a) is not added as f(a)=infinity.  Instead we<br />
% use a value of f(a)=0.  How can we do that? Because as per integral calculus,<br />
% using a different value of the function at one point or<br />
% at finite number of points does not change the value of the<br />
% integral.<br />
sum=2*sum+0+f(b);<br />
sum=(b-a)/(2*n)*sum;<br />
fprintf('\nApproximate value of integral =%f with %g segments',sum,n)<br />
end<br />
disp('  ')</p>
<p><span style="color:#000000;"><span style="color:#800000;">This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu.</a></span></span></p>
<p><span style="color:#000000;">An abridged (for low cost) book on <a href="http://numericalmethods.eng.usf.edu/topics/textbook_index.html"><span style="color:#800000;"><em>Numerical Methods with Applications</em></span></a> will be in print (includes problem sets, TOC, index) on December 10, 2008 and available at <a href="http://stores.lulu.com/kawautar">lulu storefront</a>.</span></p>
<p><span style="color:#000000;"><span style="color:#800000;">Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&#38;loc=en_US">email</a> to stay updated with this blog.  <strong><strong>Let the information follow you</strong>.</strong></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[NonLinier Estimation using OLS and Max Likelihood]]></title>
<link>http://sanjoyo55.wordpress.com/?p=3</link>
<pubDate>Tue, 07 Oct 2008 04:43:29 +0000</pubDate>
<dc:creator>sanjoyo55</dc:creator>
<guid>http://sanjoyo55.id.wordpress.com/2008/10/07/nonlinier-estimation-using-ols-and-max-likelihood/</guid>
<description><![CDATA[Paper akan melaporkan hasil ekperimen model nonlinier
untuk menaksir fungsi produksi Cobb-Douglas da]]></description>
<content:encoded><![CDATA[<p>Paper akan melaporkan hasil ekperimen model nonlinier<br />
untuk menaksir fungsi produksi Cobb-Douglas dan CES dengan mengunakan<br />
metoda Nonlinier Least Square dan Non-Linier Maksimum Likelihood.</p>
<p><strong>Bila Anda ingin tulisan lengkap, Silahkan Submit permintaan Anda melalui menu "Comment" di bawah ini.</strong></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Pretty much done with Matlab]]></title>
<link>http://xenocoder.wordpress.com/?p=136</link>
<pubDate>Mon, 06 Oct 2008 04:53:59 +0000</pubDate>
<dc:creator>xenocoder</dc:creator>
<guid>http://xenocoder.id.wordpress.com/2008/10/05/pretty-much-done-with-matlab/</guid>
<description><![CDATA[At this point just a small update to say that since the activation fiasco, I have not used Matlab at]]></description>
<content:encoded><![CDATA[<p>At this point just a small update to say that since the activation fiasco, I have not used Matlab at all. Everything that I have done for the last four presentations has been done with R and Python, and I am both the happier and wiser for it.</p>
<p>I have been playing with JMP a bit, but honestly, it's a bit too "high level" and while it's neat for data exploration, it really made me nuts that two weeks after I got a license, they were *offering* me a special deal on the impending upgrade. Nothing like dropping a bundle on instantly outdated software. Way to go guys.</p>
<p>So for me, it's been a pleasure to use R, Python (with iPython of course), and ferret on my Mac Pro. If I ever take a break from playing on the computer I'll post up what I installed on the new Mac in terms of scientific software.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Entry Level Software Developer]]></title>
<link>http://softwarejobsus.wordpress.com/?p=7</link>
<pubDate>Fri, 03 Oct 2008 21:16:12 +0000</pubDate>
<dc:creator>stevep264</dc:creator>
<guid>http://softwarejobsus.id.wordpress.com/2008/10/03/entry-level-software-developer/</guid>
<description><![CDATA[My Boulder, Colorado client is looking for a few entry level software developers.  We would like th]]></description>
<content:encoded><![CDATA[<p>My Boulder, Colorado client is looking for a few entry level software developers.  We would like them to have at least one year of C++ software development but if you are a top developer in your class and have proven projects and a professor's recommendation will we consider you for the position. </p>
<p>We would also like you to be famaliar with IDL, MatLab, Mathematica and other scientific software langauges.  If you have a degree in physics or astronomy this is an advanatge.  You must be a US citizen.</p>
<p>Contact me at stevep at brainscouts dot com if you are interested.</p>
<p>Thanks<br />
Steve Parker</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The best way to learn MATLAB is to use it]]></title>
<link>http://mycenaean.wordpress.com/?p=181</link>
<pubDate>Thu, 02 Oct 2008 05:17:07 +0000</pubDate>
<dc:creator>mycenaean</dc:creator>
<guid>http://mycenaean.id.wordpress.com/2008/10/02/the-best-way-to-learn-matlab-is-to-use-it/</guid>
<description><![CDATA[One good guide book for MATLAB novice:
MATLAB guide, 2nd edition&#8211;by Higham, Desmond J. &amp; H]]></description>
<content:encoded><![CDATA[<p>One good guide book for MATLAB novice:</p>
<p>MATLAB guide, 2nd edition--by Higham, Desmond J. &#38; Higham, Nicholas J.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Matlab. tips and pointers]]></title>
<link>http://utahchemicalengineering.wordpress.com/?p=126</link>
<pubDate>Thu, 02 Oct 2008 04:02:15 +0000</pubDate>
<dc:creator>tsladeche</dc:creator>
<guid>http://utahchemicalengineering.id.wordpress.com/2008/10/02/matlab-tips-and-pointers/</guid>
<description><![CDATA[The replies to this post will be pointers to useing matlabe succesfuly and efficiently.
I give most ]]></description>
<content:encoded><![CDATA[<p>The replies to this post will be pointers to useing matlabe succesfuly and efficiently.</p>
<p>I give most of the credit for this information to my MATLAB professeur Dr. Sutherland from the University of Utah and Mcgraw hills in their text book.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[IT Quality Assurance Engineer]]></title>
<link>http://spillerlaszlo.wordpress.com/?p=510</link>
<pubDate>Wed, 01 Oct 2008 07:37:47 +0000</pubDate>
<dc:creator>Spiller László</dc:creator>
<guid>http://spillerlaszlo.id.wordpress.com/2008/10/01/it-quality-assurance-engineer/</guid>
<description><![CDATA[Description
We are seeking a Quality Assurance engineer to join our Budapest team in development of ]]></description>
<content:encoded><![CDATA[<p class="MsoNormal"><span style="text-decoration:underline;"><span lang="EN-US">Description</span></span></p>
<p class="MsoNormal"><span lang="EN-US">We are seeking a Quality Assurance engineer to join our </span><span lang="EN-US">Budapest</span><span lang="EN-US"> team in development of the next generation of equity analytics products. The candidate must have strong experience in test-planning and execution for enterprise software products. Practical knowledge of test strategies, test planning, test execution, and test automation is required. Candidate should be experienced in use of scripting tools like HP/Mercury QTP and VB, as well as with test management tools like TestDirector and Perforce. Experience with MATLAB is highly desirable.</span></p>
<p class="MsoNormal"><span lang="EN-US"><span> </span></span></p>
<p class="MsoNormal"><span lang="EN-US">The candidate will work closely with our global development team-members in </span><span lang="EN-US">Berkeley</span><span lang="EN-US"> to develop highly quantitative applications products. The candidate must be fluent in English and have strong oral and written communication skills, interpersonal skills, and software development skills.</span><span style="font-size:11pt;" lang="EN-US"> He or she needs to be flexible and adaptable, and should have demonstrated success working in a team environment.</span></p>
<p class="MsoNormal"><span style="text-decoration:underline;"></span></p>
<p class="MsoNormal"><span style="text-decoration:underline;"><span lang="EN-US">Mandatory Requirements</span></span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span lang="EN-US">Bachelors Degree in Computer Science or related discipline.</span></li>
<li class="MsoNormal"><span lang="EN-US">Strong Quality      Assurance engineering experience on the Windows XP/Vista platform.</span></li>
<li class="MsoNormal"><span lang="EN-US">Experience      with test automation, including use of HP/Mercury QTP and VB.</span></li>
<li class="MsoNormal"><span lang="EN-US">5-7 years      of relevant experience in professional software development environment.</span></li>
<li class="MsoNormal"><span lang="EN-US">High      degree of motivation, with strong communications skills and ability to      learn quickly and work independently.</span></li>
</ul>
<p class="MsoNormal">
<p class="MsoNormal"><span style="text-decoration:underline;"><span lang="EN-US">Desirable Skills</span></span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span lang="EN-US">Knowledge of Equities and investment concepts.</span></li>
<li class="MsoNormal"><span lang="EN-US">Experience with MATLAB.</span></li>
</ul>
<p>laszlo_spiller@kellyservices.hu</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The BMI (Body Mass Index) Program]]></title>
<link>http://autarkaw.wordpress.com/?p=185</link>
<pubDate>Sun, 28 Sep 2008 17:18:51 +0000</pubDate>
<dc:creator>Autar Kaw</dc:creator>
<guid>http://autarkaw.id.wordpress.com/2008/09/28/the-bmi-body-mass-index-program/</guid>
<description><![CDATA[In 1998, the federal government developed the body mass index (BMI) to determine ideal weights.  Bo]]></description>
<content:encoded><![CDATA[<p>In 1998, the federal government developed the <a href="http://www.cdc.gov/nccdphp/dnpa/healthyweight/assessing/bmi/index.htm">body mass index (BMI)</a> to determine ideal weights.  Body mass index is calculated as 703 times the weight in pounds divided by the square of the height in inches, the obtained number is then rounded to the nearest whole number (Hint: 23.5 will be rounded to 24; 23.1 will be rounded to 23; 23.52 will be rounded to 24)</p>
<p><strong>BMI Categories:</strong></p>
<p>BMI &#60;19 (underweight)<br />
19≤BMI≤25 (healthy)<br />
25&#60;BMI≤30 (overweight)<br />
BMI is &#62;30 (obese)</p>
<p>Here is a MATLAB program that calculates the BMI of a person, classifies him/her in the BMI category, and then suggests a healthy weight.</p>
<p>It is better to <a href="http://numericalmethods.eng.usf.edu/blog/bmi_program.m"><strong>download</strong></a> the program as single quotes in the pasted version do not translate correctly when pasted into a mfile editor of MATLAB.  See the <a href="http://numericalmethods.eng.usf.edu/blog/html/bmi_program.html"><strong>html version<span style="text-decoration:underline;"> </span></strong></a>for clarity and sample output.</p>
<p><strong>% So you want my phone number and my BMI?  How shallow can you get?<br />
</strong><br />
% Worksheet : Finding the BMI of  a person, classifying the BMI and<br />
% suggesting a healthy weight<br />
% Language : Matlab 2007a<br />
% Authors : Autar Kaw<br />
% Last Revised : September 27, 2008</p>
<p>%  Abstract: Finding the body mass index of a person, classifying their health<br />
% and recommending a target weight.</p>
<p>%<br />
%  In 1998, the federal government developed the body mass index (BMI)<br />
%  to determine ideal weights.  Body mass index is calculated as<br />
%  703 times the weight in pounds divided by the square of the height in inches,<br />
%  the obtained number is then rounded to the nearest whole number<br />
%  (23.5 will be rounded to 24; 23.1 will be rounded to 23; 23.52 will be rounded to 24).<br />
%<br />
% Write a MATLAB program to do the following:<br />
%<br />
% Assign a value to weight in lbs, and height in inches and<br />
% then calculate BMI as a rounded integer.<br />
% Output a variable called health_id as<br />
%     0 if the person's BMI &#60;19 (underweight)<br />
%     1 if the person’s BMI is 19≤BMI≤25 (healthy)<br />
%     2 if the person's BMI is 25&#60;BMI≤30 (overweight)<br />
%     3 if the person’s BMI is &#62;30 (obese)<br />
% Output also a variable hw for healthy weight in rounded integer lbs for all the conditions.<br />
% Use fprintf command with explanation for the inputs and outputs<br />
clc<br />
clear all<br />
<span style="color:#800000;">% INPUTS<br />
% Weight in lbs<br />
weight=180;<br />
% Height in inches<br />
height=69;</span></p>
<p>%REST OF THE PROGRAM<br />
bmi=weight/height^2*703.0;<br />
bmi=round(bmi);</p>
<p>% Assigning the proper health_id and finding the suggested healthy weight<br />
% health_id= BMI category<br />
% hw = healthy weight<br />
% You can use 4 separate if-end statements or switch case statement also.<br />
if (bmi&#60;19)<br />
health_id=0;<br />
hw=19*height^2/703;<br />
elseif (bmi&#62;=19 &#38; bmi&#60;=25);<br />
health_id=1;<br />
elseif (bmi&#62;25 &#38; bmi&#60;=30);<br />
health_id=2;<br />
hw=25*height^2/703;<br />
else<br />
health_id=3;<br />
hw=25*height^2/703;<br />
end<br />
hw=round(hw);</p>
<p>% Printing the outputs<br />
disp('The BMI MATLAB program')<br />
disp('Author: Autar K Kaw')<br />
disp('http://numericalmethods.eng.usf.edu')<br />
disp('September 28, 2008')<br />
disp(' ')<br />
fprintf('\nWeight of person =%6.0f lbs',weight)<br />
fprintf('\nHeight of person =%6.0f inches',height)<br />
fprintf('\nYour BMI is  =%g ',bmi)<br />
if health_id==0<br />
fprintf('\nYou are underweight.  \nYour target weight is =%6.0f lbs',hw)<br />
elseif health_id==1<br />
fprintf('\nYou are a healthy weight.  \nYour target weight is =%6.0f lbs',hw)<br />
elseif health_id==2<br />
fprintf('\nYou are overweight.  \nYour target weight is =%6.0f lbs',hw)<br />
elseif health_id==3<br />
fprintf('\nYou are obese.  \nYour target weight is =%6.0f lbs',hw)<br />
end</p>
<p>________________________________________________________________________________________________</p>
<p><span style="color:#800000;">This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at <a href="http://numericalmethods.eng.usf.edu/">http://numericalmethods.eng.usf.edu.</a></span></p>
<p>An abridged (for low cost) book on <a href="http://numericalmethods.eng.usf.edu/topics/textbook_index.html"><span style="color:#800000;"><em>Numerical Methods with Applications</em></span></a> will be in print (includes problem sets, TOC, index) on December 10, 2008 and available at <a href="http://stores.lulu.com/kawautar">lulu storefront</a>.</p>
<p><span style="color:#800000;">Subscribe to the blog via a <a href="http://feeds.feedburner.com/wordpress/EDie">reader</a> or <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2178495&#38;loc=en_US">email</a> to stay updated with this blog.  <strong>Let the information follow you</strong>.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Head Map]]></title>
<link>http://meg160.wordpress.com/2008/09/26/head-map/</link>
<pubDate>Fri, 26 Sep 2008 19:42:03 +0000</pubDate>
<dc:creator>Dan Hertz</dc:creator>
<guid>http://meg160.id.wordpress.com/2008/09/26/head-map/</guid>
<description><![CDATA[At the end of all the de-noising, I still need to draw a contour map of the head.
In order to do tha]]></description>
<content:encoded><![CDATA[<p>At the end of all the de-noising, I still need to draw a contour map of the head.<br />
In order to do that I need to find what portion of the graph will give me the best place to do that, and then use some function (probably called drawheadmap.m) to draw the head map.<br />
To get the place point in time at which I draw this contour map, I will look at the variance of all the channels from 0 and find its maximum. There is a variance function, so I should be able to find its maximum?</p>
<p>Then I just use that time value for drawing the head map function.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Noise reduction]]></title>
<link>http://meg160.wordpress.com/2008/09/26/noise-reduction/</link>
<pubDate>Fri, 26 Sep 2008 19:15:14 +0000</pubDate>
<dc:creator>Dan Hertz</dc:creator>
<guid>http://meg160.id.wordpress.com/2008/09/26/noise-reduction/</guid>
<description><![CDATA[Okay, I now have a couple of different ways of looking at noise reduction.
There are two different t]]></description>
<content:encoded><![CDATA[<p>Okay, I now have a couple of different ways of looking at noise reduction.</p>
<p>There are two different things to look at, and a couple of different issues to consider.<br />
The first is the small task we were considering initially considering, i.e. looking at a smallish sqd file, translating it to matlab format, and then running some reduction on that.<br />
There is also the broader (and ultimately more interesting) question, of how to take a complete sqd file and process it. In order to do that I will want to denoise a sqd file and create another sqd file which will contain the now-reduced data.<br />
This allows us to run the noise reduction algorithm on the <em>complete</em> file before we extract any kind of trigger information or anything, reducing the possibility of removing signal even with pretty aggressive noise removal.</p>
<p>Nayef had a file that did this second thing, using his adaptive filter as the denoising technique, although in principle it should be possible to swap out which NR (noise reduction) algorithm I want to use while keeping his framework, thus allowing me to have a sqd file as both input and output.</p>
<p>Jonathan has given me the routines for doing TSPCA and SNS noise reduction, which he prefers. They do different things:</p>
<p>TSPCA uses the three reference channels and tries to remove the noise component from the signal channels by comparing them to some combination of the three reference channels. In its more complete form you?re allowed to include not only a linear combination of the three reference channels, but actually a phase delayed or advanced version of those channels. This is to take into account of the fact that the cables have different lengths, etc. Thus by including these various leads and lags we get a much better noise suppression than we would otherwise.</p>
<p>SNS does not use the reference channels at all. It simply looks for aberrations in a given signal channel caused by glitches in the system. If there is a major aberration in one channel without there being any corresponding deviation in any of the neighboring channels, it is considered a glitch and corrected.</p>
<p>There is also the low-pass filter (from MEG160) which we will make using the ellip function. That has a number of parameters which we will allow Matlab to tune in order to give us 20dB suppression at 30Hz. 4 and 0.5 are reasonable values for the first two parameters (a 4th order polynomial, 0.5dB of peak to peak ripple, whatever that may mean).</p>
<p>Finally there is de-meaning, which takes out the DC component.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Translating files]]></title>
<link>http://meg160.wordpress.com/2008/09/23/translating-files/</link>
<pubDate>Tue, 23 Sep 2008 19:08:33 +0000</pubDate>
<dc:creator>Dan Hertz</dc:creator>
<guid>http://meg160.id.wordpress.com/2008/09/23/translating-files/</guid>
<description><![CDATA[I have achieved some modicum of success!
I am able to read in a sqd file and translate it into 160 m]]></description>
<content:encoded><![CDATA[<p>I have achieved some modicum of success!<br />
I am able to read in a sqd file and translate it into 160 mat files (one for each channel)</p>
<p>The file that does this is called <strong>sqd2mat.m</strong> and is stored in <strong>/User/dbhertz/Documents/Matlab/dbhertz/</strong></p>
<p>That will be where I plan on storing my code, at least for the present.</p>
<p>I have actually changed that file so that it now takes in one file and turns it into one .mat file. That?s more efficient and useful, at least as long as I?m dealing with small files (which is what I?m doing for the present. I?m not sure why Nayef was splitting things up into 160 files before, but this way seems better for what I want to do, in any case.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[What the existing files do what?]]></title>
<link>http://meg160.wordpress.com/2008/09/23/what-the-existing-files-do-what/</link>
<pubDate>Tue, 23 Sep 2008 17:23:00 +0000</pubDate>
<dc:creator>Dan Hertz</dc:creator>
<guid>http://meg160.id.wordpress.com/2008/09/23/what-the-existing-files-do-what/</guid>
<description><![CDATA[I have a number of files from previous people which I can try to look over, if I sort of understand ]]></description>
<content:encoded><![CDATA[<p>I have a number of files from previous people which I can try to look over, if I sort of understand what they do.</p>
<p>So what do I use in order to open a sqd file and translate its contents into a matlab array?</p>
<p>As far as I can tell, some basic i/o functions are handled by the four files written by Nayef:<br />
mat2sqd.m<br />
sqd2mat.m<br />
adapt_noise_supp_fix.m<br />
adapt_noise_supp_mref_fix.m</p>
<p>The last two seem to be variants on each other, although the specifics of that are a bit beyond me.</p>
<p>The first two seem to be (templates, at least) for translating a file from the MEG160 to the matlab format and the other way.</p>
<p>So sqd2mat.m seems to address point 1 from the last post.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[לאטך, מה כל הסיפור ]]></title>
<link>http://vaxincity.wordpress.com/?p=132</link>
<pubDate>Mon, 22 Sep 2008 17:12:08 +0000</pubDate>
<dc:creator>vaxincity</dc:creator>
<guid>http://vaxincity.id.wordpress.com/2008/09/22/latex/</guid>
<description><![CDATA[לאחרונה, בעקבות ריבוי המעבדות שדחיתי במסגרת לימודי, נד]]></description>
<content:encoded><![CDATA[<p>לאחרונה, בעקבות ריבוי המעבדות שדחיתי במסגרת לימודי, נדרשתי להכין מספר רב של עבודות מדעיות בנושאים שונים.</p>
<p>כמו כל סטודנט טוב הלכתי ל<a href="http://www.openoffice.org/" target="_blank">"אופן אופיס"</a> הטוב והתחלתי לכתוב. הבעיה נתעוררה בכמה אופנים:</p>
<ul>
<li>העבודות היו מלאות במתמטיקה , כל פעם הייתי חייב לפתוח תיבת שיח חדשה עם העורך המתמטי (זהה באופיס של חלונות).</li>
<li>מילים קופצות לפה ולשם, עקב הזזה סתמית של תיבה מתמטית כזו או אחרת, גורמת למאמר להיראות אחרי כמה שעות רע מאוד. קפיצות בשורות "סתם כך" או כל מיני טבלאות הנוטות ליפול עוד רגע.</li>
</ul>
<ul>
<li>מבחינה ויזואלית התוצר הסופי לא נראה רציני, העבודה נראית כמו עבודה של תיכוניסט. לא טוב.</li>
</ul>
<p><strong>חלופות?</strong></p>
<p>תמיד שמעתי מפה ומשם שמאמרים מדעיים נכתבים בתוכנות אחרות. תוכנות שיועדו לכתיבה יפה ולממשק נוח, יחסית, לכתיבה מדעית. החלטתי לעשות שיעורי בית. בדרך נתקלתי במערכת חזקה מאוד שנקראת <a href="http://www.mathworks.com/" target="_blank">matlab</a>, המסוגלת אף לחשב תרגילים מגוף הטקסט. נחשבת כסטנדרט רציני בעולם, אך גם עולה כסף. ברוב האוניבסיטאות ניתן לקבל בצורה חוקית עותק חינם או להשתמש בשירותי האוניברסיטה. רציתי תוכנה חופשית. תוכנה שלא משנה איפה אהיה ,אוכל להורידה ולעבוד איתה. ככה matlab ירדה מהפרק.</p>
<p>האופציה השניה (שאני לפחות מצאתי) היתה תוכנה וותיקה בשם <a href="http://www.latex-project.org/" target="_blank">latex </a>(נהגת כלאטך). לקח לי לא מעט זמן להבין על מה בדיוק מדובר ואיך זה עובד. בין אם זה רק אני ,או שזה בעיה של עוד אנשים, החלטתי לעשות סיכומון לטובת הבאים בתור.</p>
<p><strong>אז מה זה לאטך בדיוק?</strong></p>
<p>לאטך הנה תוכנת "עימוד" טקסט מקצועית אשר בשימוש בתי דפוס ונחשבת לסטנדרט בתחום הכתיבה המקצועית (לספרים) בעולם. יכולות התוכנה מתחילות בכתיבת טקסט פשוטה ועד ספרים בני מאות עמודים הכוללים סכימות וחישובים מסובכים.</p>
<p>לשם פשטות אתן כמה דוגמאות לכוחה של תוכנה זו:</p>
<ul>
<li>נניח וכתבנו פרק כלשהו, נניח פרק 3. לאחר מספר שבועות החלטנו להוסיף פרק נוסף אשר יבוא בין פרק 2 ל 3. בכל מעבד תמלילים פשוט היינו נדרשים לחזור אחורה ולתקן את מספור כל הפרקים. לאטך יודעת לתקן לבד את כל המיספורים. בעת כתיבה בלאטך אינך נדרש כלל לתת מספר לכל פרק ופרק. עבודתך מסתכמת בכך שאתה צריך לתת לה פקודה על כך שנפתח פרק חדש.</li>
<li>נניח ואנחנו רוצים להכניס טבלה בת 5 עמודות למאמר שלנו. במעבד תמלילם, תוספת של תווים תפיל לנו מדי פעם את הטבלה לעמוד הבא או שתשבור את הטבלה לשני עמודים (נדיר). בלאטך אתה מגדיר טווח בו אתה רוצה את הטבלה. לאטך תדאג לסדר הכול בכדי שהתוצאה הסופית תעמוד בהגדרותיך.</li>
<li>נניח ואנו רוצים לכתוב הערה מסויימת לאחד הסעיפים. במעבדי תמלילים פשוטים אנו נידרש לעשות הכול לבד. לזכור את הסימון שנתנו להערה (באותו סעיף), בסוף הדף או הספר לזכור לכתוב את הערה, וגם התוצאה הסופית לא תמיד נעימה לעין. לאטך תדאג לסדר כל הערה והערה שתגדיר לה לפי סעיף או מילה לבד. היא תיפתח חלק קטן בתחתית הדף, תמספר את הערה לבדה , ותרשום את הערה.</li>
</ul>
<p><strong>מאיפה משיגים את זה??</strong></p>
<p>את לאטך ניתן להוריד בלינוקס מתוך מאגרי החבילות ללא כל בעייה, בחלונות מומלץ להשתמש ב <a href="http://miktex.org/" target="_blank">miktex</a> בנוסף צריך את <a href="http://www.toolscenter.org/" target="_blank">texniccenter </a>,במק <a href="http://www.uoregon.edu/~koch/texshop/" target="_blank">texshop</a>. כעיקרון ניתן לכתוב את הפקודות בכל עורך תווים פשוט ולהדר את הקובץ הסופי עם התוכנות שכתבתי למעלה. חלקן נותנות גם כתבן נוח לכתיבת הטקסט. למזלכם יש לי 3 מערכות הפעלה על מספר מחשבים כך שכל המלצותיי נבדקו.</p>
<p>ניתן למצוא באינטרנט אין ספור דפי וויקי ומאמרים שמסבירים נקודות בהן לא נגעתי (כגון התקנת חבילות תומכות נוספות ללאטך). חבילת הבסיס שמגיעה עם ההתקנות בהחלט מספיקה בתור התחלה.</p>
<p><strong>איך זה עובד</strong></p>
<p>אז בלאטך לא ממש כותבים כמו במעבד תמלילים. בלאטך נותנים פקודות. לדוגמא פתיחת מסמך בד"כ תגיע עם:</p>
<p style="text-align:center;" dir="ltr"><a href="http://vaxincity.files.wordpress.com/2008/09/latex2.png"><img class="size-full wp-image-133 aligncenter" title="latex2" src="http://vaxincity.wordpress.com/files/2008/09/latex2.png" alt="" width="150" height="108" /></a></p>
<p>בנוסף לאטך דורשת "להדר" את הקובץ בכדי לראותו. בלאטך אינך רואה את הטקסט במצב סופי תוך כדי כתיבתו. אתה רואה את הטקסט אותו אתה כותב, ואת הפקודות המבצעות את כל עריכת הטקסט על פי רצונך. כאילו אנו מתכנתים שרואים את התוצר הסופי רק אחרי סיום הידור הקובץ.</p>
<p>בתום הכתיבה (או תוך כדי ,אם אתה רושם פקודות לסיום הקובץ כשהקובץ אינו גמור) מהדרים את הקובץ שכתבנו (ברוב התוכנות ישנו כפתור בשם typeset) . תפתח חלונית בה ידווחו שגיאות, במידה והכול בסדר יפתח חלון pdf בו נראה את הקובץ הסופי.</p>
<p>זה נשמע נורא, אבל אחרי יום יומיים של למידה זה די פשוט. את הפקודות ואת התהליכים ניתן ללמוד <a href="http://tobi.oetiker.ch/lshort/lshort.pdf" target="_blank">מחוברת נהדרת</a> שרצה באינטרנט אותה ניתן לסיים לקרוא בכמה שעות.</p>
<p><strong>כמה דוגמאות על מה מדובר</strong></p>
<p>קיבצתי כמה דוגמאות שממחישות את חוזקה של לאטך.</p>
<p><a href="http://vaxincity.files.wordpress.com/2008/09/picture-31.png"><img class="alignnone size-medium wp-image-140" title="picture-31" src="http://vaxincity.wordpress.com/files/2008/09/picture-31.png?w=300" alt="" width="300" height="137" /></a></p>
<p><a href="http://vaxincity.files.wordpress.com/2008/09/picture-2.png"><img class="alignnone size-medium wp-image-136" title="picture-2" src="http://vaxincity.wordpress.com/files/2008/09/picture-2.png?w=300" alt="" width="300" height="151" /></a></p>
<p><strong>בעיות בלאטך</strong></p>
<p>ויש כמה:</p>
<ul>
<li>לאטך אינה יכולה לחשב "ספונטנית" תרגילים ,בניגוד ל matlab.</li>
<li>כתיבה עברית בלאטך הנה בעיתית. הודות <a href="http://art-blog.no-ip.info/newpress/blog/" target="_blank">לארתיום </a>יש תמיכה בכיווניות עברית והבנתי שיש גם תמיכה בפונט עברי, עדיין לא בדקתי את האופציה הזו. המעוניינים יכולים להיכנס לאתרו ולהתעניין. אשמח לקבל פידבקים בעניין.</li>
<li>לאטך מכוונת בעיקר למשתמש המקצועי, ליצירת מערכים מתמטיים אלגנטים למראה, גרפים מסובכים, צורות מורכבות ועוד, הכול בפקודות. התוכנה בהחלט אינה מתאימה לכל אחד.</li>
</ul>
<p>לסיום ,נראה לי שאני ולאטך נלך עוד שנים רבות יחדיו. התוכנה בהחלט יסודית, נותנת למסמכים הנכתבים בה ניצוץ של מקצוענות, ולא מותירה גבולות רבים למשתמש.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Amazing math cheat sheets!]]></title>
<link>http://jimmy13.wordpress.com/?p=150</link>
<pubDate>Sat, 20 Sep 2008 21:30:18 +0000</pubDate>
<dc:creator>jimmy13</dc:creator>
<guid>http://jimmy13.id.wordpress.com/2008/09/20/amazing-math-cheat-sheets/</guid>
<description><![CDATA[There is another blog that I look at occasionally called Math-Blog: Math is Wonderful. There has not]]></description>
<content:encoded><![CDATA[<p>There is another blog that I look at occasionally called <a href="http://math-blog.com/2008/09/20/13-useful-math-cheat-sheets/" target="_blank">Math-Blog: Math is Wonderful</a>. There has not been a lot lately, but just today they posted a list of great math "cheat sheets" which he accumulated from various places around the web. Here they are, but feel free to check out the blog as well.</p>
<ol>
<li><a href="http://www.scribd.com/doc/4549/Math-cheat-sheet-by-Dr-Seiden">General Math Cheat Sheet</a> (iPaper and other formats)</li>
<li><a href="http://tutorial.math.lamar.edu/pdf/Algebra_Cheat_Sheet.pdf">Elementary Algebra Cheat Sheet</a> (PDF)</li>
<li><a href="http://tutorial.math.lamar.edu/pdf/Trig_Cheat_Sheet.pdf">Trigonometry Cheat Sheet</a> (PDF)</li>
<li><a href="http://tutorial.math.lamar.edu/pdf/Calculus_Cheat_Sheet_All.pdf">Calculus Cheat Sheet</a> (PDF)</li>
<li><a href="http://tutorial.math.lamar.edu/pdf/Common_Derivatives_Integrals.pdf">Derivatives and Integrals Cheat Sheet</a> (PDF)</li>
<li><a href="http://tutorial.math.lamar.edu/pdf/Laplace_Table.pdf">Laplace Transforms Cheat Sheet</a> (PDF)</li>
<li><a href="http://www.glump.net/content/abstract_algebra_cheat">Abstract Algebra Cheat Sheet</a> (PDF)</li>
<li><a href="http://kom.aau.dk/project/sipcom/SIPCom06/semester7/FP7-5/prob-cheat-sheet.pdf">Probability Theory Cheat Sheet</a> (PDF)</li>
<li><a href="http://web.mit.edu/18.06/www/MATLAB/matlab-cheatsheet.pdf">Matlab Cheat Sheet</a> (PDF)</li>
<li><a href="http://www.uoregon.edu/%7Ejoe/mathematica-cheat-sheet.pdf">Mathematica Cheat Sheet</a> (PDF)</li>
<li><a href="http://math.mtsac.edu/resources/maple11_cheatsheet1.pdf">Maple Cheat Sheet</a> (PDF)</li>
<li><a href="http://math-blog.com/2007/06/04/a-10-minute-tutorial-for-solving-math-problems-with-maxima/">Maxima Cheat Sheet</a> (HTML web page)</li>
<li><a href="http://stdout.org/%7Ewinston/latex/">LaTeX Cheat Sheet</a> (several formats)</li>
</ol>
<p>I hope you find them helpful. I have personally used the <a href="http://jimmy13.wordpress.com/2008/10/01/latex/" target="_blank">LaTeX</a> sheet often.</p>
<p>Check them out.</p>
<p><span style="color:#ff0000;"><strong>Update:</strong><span style="color:#000000;"> Another source for math review is <a href="http://tutorial.math.lamar.edu/" target="_blank">Pauls Online Math Notes</a>.</span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[MEG]]></title>
<link>http://meg160.wordpress.com/2008/09/18/a-first-task/</link>
<pubDate>Thu, 18 Sep 2008 16:48:40 +0000</pubDate>
<dc:creator>Dan Hertz</dc:creator>
<guid>http://meg160.id.wordpress.com/2008/09/18/a-first-task/</guid>
<description><![CDATA[The first thing I?m trying to do here is to get a basic idea of how to use MATLAB to do basic things]]></description>
<content:encoded><![CDATA[<p>The first thing I?m trying to do here is to get a basic idea of how to use MATLAB to do basic things. So I?m going to try to do a very basic thing with MATLAB, which is just to replicate something simple and trivial from MEG160 (done manually) using scripts in MATLAB.</p>
<p>So what did we do in MEG160?</p>
<ol style="list-style-type:decimal;">
<li>Opened a file. This was just a small file, as I recall, although for MATLAB we?re going to be opening a larger file. I have not been able to find a larger file to try opening with MEG160 for the moment, so I?m just messing around with one small file with MEG160 for the moment. I?ll have to try opening larger files with MEG160 and doing this process with that at some point, since I?ll then have to do the following steps and include a sub-step there.
<ul style="list-style-type:hyphen;">
<li>Include a trigger-finding procedure to extract the signals? I haven?t done this for the small file, as far as I can tell, unless it?s done automatically.</li>
</ul>
</li>
<li>Remove the noise. This is just called ?Noise Reduction?. In MATLAB I?m going to have to call a couple of functions to do this.</li>
<li>Low Pass Filter (LPF) of 30 Hz.</li>
<li>Baseline Correction (using pre-test time of -100ms to 0ms).</li>
</ol>
<p>So, this is what I need to do with my MATLAB script as well.</p>
<p><strong>NOTE: MEG numbers the channels from 0-159. MATLAB numbers them as 1-160. MATLAB starts all arrays and everything at 1, not 0.<br />
</strong><br />
There are two components of the Noise Reduction.</p>
<ol style="list-style-type:decimal;">
<li>TSPCA: Compares data channels to reference channels (158-160)</li>
</ol>
]]></content:encoded>
</item>

</channel>
</rss>
