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
For my publications I save the plot as an EPS (which is vectorized), then do any final touches in Inkscape. Then through Inkscape you can export it to something like SVG. Inkscape has a bunch of tools that are handy for cleaning up a plot (such as simplifying paths and shading).
That's how I made the following T-s diagram: