All the time previously I was exporting Matlab figures in a raster format (JPG, PNG)
Is there a way to export a plot from Matlab in a vector format (SVG). I need it
I currently use the FEX package plot2svg to accomplish the task you are mentioning.
It is quite easy to use: after you have added the folder containing the script to your matlab path you can just do
plot2svg('myplot.svg',gcf);
to save your current figure in svg. (of course you can change gcf (= GetCurrentFigure) to another handle to save other opened figures.)
Indeed, this is the only way I found to export in vector way plots generated by the PDE toolbox.