Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
そのような1次元配列をプロットする最も簡単な方法は何ですか:
double ad_data[64]; int i; for(i=0; i<64; i++) { ad_data[i] = sin( 1.0/16 * i * 3.1415 ); }
qwtで?
これは、普遍的で最も簡単な (そしておそらく唯一の) 方法です。難しさは配列の要素を変更することであり、難しさはプログラムが何をするかによって異なります。したがって、これをこれ以上簡単にすることはできません。