나는 5 MHz의 주파수로 마이크로 초 단위로 감소해야하는 기하 급수적 인 정현파 함수를 가지고 있습니다.마이크로 초 시간 벡터로 matlab 간단한 플로팅
function[t,x]=microsec(a, p, d, f)
% microsec plots an oscillatory transient voltage disturbance
% f = 5 MHz;
% a is the magnitude of oscillatory disturbance component
% p is the starting time of osillatory disturbance component in normal
% voltage
% d is the decay factor of oscillatory component
f = 5000000;
a = 1.0;
p = 0.03;
d = 55e4;
t=0:0.1e-6:0.1;
ff=50; %frequency of normal voltage
x=sin(2*pi*ff*t)+ a*(u(t-p).*(exp(-d.*(t-p)))).*sin(2*pi*f*(t));
%exponentially decaying sinusoidal...
%...transient element added to normal voltage
plot(t,x)
function y=u(t)
% unit step function needed to decide the starting time of disturbance
y=t>=0;
end
end
내가이 출력 예상 :
:을하지만 결과 플롯은 내가 원하는 것이 아니다, 그것은 교란의 시작 시간까지 비어 있습니다
감쇠비 또는 진동수를 증가 시키더라도 결과가 향상되지 않습니다.
누군가가 말했습니다. 오버 샘플링 때문입니다. 그러나, 나는에 도움을받을하지 않았다 마이크로는 0.03 초에서 시작하여 50Hz의
- 그리고 방해 자체는 지속 시간이 단지 마이크로 초입니다.
1) F = 5MHz를, A = 1; kV 값을 사용하지 않는 이유는 단위 크기 당 %입니다. – Chowhan
f = 5000000; p = 0.03; % 총 시간은 0.1 초이며 외란은 0.03 초에서 시작됩니다. d = 55e4 % 진동 방해가 마이크로 초 단위로 감소합니다. – Chowhan
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTAETSHEuv51Ci5OvCtAt4b9PSK1Q1STz0CbH49BJCE0anD6okB – Chowhan