代码搜索结果
找到约 10,000 项符合
Power 的代码
将小写金额转换为大写源码.txt
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Edit1: T
export.pro
TEMPLATE = app
TARGET +=
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += power.h
SOURCES += main.cpp power.cpp
main.cpp
#include "power.h"
#include
int main() {
using namespace std;
float v1 = 1.34;
int v2 = 5;
float p = power(v1, 4);
int p2 = power(v2, 3);
}
template-demo.cpp
#include "fraction.h"
#include "complex.h"
#include
//start id=power
template T power (T a, int exp) {
T ans = a;
while (--exp > 0) {
ans *= a;
}
return (ans);
}
//en
program_15_4.m
% Program 15_4
% Power Spectrum Estimation Using Welch's Method
%
n = 0:1000;
g = 2*sin(0.12*pi*n) + sin(0.28*pi*n) + randn(size(n));
nfft = input('Type in the fft size = ');
window = hamming(25
haar_1d.m
function [Y] = haar_1D(X)
% Computes the Haar transform of the input vector X
% The length of X must be a power-of-2
% Recursively builds the Haar matrix H
v = log2(length(X)) - 1;
H = [1 1;1 -1]
ssj_reqi.m
% Use this input file to excite function "ssj_req"
clear all
pt = 50.0e+3; % peak power in Watts
g = 35.0; % antenna gain in dB
freq = 3.2e+9; % radar operating frequency in Hz
sigma =
ssj_reqi.m
% Use this input file to excite function "ssj_req"
clear all
pt = 50.0e+3; % peak power in Watts
g = 35.0; % antenna gain in dB
freq = 5.6e+9; % radar operating frequency in Hz
sigma =
top.pin
-- Copyright (C) 1991-2004 Altera Corporation
-- Any megafunction design, and related netlist (encrypted or decrypted),
-- support information, device programming or simulation file, and a