代码搜索结果
找到约 10,000 项符合
Switch 的代码
hc454.m
%《数字信号处理教程——MATLAB释义与实现》第四章例4.5.4程序hc454
% 连续信号频谱计算中截断的正余弦信号频谱的算例
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
N0=[50,100,500,628];
for r=1:4
N=N0(r);
T=0.1;n=1:N; % 原始数据
DOmega=2*pi/(N*T);
hc456.m
%《数字信号处理教程——MATLAB释义与实现》第四章例4.5.6程序hc456
% T,N,L变化时频点集的对应关系
% 电子工业出版社出版 陈怀琛编著 2004年9月
%
T0=[0.1,0.05,0.05,0.1];
N0=[16,16,32,32];
for r=1:4
T=T0(r);N=N0(r); % 设定T和N的
evaluate.java
public class Evaluate{
int max_x,max_y,max;
public void evaluate(int shape[][][]){
int i=0,j=0;
for(i=0;i
useccs.cmd
MEMORY
{
IRAM : o=1000h,l=0x0002efff
}
SECTIONS
{
.text :> IRAM
.data :> IRAM
.bss :> IRAM
.cinit :> IRAM
.far :> IRAM
.stack :> IRAM
power.c
#include
#include "filter.h"
#ifdef ALLOC_PRAGMA
#ifdef HANDLE_DEVICE_USAGE
#pragma alloc_text(PAGEPOWR, VA_Power)
#endif // HANDLE_DEVICE_USAGE
#endif
static ch
al4_7.c
/*案例代码文件名:AL4_7.C。*/
/*功能:已知利润求薪水。*/
main()
{ long profit;
int grade;
float salary=500;
printf("Input profit: ");
scanf("%ld", &profit);
grade= (profit – 1) / 1000; /* 将利润-1、再整
subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = v
subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = v
subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = v
subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = v