results of prepare_bemmodel

Brian Roach Brian.Roach at YALE.EDU
Thu Mar 15 16:00:25 CET 2007


That did it - thanks!!!
At 10:45 AM 3/15/2007, you wrote:
>Dear Brian,
>
>there are actually two triplot functions: one in the fieldtrip private 
>directory and one 'official' matlab function.
>You should use the fieldtrip function, for the line of code below. It 
>should work then.
>
>Regards,
>Till
>
>
>Brian Roach schrieb:
>>FT users,
>>
>>after running vol = prepare_bemmodel(cfg, mri)
>>
>>where cfg =
>>
>>             tissue: [1 2 3]
>>        numvertices: [1000 2000 3000]
>>       conductivity: [1 0.0125 1]
>>     isolatedsource: 3
>>             method: 'dipoli'
>>             dipoli: '/home/bjr39/FTsource/dipoli'
>>
>>and mri =
>>
>>           dim: [181 217 181]
>>         xgrid: [1x181 double]
>>         ygrid: [1x217 double]
>>         zgrid: [1x181 double]
>>       anatomy: [181x217x181 double]
>>     transform: [4x4 double]
>>           hdr: [1x1 struct]
>>           seg: [181x217x181 double]
>>
>>
>>I am trying to make figures of the surfaces with triplot.m:
>>
>> >> triplot(vol.bnd(1).pnt, vol.bnd(1).tri, 'faces_skin'); rotate3d
>>??? Subscript indices must either be real positive integers or logicals.
>>
>>Error in ==> triplot at 38
>>h = plot(x(d), y(d),c,varargin{start:end});
>>--------------------------------------------------------------------------
>>I must have done something wrong along the way, but I am not sure what. 
>>Any ideas?
>>
>>thanks,
>>Brian
>>
>
>
>
>--
>
>Pflichtangaben gemäß Gesetz über elektronische Handelsregister und 
>Genossenschaftsregister sowie das Unternehmensregister (EHUG):
>
>Universitätsklinikum Hamburg-Eppendorf
>Körperschaft des öffentlichen Rechts
>Gerichtsstand: Hamburg
>
>Vorstandsmitglieder:
>Prof. Dr. Jörg F. Debatin (Vorsitzender)
>Dr. Alexander Kirstein
>Ricarda Klein
>Prof. Dr. Rolf A.K. Stahl
>ca



More information about the fieldtrip mailing list