<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: FieldTrip &#8211; the MATLAB toolbox for EEG/MEG analysis</title>
	<atom:link href="http://wei-jiang.com/programming/matlab/fieldtrip-the-matlab-toolbox-for-eegmeg-analysis/feed" rel="self" type="application/rss+xml" />
	<link>http://wei-jiang.com/programming/matlab/fieldtrip-the-matlab-toolbox-for-eegmeg-analysis</link>
	<description></description>
	<lastBuildDate>Thu, 12 Jan 2012 07:52:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: pedronavajo2</title>
		<link>http://wei-jiang.com/programming/matlab/fieldtrip-the-matlab-toolbox-for-eegmeg-analysis/comment-page-1#comment-227</link>
		<dc:creator>pedronavajo2</dc:creator>
		<pubDate>Fri, 16 Jul 2010 21:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://wei-jiang.com/programming/matlab/fieldtrip-the-matlab-toolbox-for-eegmeg-analysis#comment-227</guid>
		<description>Hi, I would like to contact Saskia Haegens, I need help about how to simulate more than two dipoles in field trip, with timecourse, because in the example above:&lt;br&gt;2009/03/03 21:52&lt;br&gt;&lt;br&gt;    * Compute forward simulated data and apply a dipole fit&lt;br&gt;They explain how to simulate two dipoles and his moments, and they set the dipole moment as:&lt;br&gt;&lt;br&gt;cfg.dip.mom = [      % each row represents [qx1 qy1 qz1 qx2 qy2 qz2]&lt;br&gt;   1 0 0 0 0 0       % this is how signal1 contributes to the 6 dipole components&lt;br&gt;   0 0 0 1 0 0       % this is how signal2 contributes to the 6 dipole components&lt;br&gt;   ]&#039;;               % note, it should be transposed&lt;br&gt;&lt;br&gt;My question is; if I have 128 dipoles, the structure field cfg.dip.mom should go like this:&lt;br&gt; &gt;&gt; for i=1:128&lt;br&gt;moms(i,3*(i-1)+1)=1;&lt;br&gt;end&lt;br&gt;&gt;&gt; moms=moms&#039;; %%and then..&lt;br&gt;&gt;&gt; cfg.dip.mom=moms;&lt;br&gt;Because if so, I&#039;m getting the next error:&lt;br&gt;&gt;&gt; dip1 = dipolefitting(cfg, avg3);&lt;br&gt;the input is timelock data with 30 channels and 250 timebins&lt;br&gt;using headmodel specified in the configuration&lt;br&gt;using electrodes specified in the configuration&lt;br&gt;selected 30 channels&lt;br&gt;selected 250 topographies&lt;br&gt;Warning: not enough channels to perform a dipole fit&lt;br&gt;&gt; In dipolefitting at 438&lt;br&gt;??? Error using ==&gt; dipolefitting at 471&lt;br&gt;inconsistent number of dipoles in configuration&lt;br&gt;PLEASE HELP I&#039;LL BE VERY THANKFUL</description>
		<content:encoded><![CDATA[<p>Hi, I would like to contact Saskia Haegens, I need help about how to simulate more than two dipoles in field trip, with timecourse, because in the example above:<br />2009/03/03 21:52</p>
<p>    * Compute forward simulated data and apply a dipole fit<br />They explain how to simulate two dipoles and his moments, and they set the dipole moment as:</p>
<p>cfg.dip.mom = [      % each row represents [qx1 qy1 qz1 qx2 qy2 qz2]<br />   1 0 0 0 0 0       % this is how signal1 contributes to the 6 dipole components<br />   0 0 0 1 0 0       % this is how signal2 contributes to the 6 dipole components<br />   ]&#39;;               % note, it should be transposed</p>
<p>My question is; if I have 128 dipoles, the structure field cfg.dip.mom should go like this:<br /> &gt;&gt; for i=1:128<br />moms(i,3*(i-1)+1)=1;<br />end<br />&gt;&gt; moms=moms&#39;; %%and then..<br />&gt;&gt; cfg.dip.mom=moms;<br />Because if so, I&#39;m getting the next error:<br />&gt;&gt; dip1 = dipolefitting(cfg, avg3);<br />the input is timelock data with 30 channels and 250 timebins<br />using headmodel specified in the configuration<br />using electrodes specified in the configuration<br />selected 30 channels<br />selected 250 topographies<br />Warning: not enough channels to perform a dipole fit<br />&gt; In dipolefitting at 438<br />??? Error using ==&gt; dipolefitting at 471<br />inconsistent number of dipoles in configuration<br />PLEASE HELP I&#39;LL BE VERY THANKFUL</p>
]]></content:encoded>
	</item>
</channel>
</rss>

