{"id":2163,"date":"2020-10-14T15:02:50","date_gmt":"2020-10-14T06:02:50","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=2163"},"modified":"2022-01-07T12:02:08","modified_gmt":"2022-01-07T03:02:08","slug":"mystery-of-accelerometers","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2020\/10\/14\/mystery-of-accelerometers\/","title":{"rendered":"\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306e\u8b0e\u3000\u52a0\u901f\u5ea6\uff1f\u3061\u304b\u3089\uff1f\u91cd\u529b\uff1f"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u4eca\u56de\u306f\u3001\u4ee5\u524d<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/04\/16\/simulink-desktop-real-time\/\" rel=\"noopener\" target=\"_blank\">\u300cSimulink Desktop-Real-Time\u306e\u5b9f\u529b\u300d<\/a>\u3068\u3044\u3046\u30bf\u30a4\u30c8\u30eb\u3067\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u305f\u3060\u3044\u305f &#8220;<a href=\"https:\/\/twitter.com\/toshi34780378\" rel=\"noopener nofollow\" target=\"_blank\" class=\"external\">toshi | Simulink \u306e\u4e2d\u306e\u4eba<\/a>&#8221; \u3055\u3093\u306b\u518d\u3073\u30b2\u30b9\u30c8\u6295\u7a3f\u3092\u3057\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u524d\u56de\u306f\u6280\u8853\u7684\u306b\u3068\u3066\u3082\u6df1\u3044\u8a71\u3067\u8aad\u8005\u3092\u9b45\u4e86\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u3082\u306a\u3093\u3068\u3082\u8b0e\u3081\u3044\u305f\u30bf\u30a4\u30c8\u30eb\u3067\u697d\u3057\u307f\u3067\u3059\u3002<\/p>\n<p>===============<\/p>\n<p>\u304a\u4e45\u3057\u3076\u308a\u3067\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u90e8\u306e <a href=\"https:\/\/twitter.com\/toshi34780378\" rel=\"noopener nofollow\" target=\"_blank\" class=\"external\">toshi | Simulink \u306e\u4e2d\u306e\u4eba<\/a>\u3067\u3059\u3002\u4eca\u56de\u3082\u5358\u767a\u30b2\u30b9\u30c8\u30d6\u30ed\u30ac\u30fc\u3068\u3057\u3066\u3001\u8a18\u4e8b\u3092\u66f8\u304b\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u3069\u3046\u305e\u5b9c\u3057\u304f\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002<\/p>\n<h1>\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc<\/h1>\n<p>\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3068\u306f\u3001\u305d\u306e\u540d\u306e\u901a\u308a\u3001\u52a0\u901f\u5ea6\u3092\u6e2c\u308b\u30bb\u30f3\u30b5\u30fc\u3067\u3059\u3002\u6628\u4eca\u6d41\u884c\u308a\u306e\u81ea\u5f8b\u30ed\u30dc\u30c3\u30c8\u3084\u81ea\u52d5\u904b\u8ee2\u8eca\u3001UAV\u306a\u3069\u306b\u3082\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u7528\u9014\u3068\u3057\u3066\u306f\u3001\u529b\u5b66\u7684\u306a\u904b\u52d5\u3092\u8a08\u6e2c\u3059\u308b\u3001\u91cd\u529b\u306e\u65b9\u5411\u3092\u8abf\u3079\u308b\u3001\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u521d\u5fc3\u8005\u306e\u65b9\u306f\u300c\u91cd\u529b\uff1f\u300d\u3068\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5b9f\u306f\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u3001\u52a0\u901f\u5ea6\u3068\u540c\u6642\u306b\u91cd\u529b\u3082\u6e2c\u3063\u3066\u3044\u307e\u3059\u3002\u6700\u521d\u306b\u3001\u7c21\u5358\u306b\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306e\u539f\u7406\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306b\u306f\u3044\u308d\u3044\u308d\u306a\u65b9\u5f0f\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u3001\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308bMEMS\u306e\u9759\u96fb\u5bb9\u91cf\u691c\u51fa\u65b9\u5f0f\u306e\u7d39\u4ecb\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u53e4\u5178\u529b\u5b66\u306e\u30cb\u30e5\u30fc\u30c8\u30f3\u306e\u6cd5\u5247\u304b\u3089\u3001\u3070\u306d\u306b\u529b\u304c\u52a0\u308f\u308b\u3068\u3001\u305d\u306e\u529b\u306b\u6bd4\u4f8b\u3057\u305f\u5909\u4f4d\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u305d\u306e\u5909\u4f4d\u3092\u6e2c\u308c\u3070\u304b\u304b\u3063\u305f\u529b\u304c\u5206\u304b\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u305d\u3057\u3066\u3001\u305d\u306e\u5909\u4f4d\u3092\u6e2c\u5b9a\u3059\u308b\u305f\u3081\u306b\u9759\u96fb\u5bb9\u91cf\u306e\u6e2c\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u96fb\u6975\u9593\u8ddd\u96e2\u304c\u5909\u5316\u3059\u308b\u3068\u3001\u9759\u96fb\u5bb9\u91cf\u304c\u5909\u5316\u3057\u307e\u3059\u3002\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u53ef\u52d5\u3059\u308b\u96fb\u6975\u306b\u3070\u306d\u3092\u53d6\u308a\u4ed8\u3051\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u69cb\u6210\u3059\u308c\u3070\u5b8c\u6210\u3057\u307e\u3059\u3002\u7d50\u69cb\u7c21\u5358\u3067\u3059\u306d\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"646\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/MEMS\u9759\u96fb\u5bb9\u91cf\u65b9\u5f0f-1024x646.png\" alt=\"\" class=\"alignleft size-large wp-image-2169\" \/><\/p>\n<p>\u9759\u96fb\u5bb9\u91cf\u304b\u3089\u529b\u306b\u63db\u7b97\u3057\u3001\u529b\u304b\u3089\u52a0\u901f\u5ea6\u306b\u63db\u7b97\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u5206\u304b\u308b\u3088\u3046\u306b\u3001<strong>\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u3001\u7d50\u5c40\u300c\u529b\u300d\u3092\u6e2c\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/strong>\u306a\u306e\u3067\u3001\u52a0\u901f\u5ea6\u3082\u91cd\u529b\u3082\u540c\u6642\u306b\u6e2c\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3053\u3053\u3067\u3001\u5b9f\u969b\u306e\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306e\u6319\u52d5\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4eca\u56de\u306f\u3001\u6559\u80b2\u5411\u3051\u306e\u4fbf\u5229\u306a\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u300cmicro:bit\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002micro:bit\u306b\u306f3\u8ef8\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u304c\u3001\u305d\u308c\u305e\u308cx, y, z\u8ef8\u65b9\u5411\u306b\u3064\u3044\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u8ef8\u304c\u30de\u30a4\u30b3\u30f3\u30dc\u30fc\u30c9\u306e\u3069\u3063\u3061\u65b9\u5411\u306a\u306e\u304b\u3001\u306b\u3064\u3044\u3066\u306f\u3001\u753b\u50cf\u3088\u308a\u3082\u52d5\u753b\u3067\u898b\u305f\u65b9\u304c\u65e9\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u52d5\u753b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><div style=\"width: 1280px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-2163-1\" width=\"1280\" height=\"720\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/microbit_video_1.mp4?_=1\" \/><a href=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/microbit_video_1.mp4\">https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/microbit_video_1.mp4<\/a><\/video><\/div><\/p>\n<p>micro:bit\u3092PC\u306b\u63a5\u7d9a\u3057\u3001Simulink\u306b\u4fe1\u53f7\u3092\u6e21\u3057\u3066\u3044\u307e\u3059\u3002acc_x,\u00a0acc_y,\u00a0acc_z\u306f\u305d\u308c\u305e\u308c\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306ex, y, z\u8ef8\u306e\u5024\u3067\u3001\u5358\u4f4d\u306f[m\/s^2]\u3067\u3059\u3002\u52d5\u753b\u306e\u65b9\u306e\u89e3\u50cf\u5ea6\u3084\u30d5\u30ec\u30fc\u30e0\u30ec\u30fc\u30c8\u304c\u60aa\u304f\u3001\u52d5\u304b\u3057\u3066\u3044\u308b\u6642\u306e\u69d8\u5b50\u304c\u898b\u3065\u3089\u3044\u3067\u3059\u304c\u3001\uff08\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u5b89\u7269Web\u30ab\u30e1\u30e9\u3067\u3057\u3066\uff09\u305d\u308c\u3067\u3082\u3001\u4f55\u3092\u3057\u3066\u3044\u308b\u304b\u306f\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e\u9759\u6b62\u3057\u3066\u3044\u308b\u6642\u306f\u3001z\u8ef8\u304c\u4e0a\u3092\u5411\u3044\u3066\u304a\u308a\u3001\u5e73\u5747\u7684\u306b\u306f (x, y, z) = (0, 0, 9.8) \u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u6b21\u306bx\u8ef8\u3092\u4e0b\u306b\u5411\u3051\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u3001(x, y, z) = (-9.8, 0, 0) \u3068\u306a\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u91cd\u529b\u306f\u925b\u76f4\u4e0b\u5411\u304d\u306b1G\u306b\u76f8\u5f53\u3059\u308b\u5927\u304d\u3055\u306e\u30d9\u30af\u30c8\u30eb\u3068\u3057\u3066\u8a08\u6e2c\u3055\u308c\u3066\u304a\u308a\u3001\u30bb\u30f3\u30b5\u30fc\u306e\u59ff\u52e2\u306b\u3088\u3063\u3066\u30013\u8ef8\u305d\u308c\u305e\u308c\u306b\u305d\u306e\u91cd\u529b\u30d9\u30af\u30c8\u30eb\u306e\u6210\u5206\u304c\u73fe\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u52d5\u304b\u3057\u3066\u3044\u308b\u6240\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u91cd\u529b\u6210\u5206\u306f\u305d\u306e\u307e\u307e\u5b58\u5728\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u306b\u52a0\u3048\u3066\u52d5\u304b\u3057\u305f\u3053\u3068\u306b\u3088\u308b\u52a0\u901f\u5ea6\u3082\u73fe\u308c\u307e\u3059\u3002\u3053\u306e\u5b9f\u969b\u306e\u52d5\u304d\u306b\u5bfe\u3059\u308b\u52a0\u901f\u5ea6\u306e\u767a\u751f\u306e\u4ed5\u65b9\u306f\u3001\u30a4\u30e1\u30fc\u30b8\u901a\u308a\u306e\u6ce2\u5f62\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>\u30bb\u30f3\u30b5\u30fc\u306e\u30e2\u30c7\u30eb\u5316<\/h1>\n<p>MATLAB\u3068Simulink\u306f\u77e5\u3063\u3066\u306e\u901a\u308a\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u3067\u3059\u3002\u6700\u8fd1\u306f\u81ea\u52d5\u904b\u8ee2\u306a\u3069\u3001\u8907\u96d1\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u3082\u4e38\u3054\u3068\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30e2\u30c7\u30eb\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u69d8\u3005\u306a\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3082\u3001\u5b9f\u306f\u3059\u3067\u306b\u30e2\u30c7\u30eb\u5316\u3055\u308c\u3066\u304a\u308a\u3001Aerospace Blockset\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3053\u3053\u3067\u306f\u3001\u5358\u306b\u305d\u308c\u3092\u4f7f\u3046\u306e\u3067\u306f\u306a\u304f\u3001\u7686\u3055\u3093\u306e\u7406\u89e3\u3092\u6df1\u3081\u308b\u305f\u3081\u3001\u6562\u3048\u3066\u81ea\u4f5c\u3059\u308b\u3053\u3068\u3092\u691c\u8a0e\u3057\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306e\u7406\u89e3\u306f\u3001\u4f8b\u3048\u3070\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3092\u4f7f\u3063\u305f\u72b6\u614b\u63a8\u5b9a\u306a\u3069\u3001\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u5834\u5408\u306b\u3068\u3066\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30c7\u30eb\u3068\u306f\u3001\u3059\u306a\u308f\u3061\u8a08\u7b97\u5f0f\u3067\u3059\u3002\u7d50\u8ad6\u304b\u3089\u8a00\u3044\u307e\u3059\u304c\u3001\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306e\u8a08\u6e2c\u5024(acc_x, acc_y, acc_z)\u306f\u3001\u4ee5\u4e0b\u306e\u5f0f\u3067\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"163\" height=\"78\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/\u30bb\u30f3\u30b5\u30fc\u306e\u5f0f1.png\" alt=\"\" class=\"alignleft size-full wp-image-2175\" \/><\/p>\n<p>f\u306f<strong>\u91cd\u529b\u4ee5\u5916\u306e<\/strong>\u30bb\u30f3\u30b5\u30fc\u306b\u304b\u304b\u3063\u3066\u3044\u308b\u529b\u306e\u5408\u6210\u30d9\u30af\u30c8\u30eb\u3001m\u306f\u8cea\u91cf\uff08\u30b9\u30ab\u30e9\u30fc\uff09\u3067\u3059\u3002f\u306e\u4e2d\u306b\u306f\u3001\u56de\u8ee2\u904b\u52d5\u306b\u3088\u3063\u3066\u751f\u3058\u308b\u9060\u5fc3\u529b\u306a\u3069\u3082\u542b\u307e\u308c\u307e\u3059\u3002R\u306f\u30bb\u30f3\u30b5\u30fc\u306e3\u6b21\u5143\u306e\u59ff\u52e2\u3092\u8868\u30593&#215;3\u56de\u8ee2\u884c\u5217\u3067\u3059\u3002\u56de\u8ee2\u884c\u5217\u306f\u3001\u30d9\u30af\u30c8\u30eb\u306b\u304b\u3051\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u30d9\u30af\u30c8\u30eb\u30923\u6b21\u5143\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5730\u4e0a\u306b\u56fa\u5b9a\u3055\u308c\u305f\u5ea7\u6a19\u7cfb\u306e\u30d9\u30af\u30c8\u30eb\u3067\u3042\u308bf\/m\u3092\u3001\u30bb\u30f3\u30b5\u30fc\u306e\u5ea7\u6a19\u7cfb\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306e\u8a71\u3067\u3001\u7686\u3055\u3093\u304c\u6c17\u306b\u306a\u3063\u3066\u3044\u308b\u6240\u306f\u5206\u304b\u308a\u307e\u3059\u3002\u4e0a\u8a18\u306e\u300c\u91cd\u529b\u4ee5\u5916\u300d\u3068\u306f\u4e00\u4f53\u3069\u3046\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u3002\u6700\u521d\u306b\u300c\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u91cd\u529b\u30d9\u30af\u30c8\u30eb\u3092\u6e2c\u308b\u300d\u3068\u8a00\u3063\u3066\u304a\u304d\u306a\u304c\u3089\u3001\u91cd\u529b\u3092\u7121\u8996\u3059\u308b\u3068\u306f\u3069\u3046\u3044\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u304b\u3002\u7406\u89e3\u306e\u4fc3\u9032\u306e\u305f\u3081\u306b\u3001\u6b21\u306f\u6570\u5f0f\u3067\u306f\u306a\u304f\u3001\u56f3\u3067\u8aac\u660e\u3057\u3066\u307f\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u56f3\u306f\u3001\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u30e2\u30c7\u30eb\u306e\u4e00\u4f8b\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"779\" height=\"445\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u30e2\u30c7\u30eb\u306e\u56f31.png\" alt=\"\" class=\"alignleft size-full wp-image-2165\" \/><\/p>\n<p>\u30bb\u30f3\u30b5\u30fc\u306e\u5ea7\u6a19\u7cfb\u306f\u5730\u4e0a\u306e\u5ea7\u6a19\u7cfb\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002\u3088\u3063\u3066R\u306f\u5358\u4f4d\u884c\u5217\u3068\u306a\u308a\u307e\u3059\u3002\u6b21\u306b\u3001\u673a\u304b\u3089\u306e\u6297\u529b\u3068\u6307\u304b\u3089\u52a0\u308f\u308b\u529b\u3092\u52a0\u7b97\u3057\u3001\u8cea\u91cfm\u3067\u5272\u308a\u307e\u3059\u3002\u7d50\u679c\u3001\u56f3\u306e\u3088\u3046\u306b(acc_x, acc_y, acc_z) = (1, 0, 9.8)\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u5206\u304b\u308a\u307e\u3057\u305f\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u5206\u304b\u3063\u305f\u4eba\u306f\u3082\u3046\u3053\u306e\u30da\u30fc\u30b8\u3092\u9589\u3058\u3066\u69cb\u3044\u307e\u305b\u3093\u3002\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u4eba\u306f\u3001\u4ee5\u4e0b\u3092\u7d9a\u3051\u3066\u8aad\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h1>\u91cd\u529b\u3068\u306f<\/h1>\n<p>\u9055\u548c\u611f\u306e\u6b63\u4f53\u306f\u300c\u304b\u304b\u3063\u3066\u3044\u308b\u529b\u306e\u4e2d\u3067\u3001\u306a\u305c\u91cd\u529b\u3060\u3051\u3092\u7701\u304f\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\u300d\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u305d\u306e\u9055\u548c\u611f\u3068\u306f\u88cf\u8179\u306b\u3001\u4e0a\u8a18\u306e\u52d5\u753b\u3092\u898b\u308b\u3068\u3001\u5b9f\u969b\u305d\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3092\u8003\u3048\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u9053\u3092\u6b69\u3044\u3066\u3044\u305f\u3042\u306a\u305f\u306f\u3001\u7a81\u7136\u9ebb\u9154\u85ac\u3092\u6253\u305f\u308c\u3066\u660f\u5012\u3057\u3001\u62c9\u81f4\u3055\u308c\u307e\u3059\u3002\u76ee\u3092\u899a\u307e\u3059\u3068\u3001\u4eca\u307e\u3067\u8a2a\u308c\u305f\u3053\u3068\u306e\u306a\u3044\u90e8\u5c4b\u306b\u76e3\u7981\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u90e8\u5c4b\u306b\u306f\u5916\u306e\u69d8\u5b50\u3092\u78ba\u8a8d\u3067\u304d\u308b\u7a93\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u72b6\u6cc1\u3067\u3042\u306a\u305f\u306f\u3001\u4ee5\u4e0b\u306e\u56f3\u306eA, B \u3069\u3061\u3089\u306e\u72b6\u6cc1\u306b\u7f6e\u304b\u308c\u3066\u3044\u308b\u304b\u3001\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"623\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/\u8a2a\u308c\u305f\u3053\u3068\u306e\u306a\u3044\u90e8\u5c4b-1024x623.png\" alt=\"\" class=\"alignleft size-large wp-image-2167\" \/><\/p>\n<p>\u7b54\u3048\u306f\u300c\u3067\u304d\u306a\u3044\u300d\u3067\u3059\u3002\u3057\u304b\u3082\u3001<strong>\u4eee\u306b\u3042\u306a\u305f\u304c\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3092\u6301\u3063\u3066\u3044\u305f\u3068\u3057\u3066\u3082\u3001A, B\u3069\u3061\u3089\u3067\u3042\u308b\u304b\u3092\u77e5\u308b\u8853\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u306a\u305c\u306a\u3089\u3001\u305d\u3082\u305d\u3082\u91cd\u529b\u3068\u3044\u3046\u306e\u306f\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/strong>\u3057\u305f\u304c\u3063\u3066\u3001A, B\u306f\u4e21\u65b9\u3068\u3082\u7269\u7406\u7684\u306b\u306f\u540c\u4e00\u306e\u4e8b\u8c61\u3067\u3059\u3002\uff08\u53b3\u5bc6\u306b\u306f\u3001\u78c1\u6c17\u3084\u653e\u5c04\u7dda\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u5730\u7403\u4e0a\u3068\u5b87\u5b99\u7a7a\u9593\u3067\u306f\u7570\u306a\u308b\u306e\u3067\u3001\u305d\u308c\u3089\u3092\u6e2c\u5b9a\u3059\u308c\u3070\u5206\u304b\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u8003\u616e\u3057\u307e\u305b\u3093\u3002\uff09<\/p>\n<p>A\u306b\u306f\u91cd\u529b\u304c\u5b58\u5728\u3057\u3066\u3044\u3066\u3001B\u306b\u306f\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u3002\u305d\u3046\u611f\u3058\u3066\u3057\u307e\u3046\u306e\u304c\u4e00\u822c\u7684\u306a\u611f\u899a\u3067\u3059\u304c\u3001\u30de\u30af\u30ed\u306a\u7269\u7406\u73fe\u8c61\u3092\u3088\u308a\u6b63\u78ba\u306b\u5206\u6790\u3059\u308b\u3068\u3001\u5b9f\u306f\u9593\u9055\u3044\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u91cd\u529b\u3068\u3044\u3046\u306e\u306f\u3001\u6b63\u3057\u304f\u306f\u300c\u91cd\u529b\u5834\u306b\u3088\u3063\u3066\u7269\u4f53\u304c\u52d5\u304f\u969b\u306b\u898b\u3048\u308b\u3001\u898b\u304b\u3051\u306e\u529b\u300d\u306e\u3053\u3068\u8a00\u3044\u307e\u3059\u3002\u5730\u7403\u306e\u8fd1\u508d\u306e\u7269\u4f53\u306f\u3001\u91cd\u529b\u3092\u53d7\u3051\u30661G\u306e\u52a0\u901f\u5ea6\u3067\u5730\u7403\u306e\u4e2d\u5fc3\u306b\u843d\u4e0b\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u5b9f\u306f\u305d\u3046\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5730\u7403\u8fd1\u508d\u306e\u91cd\u529b\u5834\u306e\u4e2d\u3067\u9759\u6b62\u3057\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u306e\u304c\u6b63\u3057\u3044\u306e\u3067\u3059\u3002\u4e00\u65b9\u3001\u5730\u8868\u306b\u7acb\u3063\u3066\u3044\u308b\u4eba\u3001\u307e\u305f\u306f\u673a\u306e\u4e0a\u306e\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u3001\u5730\u9762\u304b\u3089\u529b\u3092\u53d7\u3051\u3066\u30011G\u306e\u52a0\u901f\u5ea6\u3067\u5e38\u306b\u52a0\u901f\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u8a3c\u62e0\u306b\u3001\u81ea\u7531\u843d\u4e0b\u3057\u3066\u3044\u308b\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u3001(acc_x, acc_y, acc_z) = (0, 0, 0) \u3092\u8a08\u6e2c\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u52d5\u753b\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2163-2\" width=\"1280\" height=\"720\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/microbit_video_2.mp4?_=2\" \/><a href=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/microbit_video_2.mp4\">https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/microbit_video_2.mp4<\/a><\/video><\/div><\/p>\n<p>\u30ab\u30e1\u30e9\u306e\u753b\u89d2\u304c\u72ed\u304f\u3001\u843d\u4e0b\u306f\u4e00\u77ac\u3057\u304b\u6349\u3048\u3089\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u78ba\u304b\u306b0\u306b\u8fd1\u304f\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0d\u601d\u8b70\u306a\u8a71\u3067\u4e2d\u3005\u53d7\u3051\u5165\u308c\u3089\u308c\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3053\u308c\u306f\u308c\u3063\u304d\u3068\u3057\u305f\u7269\u7406\u306e\u7406\u8ad6\u3067\u3059\u3002\u305d\u3046\u3001<strong>\u30a2\u30a4\u30f3\u30b7\u30e5\u30bf\u30a4\u30f3\u306e\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6<\/strong>\u305d\u306e\u3082\u306e\u3067\u3059\u306d\u3002\u30cb\u30e5\u30fc\u30c8\u30f3\u306e\u904b\u52d5\u65b9\u7a0b\u5f0f\u306f\u3001\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6\u306e\u6e2c\u5730\u7dda\u306e\u65b9\u7a0b\u5f0f\u306e\u8fd1\u4f3c\u3067\u3059\u3002\u3088\u308a\u6b63\u3057\u304f\u306f\u3001\u6e2c\u5730\u7dda\u306e\u65b9\u7a0b\u5f0f\u3068\u91cd\u529b\u5834\u306e\u65b9\u7a0b\u5f0f\u304b\u3089\u7269\u7406\u73fe\u8c61\u3092\u6349\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h1>\u7d50\u5c40\u3001\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u4f55\u3092\u6e2c\u3063\u3066\u3044\u308b\u306e\u304b<\/h1>\n<p>\u3082\u3061\u308d\u3093\u3001\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3092\u5de5\u5b66\u306e\u7528\u9014\u3067\u7528\u3044\u308b\u3053\u3068\u306b\u304a\u3044\u3066\u3001\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6\u3092\u6271\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u306a\u305c\u306a\u3089\u3001\u6211\u3005\u304c\u6d3b\u52d5\u3057\u3066\u3044\u308b\u7a7a\u9593\u306b\u304a\u3044\u3066\u306f\u3001\u30cb\u30e5\u30fc\u30c8\u30f3\u529b\u5b66\u306f\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6\u306e\u8fd1\u4f3c\u3068\u3057\u3066\u3001\u5341\u5206\u306b\u7cbe\u5ea6\u304c\u826f\u3044\u304b\u3089\u3067\u3059\u3002\uff08\u305d\u308c\u306b\u3001\u6e2c\u5730\u7dda\u30fb\u91cd\u529b\u5834\u306e\u65b9\u7a0b\u5f0f\u306e\u3088\u3046\u306a\u5927\u898f\u6a21\u306a\u8a08\u7b97\u306f\u3001\u3067\u304d\u308b\u9650\u308a\u907f\u3051\u305f\u3044\u3067\u3059\u3002\uff09\u305f\u3060\u3057\u3001\u91cd\u529b\u306e\u8a08\u6e2c\u306b\u95a2\u3059\u308b\u8b0e\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6\u306e\u6982\u5ff5\u3092\u7406\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u7d50\u5c40\u306e\u3068\u3053\u308d\u3001&#8221;\u30bb\u30f3\u30b5\u30fc\u306e\u30e2\u30c7\u30eb\u5316&#8221;\u306e\u7bc0\u3067\u8ff0\u3079\u305f\u5f0f\u3092\u7406\u89e3\u3057\u3066\u3044\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002\u8981\u70b9\u3092\u307e\u3068\u3081\u308b\u3068\u3001\u7d50\u5c40\u3053\u3046\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u300c\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u91cd\u529b\u3092\u6e2c\u308b\u300d\u3068\u3044\u3046\u306e\u306f\u9593\u9055\u3044\u3067\u3059\u3002\u305d\u3082\u305d\u3082\u91cd\u529b\u3068\u3044\u3046\u3082\u306e\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u306f\u529b\u3092\u6e2c\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u529b\u306f\u76f8\u5bfe\u8ad6\u7684\u306a\u529b\u3067\u3059\u3002\u3082\u3057\u3001\u30cb\u30e5\u30fc\u30c8\u30f3\u529b\u5b66\u306b\u8fd1\u4f3c\u3067\u304d\u308b\u7269\u7406\u9818\u57df\u304b\u3064\u5730\u7403\u8fd1\u508d\u3067\u306e\u8a08\u6e2c\u306b\u304a\u3044\u3066\u3001\u6211\u3005\u304c\u601d\u3063\u3066\u3044\u308b\u52a0\u901f\u5ea6\u3092\u77e5\u308a\u305f\u3044\u5834\u5408\u306f\u3001\u300c\u5730\u8868\u306b\u7559\u307e\u308b\u305f\u3081\u306b\u52a0\u3048\u3089\u308c\u3066\u3044\u308b\u529b\u300d\u3092\u300c\u304b\u304b\u3063\u3066\u3044\u308b\u5168\u3066\u306e\u529b\u300d\u304b\u3089\u5f15\u3044\u305f\u529b\u304b\u3089\u3001\u52a0\u901f\u5ea6\u306b\u63db\u7b97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3053\u3068\u3092\u7406\u89e3\u3057\u3066\u8cb0\u3048\u308c\u3070\u3001\u4eca\u65e5\u306e\u8a71\u306f\u7d42\u308f\u308a\u3067\u3059\u3002\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6\u306a\u3093\u3066\u3001\u96e3\u3057\u3059\u304e\u3066\u7406\u89e3\u3067\u304d\u306a\u3044\u3057\u3001\u4f55\u3088\u308a\u81ea\u5206\u3068\u7e01\u306a\u3093\u3066\u7121\u3044\u3068\u601d\u3063\u3066\u307e\u305b\u3093\u3067\u3057\u305f\uff1f\u3000\u5b9f\u306f\u7d50\u69cb\u8eab\u8fd1\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u3093\u3067\u3059\u3088\u3002\u91cf\u5b50\u529b\u5b66\u3082\u305d\u3046\u3067\u3059\u3002\u30d1\u30bd\u30b3\u30f3\u3084\u30b9\u30de\u30db\u304c\u8a08\u7b97\u3059\u308b\u305f\u3081\u306b\u4f7f\u3063\u3066\u3044\u308b\u300c\u534a\u5c0e\u4f53\u300d\u3068\u3044\u3046\u73fe\u8c61\u3082\u3001\u91cf\u5b50\u529b\u5b66\u306e\u7406\u8ad6\u304b\u3089\u8aac\u660e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u610f\u5916\u306a\u6240\u304b\u3089\u51fa\u3066\u304d\u305f\u4e00\u822c\u76f8\u5bfe\u6027\u7406\u8ad6\u3067\u3059\u304c\u3001\u3082\u3057\u8208\u5473\u3092\u6301\u3063\u305f\u65b9\u304c\u3044\u307e\u3057\u305f\u3089\u3001\u662f\u975e\u52c9\u5f37\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u304d\u3063\u3068\u65b0\u3057\u3044\u4e16\u754c\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/MEMS\u9759\u96fb\u5bb9\u91cf\u65b9\u5f0f-1024x646.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>\u3053\u3093\u306b\u3061\u306f\u3002\u4eca\u56de\u306f\u3001\u4ee5\u524d\u300cSimulink Desktop-Real-Time\u306e\u5b9f\u529b\u300d\u3068\u3044\u3046\u30bf\u30a4\u30c8\u30eb\u3067\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u305f\u3060\u3044\u305f &#8220;toshi | Simulink \u306e\u4e2d\u306e\u4eba&#8221;&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/10\/14\/mystery-of-accelerometers\/\">read more >><\/a><\/p>\n","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[61],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/2163"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/comments?post=2163"}],"version-history":[{"count":7,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/2163\/revisions"}],"predecessor-version":[{"id":4966,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/2163\/revisions\/4966"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=2163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=2163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=2163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}