Undefined function or variable 'a'?
显示 更早的评论
Hello, i am trying to export a plot into a jpeg file but i always get the following error message: Undefined function or variable 'a'.
The code is the following:
t=0:0.01:(3*pi)/2;
x =sin(1.8*pi*t);
plot(t,x,'r-.');
imwrite(a,'a1.jpg');
i also got the same error while trying to use saveas command instead. Does anyone know what am i doing wrong?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!