代码搜索结果
找到约 25,001 项符合
Power 的代码
page29_1_7c.m
n=0:10;
x=power(0.5,n);
stem(n,x,'filled');%用来画离散的信号
axis([-3,7,-0.1,1.1]);
xlabel('n');
ylabel('x[n]');
1487.cpp
/* This Code is Submitted by wywcgs for Problem 1487 on 2006-08-02 at 10:48:09 */
#include
#include
const int MAX = 128;
int power[MAX];
bool ship[MAX][MAX];
int max;
1221.cpp
/* This Code is Submitted by wywcgs for Problem 1221 on 2005-10-03 at 00:28:10 */
#include
#include
int main()
{
double power;
long long total, r;
int p, sign, i;
show_pow.c
#include
#include
void main (void)
{
int power;
for (power = -2; power
show_pow.c
#include
#include
void main (void)
{
int power;
for (power = -2; power
powersin.m
function s = powersin(x)
%POWERSIN Power series for sin(x).
% y = POWERSIN(x) tries to compute sin(x) from its power series.
s = 0;
t = x;
n = 1;
while s+t ~= s;
s = s + t;
t = -x.^2/(
8.21.file1.c
//file1.c:用extern将外部变量的作用域扩展到其它文件
#include
int A;
int main()
{
int power(int);
int b=3,c,d,m;
printf("enter the number a and its power m:\n");
scanf("%d%d\n",&
8.21.file2.c
extern int A;
int power(int n)
{
int i,y=1;
for(i=1;i
readme.txt
Code Sample Name:
Power Manager Sample
Feature Area:
PM
Description:
Demonstrates how an application can use the Power Manager APIs to
register for power notifications,
tx_power_amplifier.m
% AMP - Non-linear power amplifier
%
% usage:[out,inPow,outPow,P3,P_I]=tx_power_amplifier(in,one_dB,G,R,s,N);
% [out,inPow,outPow]=tx_power_amplifier(in,1,1,R,s,N,T);
%
% in: