ãã¼ãªã¨å¤æã¨ã¯ï¼ä¿¡å·å¦çã«ããã¦åºãç¨ããããææ³ã®ä¸ã¤ã§ãã ããã§ã¯ãRè¨èªã§ã®ãã¼ãªã¨å¤æã説æãã¾ãã â»ãã¼ãªã¨ã«é¢ããåºç¤ç¥èã¯çç¥ãã¾ãã ãã¼ãªã¨ãè¡ãªãä¿¡å·ãä½ãã ã¾ãã¯ãã¼ãªã¨ãè¡ãªãä¿¡å·ãä½ãå¿ è¦ãããã¾ãã ããã§ã¯ãç°¡åãªæ£å¼¦æ³¢ã¨ãããã®åææ³¢ãä½ããã¨æãã¾ãã ã½ã¼ã¹ã³ã¼ãã¯ä»¥ä¸ã®éãã SAMPLING_FREQ = 128; #ãµã³ããªã³ã°å¨æ³¢æ° nn = 1:SAMPLING_FREQ; #ãã¼ã¿æ° tt = nn / SAMPLING_FREQ; #æé ff = nn * (length(tt) / SAMPLING_FREQ) #å¨æ³¢æ° #ä¿¡å·ã®å¨æ³¢æ° f1 = 4; f2 = 8; f3 = 12; signalA <- sin(2 * pi* tt * f1); #4Hzã®æ£å¼¦æ³¢ signalB <- sin(2 * pi* tt * f2
{{#tags}}- {{label}}
{{/tags}}