Location:
Search - DISP-L
Search list
Description: 适用于8位动态扫描的串行传输-锁存的低有效LED驱动电路,程序根据Disp_Buf[LED_Num]内信息逐位更新LED显示,基于ZLG easy1138学习板-For 8-bit dynamic scan of the serial transmission- Latch LED driver circuit of low-effective, procedures, according to Disp_Buf [LED_Num] update the information in bit-LED display, based on ZLG easy1138 learning board
Platform: |
Size: 2048 |
Author: ken |
Hits:
Description: [mimi,i]=min(abs(imag(disp1)-imag(disp2)))
legend( LHS of dispersion relation , RHS of dispersion equation )
xlabel( u,cl )
figure(1)
clc
uppercuts = input( Enter number of intersection points desired: )
[g,h] = ginput(uppercuts)
w = sqrt(V.^2-u.^2)
s = sprintf( Constants: \n )
disp(s)
for p = 1:uppercuts
s = sprintf( u( d d) = 0.10f ,L-1,p,u(p))
disp(s)
s = sprintf( w( d d) = 0.10f\n ,L-1,p,w(p))
disp(s) -[mimi,i]=min(abs(imag(disp1)-imag(disp2)))
legend( LHS of dispersion relation , RHS of dispersion equation )
xlabel( u,cl )
figure(1)
clc
uppercuts = input( Enter number of intersection points desired: )
[g,h] = ginput(uppercuts)
w = sqrt(V.^2-u.^2)
s = sprintf( Constants: \n )
disp(s)
for p = 1:uppercuts
s = sprintf( u( d d) = 0.10f ,L-1,p,u(p))
disp(s)
s = sprintf( w( d d) = 0.10f\n ,L-1,p,w(p))
disp(s)
Platform: |
Size: 1024 |
Author: manish |
Hits:
Description: 遗传算法的电机优化程序,个人专门编写的,对于初学者来说,可以借鉴-function youhua1()
遗传算法
n-- 种群规模
ger-- 迭代次数
pc--- 交叉概率
pm-- 变异概率
v-- 初始种群(规模为n)
f-- 目标函数值
fit-- 适应度向量
vx-- 最优适应度值向量
vmfit-- 平均适应度值向量
clear all
close all
clc 清屏
tic 计时器开始计时
n=20 ger=100 pc=0.9 pm=0.1 初始化参数
生成初始种群
v=init_population(n,44) 得到初始种群,22串长,生成20*22的0-1矩阵
[N,L]=size(v) 得到初始规模行,列
disp(sprintf( Number of generations: d ,ger))
disp(sprintf( Population size: d ,N))
disp(sprintf( Crossover probability: .3f ,pc))
disp(sprintf( Mutation probability: .3f ,pm)) sprintf可以控制输出格式
待优化问题
Platform: |
Size: 2048 |
Author: jie |
Hits:
Description:
a wrong watermark (it should not be revealed)
[z,Sz] = wm_detection(corrupted_image,randn(size(x)),L,alfa)
results: the corruped image is the watermarked image?
disp( Test results: )
if z >= Sz
disp( Watermarked image )
else-
a wrong watermark (it should not be revealed)
[z,Sz] = wm_detection(corrupted_image,randn(size(x)),L,alfa)
results: the corruped image is the watermarked image?
disp( Test results: )
if z >= Sz
disp( Watermarked image )
else
Platform: |
Size: 82944 |
Author: hoba |
Hits: