代码搜索:plot
找到约 10,000 项符合「plot」的源代码
代码结果 10,000
www.eeworm.com/read/328084/13046972
m e421.m
% Script file: E421.m
% Purpose:
% Write a program to determine the idistance d at which
% to attach the cable to the pole to minimize the tension on the cable.
% in d=1:1:7,also plot the tensio
www.eeworm.com/read/328084/13047048
m e44.m
%使用循环
% y=zeros(1,30);
% k=0;
% for x=0.1:0.1:3
% k=k+1;
% y(k)=x^2-3*x+2;
% end
% x=0.1:0.1:3;
% plot(x,y,'r-','LineWidth',3.0);
%使用向量
x=0.1:0.1:3;
y=x.^2-3.*x+2;
plot(x,y,'r-
www.eeworm.com/read/328078/13047224
m plotobs.m
function plotobs(X, k)
%PLOTOBS Scatter plot of observation classes
% PLOTOBS(X, K) where X is a 2 or 3 column matrix of features and K
% is a vector of class indeces produces a scatter plot of
%
www.eeworm.com/read/327948/13054077
m pr3_25_ss_counternarrowbandjammer_noband-eliminationfiltering.m
%Problem3.25
%Simulates antijamming features of spread spectrum signal (no band elimination used) against narrow
%band jammer and compares to the ones of plain signals;
clear all; close all;
t=[
www.eeworm.com/read/140851/13058643
m plotcov2.m
% PLOTCOV2 - Plots a covariance ellipse with major and minor axes
% for a bivariate Gaussian distribution.
%
% Usage:
% h = plotcov2(mu, Sigma[, OPTIONS]);
%
% Inputs:
% mu -
www.eeworm.com/read/140851/13059398
m demglm2.m
%DEMGLM2 Demonstrate simple classification using a generalized linear model.
%
% Description
% The problem consists of a two dimensional input matrix DATA and a
% vector of classifications T. Th
www.eeworm.com/read/327492/13074956
m hc111.m
%《数字信号处理教程——MATLAB释义与实现》第一章例1.1.1程序hc111
% 连续信号、离散信号和数字信号
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
dt=0.001;t=0:dt:6; % 建立连续自变量向量
xa=sqrt(t)+cos(t); % 原始的连续时间信号xa(t)
T=0.5;n=0:6/T; % T为采样周期,建立离散自变量向量
www.eeworm.com/read/327492/13075056
m hc721.m
%《数字信号处理教程——MATLAB释义与实现》第七章例7.2.1程序hc721
% 幅频特性与符幅特性的区别
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
clear
b=[-1,2,4,2,-1];a=1; % 给定滤波器系数向量
[H,w]=freqz(b,a); % 求频率特性
subplot(2,2,1),p
www.eeworm.com/read/327492/13075076
m hc722.m
%《数字信号处理教程——MATLAB释义与实现》第七章例7.2.2程序hc722
% 线性相位FIR滤波器的类型及符幅特性
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
clear
h1=[3,-1,2,-3,5,-3,2,-1,3]; % 输入一个类型I的线性相位滤波器系数
[A1,w1,typea,tao1]=amplres(h1);
www.eeworm.com/read/327492/13075314
m fgp832.m
%《数字信号处理教程——MATLAB释义与实现》第八章图8.3.2生成程序fgp832
% s平面到z平面的指数变换映射
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
a=[-2:0.1:0]; % 设定实部分度
b=[-3:0.2:3]; % 设定虚部分度
[X,Y]=meshgrid(a,b); %