代码搜索:plot
找到约 10,000 项符合「plot」的源代码
代码结果 10,000
www.eeworm.com/read/358617/10183786
m ls.m
function [x,y,zx,zy,XE,YE,XERB,YERB,XSTD,YSTD]=LS(T,M,d)
%输入参数:观测噪声方差d,采样间隔T,蒙特卡洛次数M
totalTime=800;
%真实航迹产生
[x,y]=realTrack(T,totalTime);
%随机初始化
randn('state',sum(100*clock));
D=d*d;
N=ceil(
www.eeworm.com/read/358609/10183919
m ex5_8.m
t=0:0.01:2*pi;
x=exp(i*t);
y=[x;2*x;3*x]';
plot(y)
grid on; %加网格线
box on; %加坐标边框
axis equal %坐标轴采用等刻度
www.eeworm.com/read/358270/10193285
m cfreqz.m
% CFREQZ Function to plot pole-zero plot and transfer function of complex poles
% and zeros
%
% CFREQZ (zeros, poles, k) plots the pole zero diagram and tranfer function specified
%
www.eeworm.com/read/357960/10198029
m bianbuchanglms.m
clc;
clear all
N=1000;
u=0.0002;
umax=0.1;
umin=0.0000002;
p=0.0965;
%p=1;
v=wgn(1,N,p);
x(1)=v(1);
x(2)=0.2*x(1)+v(2);
for n=3:N;
x(n)=0.2*x(n-1)-0.9*x(n-2)+v(n);
end;
w1(3)=0;
w2
www.eeworm.com/read/357783/10201138
m stemy.m
function [] = stemy(x)
stem(x,'filled');
hold on
plot([0 length(x)+1],[0 0],'black');
hold off;
www.eeworm.com/read/357771/10201284
m stmplot.m
%STMPLOT "stem" plot for short records, noral plot for long records.
% (including improvements over the crappy matlab5 stem plot). Usage
% is just like stem:
%
% -----------------------------
www.eeworm.com/read/357734/10201991
cpp c61.cpp
// c61.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
const int SIZE = 9;
// --------------------------------
www.eeworm.com/read/357662/10203499
m 例程13-4.m
% 产生信号,设置阈值
t = linspace(0,1,100);
y = 0.8*sin(2*pi*t);
subplot(1,3,1),plot(y);
title('原始信号'),grid on;
thr = 0.4;
% 进行硬阈值处理
ythard = wthresh(y,'h',thr);
subplot(1,3,2),plot(ythard );
title(
www.eeworm.com/read/357617/10204728
txt 05-21.txt
% find the minimum of the function f(x)=x^3+a*x^2+b*x+c
function [x0,y] = funmin(a,b,c,x1,x2)
options = optimset('Display','off');
[x0,y] = fminbnd(@poly3,x1,x2,options);
function y=poly3(x)
www.eeworm.com/read/357617/10204738
txt 05-17.txt
>> f_h=@(x)log(x)+sin(x)-2;
>> [x1,y1]=fzero(f_h,6)
>> fplot(f_h,[x1-2,x1+2])
>> hold on
>> plot(x1,y1,'k*')