代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/332093/12781047
m trp.m
function [f,T]=trp(d,t0,tf)
% f为目标函数最优值,T为最优路线,d为距离矩阵,t0为初始温度,tf为结束温度
[m,n]=size(d);
L=100*n;
t=t0;
pi0=1:n;
min_f=0;
for k=1:(n-1)
min_f=min_f+d(pi0(k),pi0(k+1));
end
min_f=min_f+d(pi0(
www.eeworm.com/read/409357/11331409
h mds_def.h
/******************************************************************************
* File Name : mds_def.h
*
* This is the header file used for the testing of DSP library. It defines the
* require
www.eeworm.com/read/292220/8366746
m von_koch.m
close all
figure;
x1=[1 2 2.5 3 4];
y1=[0 0 0 0 0];
h1=plot(x1,y1,'linewidth',2,'erasemode','xor');
axis equal
axis off
for g=linspace(0,1,40)*sin(pi/3);
y1(3)=g;
set(h1,'ydata
www.eeworm.com/read/391780/8377562
m ms1_3.m
t1=0:0.1:4;
f1=4*exp(-2*t1);
subplot(2,2,1),plot(t1,f1);
t2=0:0.1:3;
f2=exp(-1*t2).*cos(2*pi*t2);
subplot(2,2,2),plot(t2,f2);
k=-20:0.1:20;
f3=k.*sin(k);
subplot(2,2,3),plot(k,f3);
f4=sinc(k)
www.eeworm.com/read/391780/8377840
m ms1_2.m
t=0:0.05:3;
f=2*sin(2*pi*t);
subplot(2,2,1),plot(t,f);
title('plot(t,f)');
subplot(2,2,2),stem(t,f);
title('stem(t,f)');
subplot(2,2,3),stairs(t,f);
title('stairs(t,f)');
subplot(2,2,4),bar(t,
www.eeworm.com/read/291752/8399552
cpp sinc.cpp
//
// File = sinc.cpp
//
#include
#include
#include "sinc.h"
#include
#ifndef PI
#define PI 3.1415926535897932
#endif
using namespace std;
double sinc(do
www.eeworm.com/read/291625/8407497
m f4.4.m
x=linspace(0,2*pi);y=sin(x);
e=std(y)*ones(size(x));%单位标准差
errorbar(x,y,e,'d');
www.eeworm.com/read/391300/8410611
txt mch03-01.txt
坐标轴的标注
t=0:pi/20:2*pi;
plot(t,sin(t))
xlabel('t = 0 到 2\pi','FontSize',16)
ylabel('sin(t)','FontSize',16)
title('\it{从 0 to 2\Pi 的正弦曲线}','FontSize',16)
www.eeworm.com/read/391300/8410667
txt mch02-13.txt
双Y轴图形的绘制
t = 0:pi/20:2*pi;
y = exp(sin(t));
plotyy(t,y,t,y,'plot','stem')
www.eeworm.com/read/391300/8410672
txt mch02-24.txt
紧缩后的坐标轴具有相同数据单位的图形
t = 0:pi/20:2*pi;
plot(sin(t),2*cos(t))
grid on
axis equal tight