To save a jpg with saveas() you have to give a proper figure handle (at least gcf) as first argument and change '.jpg' to 'jpeg' as format specifier (no dot and including the "e").
e.g.:
clearvars, close all
clc
NAME = 'myFig';
fig = figure('Name', NAME);
plot(rand(100,1))
saveas(fig, sprintf('%s - F vs V', NAME),'jpeg')
However, i would recommend to use a vector graphics format or png instead of jpeg, because jpeg could contain ugly artifacts.
Best Answer