PeakCalc | R Documentation |
From sampling data of wave, peak values are calculated and are returned as vector object. By investing three consequtive sampling data, if the increasing direction is changed the peak value is calculated from these three values.
PeakCalc(Wave)
Wave |
vector of wave sampling data |
Shinsuke Sakai
wave<-c(5e-3,3.2e-2,3.8e-2,-3.3e-2,-1.9e-2,-1e-2,1e-3,-8e-3,-2e-2,1e-2,-1e-3,4e-3,1.1e-2,-1e-3,-7e-3,-2e-3) PeakCalc(Wave=wave) #Expected results [1] 0.044858766 -0.037777941 0.001025000 -0.020964286 0.011100610 -0.001281250 [7] 0.011164474 -0.007011364
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.