Home > Mateda2.0 > functions > protein > CreateFibbInitConf.m

CreateFibbInitConf

PURPOSE ^

Translates the vector to the positions in the grid

SYNOPSIS ^

function[Sj] = CreateFibbInitConf(n)

DESCRIPTION ^

Translates the vector to the  positions in the grid

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function[Sj] =  CreateFibbInitConf(n)
0002 %Translates the vector to the  positions in the grid
0003 
0004 Si = [1];
0005 Sj = [0];
0006 
0007 for i=2:n
0008   aux = Sj;
0009   Sj = [Si,Sj];
0010   Si = aux;
0011 end

Generated on Fri 04-Dec-2009 13:38:29 by m2html © 2003