代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/345494/11812589
m ex0609.m
%例6-9 创建元胞数组
A(1,1) = {[1 4 3; 0 5 8; 7 2 9]};
A(1,2) = {'Anne Smith'};
A(2,1) = {3+7i};
A(2,2) = {-pi:pi/10:pi};
A
B(3,3)={'Hello'};
B
C=cell(3,4);
C{2,3}=rand(2);
C
whos
www.eeworm.com/read/345494/11812819
m ex2304.m
%例23-4 极坐标绘图函数polar
theta=0:0.05*pi:2*pi;
r1=sin(theta);
r2=cos(theta);
polar(theta,r1,theta,r2)
polar(theta,[r1;r2])
polar([theta' theta'],[r1' r2'])
www.eeworm.com/read/345494/11812936
m mcc_test.m
function y=mcc_test(t)
t=0:0.001:t;
y=sin(2*pi*50*t);
plot(y);
www.eeworm.com/read/345494/11813373
m ex2110.m
%例21-10:计算三重定积分。
F = @(x,y,z)y*sin(x)+z*cos(x);
Q = triplequad(F,0,pi,0,1,-1,1);
Q
www.eeworm.com/read/345221/11825771
m tct2.m
clear all;
clc;
t=1/400:1/400:40.96;
f0=100;
fb=40;
tt=0.01;
s1=10*(sin(2*pi*fb*t)./(pi*t)).*exp(j*2*pi*f0*t); %宽带信号1为中心频率100hz,带宽40hz的信号
s2=10*(sin(2*pi*fb*(t+tt)
www.eeworm.com/read/156094/11828254
m exp2_4_.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
hold on %允许在同一坐标系下绘制不同的图形
plot(t,sin(t),'r:*')
plot(t,cos(t))
plot(t,-cos(t),'k')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
hold off %覆盖旧图
www.eeworm.com/read/156094/11828275
m exp2_4.m
close all
clc
clear
%定义时间范围
t=[0:pi/20:9*pi];
figure(1) %选择图像
plot(t,sin(t),'r:*')
grid on %在所画出的图形坐标中添加栅格,注意用在plot之后
grid off %删除栅格
figure(2)
plot(t,cos(t))
grid on
grid off
www.eeworm.com/read/258816/11841278
cpp p1-14.cpp
#include
const double PI=3.1416; //声明常量(const变量)PI为3.1416
main()
{
//声明3个变量
double r=3,l,s;
//计算圆的周长
l=2*PI*r;
cout
www.eeworm.com/read/258816/11841370
cpp p1-4.cpp
##include //包含iostream.h头文件
void main()
{
//输出字符常量、变量和字符串
char c1='A';
cout