feat(comm): archive
This commit is contained in:
parent
79a25b1acb
commit
7e9fd20025
4 changed files with 23 additions and 0 deletions
10
DIPCV/lab2/lab2_9.m
Normal file
10
DIPCV/lab2/lab2_9.m
Normal file
|
@ -0,0 +1,10 @@
|
|||
close all
|
||||
clear
|
||||
clc
|
||||
disp('====E4_5_2.m====');
|
||||
I=imread('tire.tif');
|
||||
J=histeq(I);
|
||||
subplot(2,2,1),imshow(I),ylabel('原图像');
|
||||
subplot(2,2,2),imhist(I);
|
||||
subplot(2,2,3),imshow(J),ylabel('直方图均衡图像');
|
||||
subplot(2,2,4),imhist(J);
|
Binary file not shown.
BIN
Matlab/comm/lab8_0.slx
Normal file
BIN
Matlab/comm/lab8_0.slx
Normal file
Binary file not shown.
13
Matlab/comm/lab8_1.m
Normal file
13
Matlab/comm/lab8_1.m
Normal file
|
@ -0,0 +1,13 @@
|
|||
clc
|
||||
clear
|
||||
close all
|
||||
SNR1=linspace(0.001,5,30);
|
||||
for i=1:length(SNR1)
|
||||
fprintf("round %d is runing...\n",i);
|
||||
SNR=10*log10(SNR1(i));
|
||||
sim('lab8_0.slx');
|
||||
Ps(i)=E(1);
|
||||
end
|
||||
Ps1=1/2*exp(-SNR1);
|
||||
plot(SNR1,Ps,'-o',SNR1,Ps1,'-*');
|
||||
grid on
|
Reference in a new issue