亚洲春色中文字幕久久久-三上亚,91精品国产亚一区二区三区,久久久九色综合亚洲成色777,涩涩视频下载,国产午夜亚洲精品午夜鲁丝片,国产精品A一区二区三区腾讯导航,影音先锋色情AV在线看片,蜜臀国产在线视频,极品少妇高潮啪啪无码吴梦梦 ,精品人妻无码一区二区三区手机版

標題: 為什么程序模塊 程序總在報錯 [打印本頁]

作者: guanbolan1    時間: 2025-11-25 15:41
標題: 為什么程序模塊 程序總在報錯
Chan1_V = 5.0 + 0.1 * sin(2 * 3.1416 * 0.5 * t) ;
Chan2_Temp = 22.0 + 3.0 * sin(2 * 3.1416 * 0.01 * t);
if (sin(2 * 3.1416 * 0.2 * t) > 0)
{
    Chan3_Current = 0.5;
}
else
{
    Chan3_Current = 0.0;  
}




t_mod_8= t - 8.0 * floor(t / 8.0);
if (t_mod_8 < 4.0)
{
    Chan4_NIM_V = 2.5 * t_mod_8
}
else
{
    Chan4_NIM_V = 20.0 - 2.5 * t_mod_8;
}
double t_mod_10;
t_mod_10 = t - 10.0 * floor(t / 10.0);  
Chan5_Current_Out = 2.0 * (t_mod_10 / 10.0) - 1.0;  
Chan5_Current_Out = fabs(Chan5_Current_Out);  
Chan5_Current_Out = 2.0 * (Chan5_Current_Out - 0.5);
double magnetic_gain = 100.0;  
double noise_amplitude = 5.0;  
Chan6_Magnetic_Field = magnetic_gain * Chan5_Current_Out
                      + noise_amplitude * rnd()
                      + 2.0 * Chan5_Current_Out * Chan5_Current_Out;



屏幕截圖 2025-11-25 154207.png (596.97 KB, 下載次數: 0)

屏幕截圖 2025-11-25 154207.png

作者: guanbolan1    時間: 2025-11-25 15:43
他這個不是t 在范圍里波動的意思么 為啥顯示沒定義呢

作者: rundstedt    時間: 2025-11-25 16:15
第25行變量沒定義,你定義一下就行了。




歡迎光臨 (http://www.denmoz.com/bbs/) Powered by Discuz! X3.1