Learn R Programming

oreo (version 1.0)

plotFft: Fourier Harmonic Magnitudes plot

Description

create Fourier Harmonic Magnitudes plot

create Fourier Harmonic Magnitudes plot

Usage

plotFft(ft_amp, fft_resp, spp_params, ...)

plotFft(ft_amp, fft_resp, spp_params, ...)

Arguments

ft_amp

from the output matrix from fft analysis or numerical differentiation analysis

fft_resp

from the output matrix from fft analysis or numerical differentiation analysis

spp_params

input parameters used for the fft analysis or numerical differentiation analysis

...

parameters of plot()

Value

No return value

No return value

Examples

Run this code
# NOT RUN {
 data(mydata)
df <- rpp_read2(mydata , selected=c(2, 3, 4, 0, 0, 1, 0, 0))
time_wave <- df$raw_time
resp_wave <- data.frame(df$strain,df$strain_rate,df$stress) 
out <- rpp_fft(time_wave,resp_wave,L=1024,omega=3.16 , M=15,p=1)
ft_amp= out$ft_out$ft_amp
fft_resp= out$ft_out$fft_resp
spp_params= out$spp_params
plotFft(ft_amp,fft_resp,spp_params)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab