You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: PSO_InitW.m
    path of file: ./repos/SPO_BPNN_PID
    
    the code of the file until where you have to start completion: function [wi_init, wo_init]=SPO_InitW()
%clear;
tic   %该函数表示计时开始
%神经网络参数
IN=4; H=5; Out=3;
%------给定初始化条件----------------------------------------------
c1=2;    %1.4962;             %加速常数

    
function [wi_init, wo_init]=SPO_InitW()
%clear;
tic   %该函数表示计时开始
%神经网络参数
IN=4; H=5; Out=3;
%------给定初始化条件----------------------------------------------
c1=2;    %1.4962;             %加速常数
c2=2 ;   %1.4962;             %加速常数
%w=0.7298;              %惯性权重
Wmax=0.9 ;   Wmin=0.4;  %准备采用线性权重衰减法
MaxDT=50;            %最大迭代次数
D=(H*IN)+(Out*H); %搜索空间维数（测试函数sphere中未知数个数）
N=20;                      %初始化群体个体数目（ 一般20个粒子就足够）
Vmax=5;
Vmin=-5;
Pmax=5;
Pmin=-5;

%------初始化种群的个体(可以在这里限定位置和速度的范围)------------
for i=1:N
        x(i,:)=0.15*rands(1,D); 
        v(i,:)=0.15*rands(1,D); 
end