matlab 画平滑曲线
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/07/13 13:05:11
matlab 画平滑曲线
![](http://img.wesiedu.com/upload/2/91/2918509ff7721c8fd63664fc520176e4.jpg)
![](http://img.wesiedu.com/upload/3/05/305168da55a98f5cee9f2b15ff21e307.jpg)
我用plot命令,画出来的图,不够平滑,怎么能画出后面的平滑曲线呢?
ttag = 2;
tshort = 1;
r = 0.5;
y =[];
i=1;
while (r
![](http://img.wesiedu.com/upload/2/91/2918509ff7721c8fd63664fc520176e4.jpg)
![](http://img.wesiedu.com/upload/3/05/305168da55a98f5cee9f2b15ff21e307.jpg)
我用plot命令,画出来的图,不够平滑,怎么能画出后面的平滑曲线呢?
ttag = 2;
tshort = 1;
r = 0.5;
y =[];
i=1;
while (r
![matlab 画平滑曲线](/uploads/image/z/18058639-31-9.jpg?t=matlab+%E7%94%BB%E5%B9%B3%E6%BB%91%E6%9B%B2%E7%BA%BF)
把你横坐标的间隔取小一些!
比如;p=0.5:000.1:4
但是这样运算量会加大
再问: 改了后,Vectors must be the same lengths.出现这样的问题,请问怎么修改呢,谢谢。程序在补充问题里
再答: clear all;clc
ttag = 2;
tshort = 1;
r = 0.5;
y =[];
i=1;
while (
比如;p=0.5:000.1:4
但是这样运算量会加大
再问: 改了后,Vectors must be the same lengths.出现这样的问题,请问怎么修改呢,谢谢。程序在补充问题里
再答: clear all;clc
ttag = 2;
tshort = 1;
r = 0.5;
y =[];
i=1;
while (