Yes. Some code was posted here that invokes the work of Jack van Horn to produce an image of power: http://web.njit.edu/~jrs3/matlabfiles/

Regards - MFG

> -----Original Message-----
> From: SPM (Statistical Parametric Mapping)
> [mailto:[log in to unmask]] On Behalf Of Susanna Carmona
> Sent: Wednesday, March 30, 2005 6:20 AM
> To: [log in to unmask]
> Subject: [SPM] Power analysis
>
> Hi everyone.
> I need to run a power analysis to calculate the sample size
> of a project.
> This project involves three groups: two patient groups and
> one control. Is there any SPM toolbox that can help me to
> calculate the necessary sample size given data from previous studies?
> Thanks
> Susanna
>