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.
绘制这样的一维数组的最简单方法是什么:
double ad_data[64]; int i; for(i=0; i<64; i++) { ad_data[i] = sin( 1.0/16 * i * 3.1415 ); }
在qwt?
That's THE universal and easiest (and maybe the only) way to do it. The difficulty is in changing the elements of the array and the difficulty depends on that what does the program does. So you can't make this any easier than that.