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: visualizeBoundaryLinear.m
    path of file: ./repos/Machine-Learning-Andrew-Ng/matlab/ex6
    
    the code of the file until where you have to start completion: function visualizeBoundaryLinear(X, model)
%% 函数功能：绘制SVM训练出来的线性分界线
w = model.w;

    
function visualizeBoundaryLinear(X, model)
%% 函数功能：绘制SVM训练出来的线性分界线
w = model.w;
b = model.b;
xp = linspace(min(X(:,1)), max(X(:,1)), 100);
yp = - (w(1)*xp + b)/w(2);
plot(xp,yp,'LineWidth',2);

end