代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/186670/8919446
txt mch02-20.txt
详细标示绘制的图形
xlabel('-\pi \leq \Theta \leq \pi')
ylabel('sin(\Theta)')
title('Plot of sin(\Theta)')
text(-pi/4,sin(-pi/4),'\leftarrow sin(-\pi\div4)',...
'HorizontalAlignment','left')
www.eeworm.com/read/284554/8920051
c modi93.c
/*
下列给定程序中,函数fun的功能是:用下面的公式求π的近似值,直到最后一项的绝对值小于指定的数(参数num)为止:
π/4≈1-1/3+1/5-1/7+…
例如,程序运行后,输入0.0001,则程序输出3.1414。、
请改正程序中的错误,使它能输出正确的结果。
注意:不要必动main函数,不得增行或删行,也不得更改程序的结构!
*/
#include ...
www.eeworm.com/read/383744/8921844
m tt1.m
%画SIN曲线
x=0:pi/100:2*pi;
y=sin(x);
plot(x,y)
echo off
grid on
title('sin(\alpha)')
xlabel('\alpha')
ylabel('sin(\alpha)')
www.eeworm.com/read/383744/8921867
m q262.m
t = 0:pi/100:2*pi;
y = sin(t);
x=menu('chose a color','red','blue','green');
color=['r','b','g'];
plot(t,y,color(x))
www.eeworm.com/read/383744/8921891
m q6011.m
%用SYMS创建符号表达式和符号矩阵
syms x y a b c d t
f=sin(x)
f1=sin(x/t)
eq=a*x^2+b*x+c
y=[a b ;c d]
y=[1 2;3 4]
pause
%用EZPLOT画曲线
ezplot(f,[0:0.1:2*pi])
hold on
f2=subs(f1,1/2 ,'t')
ezplot(f2,[0:0.1:2*
www.eeworm.com/read/383744/8921932
m q2533.m
%画柱体
clf
cylinder
axis equal
title('柱体')
%figure(2)
%t=0:pi/10:2*pi;
%pause,
%cylinder(2+cos(t))
echo off
www.eeworm.com/read/383744/8922072
m zy69.m
% 方波表为多阶正弦波之和
clear,close all
t = 0:.01:2*pi; % 设定一个时间数组
y = sin(t);plot(t,y),figure(gcf),pause% 频率为w=1(f=1/2π)的正弦基波
y = sin(t) + sin(3*t)/3; plot(t,y), pause % 叠加三次谐波
% 用1,3,5,7,9次谐波
www.eeworm.com/read/383744/8922154
m q2521.m
%example for text
plot(0:0.05:2*pi,sin(0:0.05:2*pi))
xlabel('t = 0 to 2\pi','FontSize',8)
ylabel('sin(t)','FontSize',8)
title('\it{Value of the Sine from Zero to Two Pi}')
text(3*pi/4,sin(3*pi/4)
www.eeworm.com/read/284438/8929227
m untitled.m
clear
clc
t=0:1:8000-1;%采样频率fs=1000,信号频率800
s=5*sin(2*pi*t/20)+5*sin(pi*t/20)+5*cos(2*pi*t/30);
%d=-2*log(s);
n=5*rand(size(t));%n1=-20*log(n);
x=n;
wq=fft(x);
%plot(abs(wq))
%w=[0 0.5 ];
k
www.eeworm.com/read/427573/8935871
c 13kfft0.c
#include "stdio.h"
#include "13kfft.c"
#include "math.h"
main()
{ int i,j;
double pr[64],pi[64],fr[64],fi[64];
for (i=0; i