% MATLAB:MATLAB 为 Matrix Laboratory ,用来处理矩阵可编程可实现算法逻辑的计算工具% % eg:1 绘制正弦和余弦曲线x=[0:0.1:4*pi]; %建立角度向量plot(x,sin(x),x,cos(x)) %画图axis([0,2*pi,-1,1]) %设定坐 ...
分类:
其他好文 时间:
2016-10-17 14:32:45
阅读次数:
182
So far, I have learn some types of plotting methods: Matplotlib's high-level plotting methods - e.g. .scatter(), .plot() Seaborn's high-level plotting ...
分类:
其他好文 时间:
2016-10-14 07:40:56
阅读次数:
175
matlab绘图--线性规划图解法示意图解法matlab绘图区域填充线性规划问题:matlab绘图L1=[4,0;4,4]; plot(L1(:,1),L1(:,2));hold on text(4.1,3.5,'x_1=4','color','b'); L2=[0 3;5 3]; plot(L2(... ...
分类:
其他好文 时间:
2016-10-06 22:30:58
阅读次数:
1037
1 > plot(x) 2 > age<-c(1,3,5,2,11,9,3,9,12,3) 3 > weight<-c(4.4,5.3,7.2,5.2,8.5,7.3,6.0,10.4,10.2,6.1) 4 > mean(weight) 5 [1] 7.06 6 > sd(weight) 7 [1 ...
分类:
编程语言 时间:
2016-10-03 14:58:45
阅读次数:
819
画半圆 x=-1:0.01:1;y=sqrt(1-x.^2);plot(x,y);axis equal; %设置x,y长宽一样 画三角函数 x=0:0.1:2*pi;y1=sin(x);y2=cos(x);plot(x,y1,x,y2);axis equal; 分窗口 x=0:0.01:pi;y1= ...
分类:
其他好文 时间:
2016-10-02 17:34:34
阅读次数:
150
1. 对于直接给出频响函数的情况 这里以滑动平均的频响函数作为例子,滑动窗口为[0, 4]。 上式中M2=4。 >> w=0:0.001:2*pi; >> h1=1-exp(-j*w*5); >> h2=1-exp(-j*w); >> h=0.2*h1./h2; % 注意这里是点除 >> plot( ...
分类:
其他好文 时间:
2016-10-02 11:02:44
阅读次数:
567
实现一个最简单的plot函数调用: 图形输出结果类似于: 加入新方法: plt.figure() :自定义画布大小 plt.subplot() :设置画布划分以及图像在画布上输出的位置 输出结果: 加入新方法: plt.xticks():设置x轴刻度的表现方式 plt.xlim():设置x轴刻度的取 ...
分类:
其他好文 时间:
2016-09-21 21:32:50
阅读次数:
448
http://stackoverflow.com/questions/6564561/gnuplot-conditional-plotting-plot-col-acol-b-if-col-c-x How can I do this in gnuplot: It should only select ...
分类:
其他好文 时间:
2016-09-09 23:57:52
阅读次数:
265
Bode Plot Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14060 Accepted: 8820 Description Consider the AC circuit below. We will assume th ...
分类:
其他好文 时间:
2016-09-08 12:34:34
阅读次数:
156