代码搜索结果
找到约 10,000 项符合
5 的代码
shiyan5_5.cpp
//lab3_5
#include
int fib(int n);
int main()
{
int n, answer;
cout > n;
cout
ex5_5.m
G=tf([1,1],[conv([1,-1],[1,4,16]) 0]);
hold off; rlocus(G); axis('square')
[K,P]=rlocfind(G) % Selecting point 1
[K,P]=rlocfind(G) % Selecting point 2
[xx,yy]=rlasymp(G); hold on; plot(xx,yy,
ex5_5.cmd
-c
-m Ex5_5.map
-o Ex5_5.out
Ex5_5.obj
-lrts.lib
-stack 0x100
MEMORY
{
PAGE 0: PROG: origin = 1a00h, length = 2600h
PAGE 1: DATA: origin = 0200h, length = 1800h
}
SECT
ex5_5.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="F:\shiyan program\exe4.5\Ex4_5\"
ProjectType=Executable
CPUFamily=TMS320C54XX
Tool="
ex5_5.c
/** Program to design an FIR **/
#include "math.h"
float hd[51]; /* 理想的冲击响应系数序列 */
float h[51]; /* 加窗后的冲击响应系数序列 */
float w[51]; /* 窗函数的离散值序列 */
float db[300]; /* 幅度响应数组(对数值)
ex5_5.map
******************************************************************************
TMS320C54x COFF Linker PC Version 3.83
*******************************************************
chap5_5.m
%GA(Generic Algorithm) to Optimize Online PID Control
clear all;
close all;
Size=120;
CodeL=2;
MinX(1)=9*ones(1);MaxX(1)=12*ones(1);
MinX(2)=0.20*ones(1);MaxX(2)=0.30*ones(1);
Kpid(:,1)=M