A handheld terminal includes an electrocardiographic-signal dividing module that divides a biosignal into waveforms of a fixed interval, an R-R interval calculating module that calculates a plurality of R-R intervals indicative of an interval between adjacent R-waves and calculates an average value of the calculated R-R intervals for each of the waveforms of the fixed interval divided, and a candidate-waveform selecting module that selects a plurality of waveforms of a fixed interval corresponding to average values indicating near a maximum value of frequency of average values using the average value of the R-R intervals calculated for each of the waveforms of the fixed interval calculated, and thus highly accurate representative waveform data can be generated.