peaks detection

5 ビュー (過去 30 日間)
Flavia
Flavia 2011 年 8 月 23 日
回答済み: Sushranth 2021 年 6 月 21 日
hi, i need to get the peaks and time from my signal. I have no idea how can i do this. Can someone hlep me? thaks, Flavia
hi,
i need to get the peaks and time from my signal. I have no idea how can i do this. Can someone help me?
thaks,
Flavia
i=sqrt(-1);
f=0.1; %Hz
fs=1000;% Sampling in Hz
ta=1/fs;
t=0:ta:100;
T=10;
U=100*sqrt(2)*sin(2*pi*f*t); %V
c=1e-6; %F
C=-2*pi*f*c*i;
R=15e6*(1+exp(-(t/T+log(5/3))))-14e6; %Ohm
Y=(1./R)+C;
Z=1./Y;
I=c*(gradient(U)/ta)+(U./R);
plot(t,I/2e-7,'r');

回答 (1 件)

Sushranth
Sushranth 2021 年 6 月 21 日
You can use the findpeaks function. Check the below link for it's documentation.

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by