how to use the function of 'RMAOV1.m' (one way repeated ANOVA)
Show older comments
I loaded the file of 'RMAOV1.m' from file exchange ( http://www.mathworks.com/matlabcentral/fileexchange/5576) for one way repeated measure ANOVA, but seems that I didn't use the function in a good manner.
The paradigm is: At first 30secs, I acquired 6 function MR images when subjects were under relaxation, and in the next 30secs, I acquired another 6 function MR images when subjects were under a muscle stimulation. I continuously repeat this paradigm for 10 minutes.
In the offline analysis, I want to see if some pixels (out of 500 pixels in total) in the MR images acquired during the treatment have significant different signal intensities than during the relaxation. Apparently, I'm interested in each pixel's signal intensity change over time.
Here's how I use the function of 'RMAOV1':
a=[pix1_first_img : pix500_first_img (in 1st image), ... , pix1_end_img : pix500_end_img (in the last image)];
b=[0 0 0 0 0 ....... , 11111......, 00000......, 11111......, ............., 0 0 0 ..., 111.....]; (0 is relaxation, 1 is stimulation )
c=[pix1 : pix 500 (in 1st image), pix1: pix500 (in 2nd image), ... , pix1: pix500 (in the last image)];
RMAOV1 (a, b, c);
The output showed the p value is Na/N. I hope some people who has used this function before can help me out. I appreciate it!
Answers (1)
rui
on 24 Aug 2011
0 votes
Categories
Find more on ANOVA in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!