Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
14 lines (12 loc) · 321 Bytes

File metadata and controls

14 lines (12 loc) · 321 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function [ xc ] = env_uniform(variance, shape, power_db, show_out)
%UNIFORM_EN 此处显示有关此函数的摘要
% 此处显示详细说明
if (nargin==3)
show_out=0;
end
c=10^(power_db/10); % 这里是幅度——功率
xc=c + random('Normal',0,variance,1,shape);
if show_out==1
plot(10.*log(abs(xc))./log(10));
end
end
Morty Proxy This is a proxified and sanitized view of the page, visit original site.