How can I plot the voltage across any component by Matlab?
What you can do in MATLAB is the following:

Make a Bode plot like this:

L = 0.047; R = 220; C = 0.000001; 
Num = 1 ; 
Denum = [L*C R*C 1 ]; 
G = tf(Num , Denum);
bode(G); grid on




Or get a time-domain response like that:

omega = 4e3;
t = linspace(0, 3*2*pi/omega)
u = sin(omega * t);
lsim(G,u,t); grid on




For everything else (voltages and currents for each component) you are better off with Spice. There is also a toolbox for Simulink called SimElectronics, but I'd still prefer Spice.