function [ sX0 ] = SearchNetwork( WXs, X0 ) %SEARCHNETWORK Summary of this function goes here % Detailed explanation goes here sX0=(X0'*WXs*X0)/(X0'*X0)^2; end