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: mci_plot_noiseSD.m
    path of file: ./repos/bspm/thirdparty/spm12/toolbox/mci/plotting
    
    the code of the file until where you have to start completion: function [] = mci_plot_noiseSD (Ce,ind)
% Plot posterior over observation noise SDs
% FORMAT [] = mci_plot_noiseSD (Ce,ind)
%
% Ce    [d x d x Ns] d-dimensional observations with Ns samples
% ind   indices of samples to plot
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging

% Will Penny 
% $Id: mci_plot_noiseSD.m 6548 2015-09-11 12:39:47Z will $

d=size(Ce,1);
dist.ind=ind;

    
function [] = mci_plot_noiseSD (Ce,ind)
% Plot posterior over observation noise SDs
% FORMAT [] = mci_plot_noiseSD (Ce,ind)
%
% Ce    [d x d x Ns] d-dimensional observations with Ns samples
% ind   indices of samples to plot
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging

% Will Penny 
% $Id: mci_plot_noiseSD.m 6548 2015-09-11 12:39:47Z will $

d=size(Ce,1);
dist.ind=ind;
for j=1:d,
    dist.P(j,:)=sqrt(squeeze(Ce(j,j,:))');
    dist.names{j}=sprintf('NoiseSD (%d)',j);
end