⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vmpcorrelationprobability.m

📁 vmp is the file generate from Brainvoyager which can link vtc file and the 3D image. This toolbox he
💻 M
字号:
function thresh_and_percent = vmpCorrelationProbability(path,vmp);
% syntax: thresh_and_percent = vmpCorrelationProbability(path,vmp);
% 
% This function was written by:
% Hagar Gelbard
% Rafi Malach's Lab
% Weizmann Institute of Science
% Rehovot, Israel
% hagar.gelbard@weizmann.ac.il


vmpCorrVec = vmpReturnVec(path, vmp);
VMPmax = max(vmpCorrVec);
VMPmin=min(vmpCorrVec);
voxelsNo = length(vmpCorrVec);

threshs = [VMPmin:0.01:VMPmax];
thresh_and_percent = zeros(length(threshs),2);
thresh_and_percent(:,1) = threshs';

for i = 1:length(thresh_and_percent)
    thresh = thresh_and_percent(i,1);
    thresh_and_percent(i,2) = 1-length(find(vmpCorrVec<thresh))/voxelsNo;
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -