-
For2008a
ACOUNT: 用于A 方向灯的时间显示,8 位,可驱动两个数码管;
BCOUNT: 用于B 方向灯的时间显示,8 位,可驱动两个数码管。*/
module traffic(CLK,EN,LAMPA,LAMPB,ACOUNT,BCOUNT)
output[7:0] ACOUNT,BCOUNT
(reg[7:0] numa,numb
reg tempa,tempb
reg[2:0] counta,countb
reg[7:0] ared,ayellow,agreen,aleft,bred,byellow,bgreen,bleft
reg[3:0] LAMPA,LAMPB
always @(EN)
if(!EN)
)
- 2010-06-23 14:39:58下载
- 积分:1
-
chazhiyunihe
matlab经典算法的程序之插值与拟合,多项式的插值与拟合等程序(classical algorithm matlab interpolation and fitting procedures, such as polynomial interpolation and fitting procedures)
- 2011-07-09 11:21:28下载
- 积分:1
-
client
Maplestory Client version 140+
- 2014-12-03 05:45:47下载
- 积分:1
-
SimDataAnalysis
输出仿真结果的频谱图、相图、时间历程和庞加莱截面(The frequency spectrum of the output of the simulation results, the phase diagram, time course, and Poincare)
- 2021-03-07 18:39:29下载
- 积分:1
-
4-chapter
信号稀疏度检测的matlab仿真程序。该方法能够检测出宽带信号的稀疏度,保证Compressive Sensing在宽带频谱检测中的准确运用。(Signal sparsity detection matlab simulation program. The method can detect the wideband signal sparsity ensure Compressive Sensing wideband spectrum sensing in the exact use.)
- 2013-11-10 17:11:41下载
- 积分:1
-
matlabtuxiangfenge
图像分割,包括阈值分割Otsu法,边缘检测包括Roberts算子,Canny算子等,边界跟踪包括Bwtraceboundary函数调用来对图像进行分割等(Image segmentation, including threshold segmentation method of Otsu edge detection, including Roberts operator, Canny operator, edge tracking includes Bwtraceboundary function calls to the segmentation of the image)
- 2020-10-29 16:49:57下载
- 积分:1
-
cic_pipelined
matlab实现CIC滤波器,包括积分滤波器和梳状滤波器(Matlab implementation of the CIC filter, including integral filter and comb filter)
- 2015-10-08 21:07:16下载
- 积分:1
-
FBG4
可以正确仿真出FBG布拉格光纤光栅的反射光谱(The reflection spectra of FBG Bragg gratings can be simulated correctly)
- 2018-02-05 16:46:50下载
- 积分:1
-
dct
M=512 原图像长度
N=64
K=8
I=zeros(M,M)
J=zeros(N,N)
BLOCK=zeros(K,K)
显示原图像
I=imread( f:ceshiyuanshitu.bmp )
figure
imshow(I)
xlabel( 原始图像 )
显示水印图像
J=imread( f:ceshilogistic_nuaa64.bmp )
figure
imshow(J)
xlabel( 水印图像 )
嵌入水印
tem=1
for p=1:N
for q=1:N
x=(p-1)*K+1
y=(q-1)*K+1
BLOCK=I(x:x+K-1,y:y+K-1)
BLOCK=dct2(BLOCK)
if J(p,q)==0
a=-1
else
a=1
end
BLOCK(2,1)=BLOCK(2,1)*(1+a*0.01)
BLOCK=idct2(BLOCK)
I(x:x+K-1,y:y+K-1)=BLOCK
end
end
显示嵌入水印后的图像
figure
imshow(I)
xlabel( 嵌入水印后的图像 )
imwrite(I, f:ceshiembedded.bmp )
- 2010-06-13 18:43:39下载
- 积分:1
-
卫星轨道模拟的Matlab源代码
这个是卫星轨道模拟的Matlab源代码,利用卫星轨道根数参量,通过求解开普勒方程求解卫星轨道模型。
- 2022-01-22 00:23:28下载
- 积分:1