代码搜索结果
找到约 10,000 项符合
1 的代码
ch5_1_1.htm
基本矩阵运算元
ch4_1_1.htm
常见数学函数
mux3to1_1.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity mux3to1_1 is
port(a,c :in std_logic;
b :in std_logic;
sel1,sel2:in std_lo
例6-1(1).m
%设定自变量数组t
t=[0:0.01:1.5];
%固定频率
w=4*sqrt(3);
%使用数组运算式
y= sqrt(3)/3*exp(-2*t).*sin(w*t+pi/6);
%绘制曲线并且加上坐标网格
subplot(2,1,1),plot(t,y),grid
%加标注
title('绘图示例'),x
gademo1eval1.m
function [val,sol] = gaDemo1Eval(sol,options)
% Demonstration evaluation function used in gademo1.
% f(x)=x+10sin(5x)+7cos(4x)
%
% function [val,sol] = gaDemo1Eval(sol,options)
%
% val - the fittness