<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi everyone. Im trying to make a forward computation of the dipole potentials measured in the scalp. I'm following this example:<br><br>http://fieldtrip.fcdonders.nl/example/compute_forward_simulated_data_and_apply_a_dipole_fit<br><br>but in the part that they describe the two dipole computations:<br><pre class="code">% create a dipole simulation with two dipoles and a custom timecourse<br><br>I dont understand why they take the dipole moments like this:<br><br>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>   ]';               % note, it should be transposed<br><br>¿Does it mean that if I have three dipoles, the dipole moment should be like this? :<br><br>cfg.dip.mom = [<br>   1 0 0 0 0 0 0 0 0<br>   0 0 0 1 0 0 0 0 0<br>   0 0 0 0 0 0 1 0 0<br>]';<br><br>¿And to four dipoles, like this?<br><br>cfg.dip.mom = [<br>   1 0 0 0 0 0 0 0 0 0 0 0<br>   0 0 0 1 0 0 0 0 0 0 0 0<br>   0 0 0 0 0 0 1 0 0 0 0 0<br>   0 0 0 0 0 0 0 0 0 1 0 0<br>]';<br><br>¿ And what if I have 128 dipoles?<br><br>PLEASE HELP ME UNDERSTAND THIS, BECAUSE IM GETTING AN ERROR IF I FOLLOW THIS RULE TO 128 DIPOLES AND I THINK THIS IS A MISTAKE<br><br>OTHER THING IS HOW CAN I COMPUTE THE FORDWARD ELECTRODE POTENTIALS, NOT JUST THE POSITIONS.<br><br>PLEASE HELP ME !!!!!<br></pre><br>                                      <br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html><p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>