//=== === === === === === === === === === === === === === = //函數(shù)說明 //函數(shù)名稱:PolyFit //函數(shù)功能:最小二乘法曲線擬合 //使用方法:double *x ---- 存放n個(gè)數(shù)據(jù)點(diǎn)的X坐標(biāo) // double *y ---- 存放n個(gè)數(shù)據(jù)點(diǎn)的Y坐標(biāo) // int n -------- 給定數(shù)據(jù)點(diǎn)個(gè)數(shù) // double *a ---- 返回m-1次擬合多項(xiàng)式的m個(gè)系數(shù) // int m -------- 擬合多項(xiàng)式的項(xiàng)數(shù),即擬合多項(xiàng)式的最高次為m-1。要求m<=n,且 // m<=20。若m>n或m>20,則本函數(shù)自動(dòng)按m=min{n,20}處理 // double *dt --- dt[0]返回?cái)M合多項(xiàng)式與各數(shù)據(jù)點(diǎn)誤差的平方和;dt[1]返回?cái)M合多 // 項(xiàng)式與各數(shù)據(jù)點(diǎn)的誤差絕對(duì)值之和;dt[2]返回?cái)M合多項(xiàng)式與各數(shù)據(jù) // 點(diǎn)誤差絕對(duì)值的最大值 //注意事項(xiàng):擬合多項(xiàng)式的形式為 y = b0 + b1*(x-Xavr)...
標(biāo)簽: PolyFit 函數(shù) 最小二乘法
上傳時(shí)間: 2015-07-19
上傳用戶:waizhang
FPGA數(shù)字鐘的設(shè)計(jì),用VHDL語言編程,max+plus仿真,可在實(shí)際電路中驗(yàn)證
標(biāo)簽: 數(shù)字
上傳時(shí)間: 2015-07-25
上傳用戶:924484786
本軟件在CPLD上實(shí)現(xiàn)數(shù)字PWM控制,用Verilog HDL語言編寫,在MAX PLUS II調(diào)試成功,可用
上傳時(shí)間: 2015-08-04
上傳用戶:dancnc
一個(gè)小程序,用Veilog HDL編寫的,可以用于籃球比賽的倒計(jì)時(shí)牌,已在max-plusII上仿真通過。
標(biāo)簽: 程序
上傳時(shí)間: 2015-08-15
上傳用戶:許小華
1.功能 利用廣義逆求解無約束條件下的優(yōu)化問題(C語言) 2.參數(shù)說明 int m : 非線性方程組中方程個(gè)數(shù) int n : 非線性方程組中未知數(shù)個(gè)數(shù) double eps1 : 控制最小二乘解的精度要求 double eps2 : 用于奇異值分解中的控制精度要求 double x[n] : 存放非線性方程組解的初始近似值X(0),要求各分量不全為0 int ka : Ka=max{m,n}+1 void (*f)() : 指向計(jì)算非線性方程組中各方程左端函數(shù)值的函數(shù)名(用戶自編) void (*s)() : 指向計(jì)算雅可比矩陣的函數(shù)名 int ngin() : 函數(shù)返回一個(gè)標(biāo)志值 3.文件說明 ngin.c函數(shù)文件 ngin0.c主函數(shù)文件
上傳時(shí)間: 2013-12-23
上傳用戶:大三三
* CONSTRAINTS * This module does not handle data which is considered out of range by the * application(i.e. fixed constants which represent error condition) * * Maximum weight value must be limited to 128 to prevent an overflow * condition during the calculation. * * The internal data type must be large enough to handle the calculations. * The maximum possible internal value * = Max Input Value * (weight - 1) + Max Input Value * If a maximum weight of 128 is used, the internal data type should be 2 * times the size of the input data type.
標(biāo)簽: CONSTRAINTS considered module handle
上傳時(shí)間: 2015-09-07
上傳用戶:qunquan
智能機(jī)器小車主要完成尋跡功能,由機(jī)械結(jié)構(gòu)和控制單元兩個(gè)部分組成。機(jī)械結(jié)構(gòu)是一個(gè)由底盤、前后輔助輪、控制板支架、傳感器支架、左右驅(qū)動(dòng)輪、步進(jìn)電機(jī)等組成。控制單元部分主要由主要包含傳感器及其調(diào)理電路、步進(jìn)電機(jī)及驅(qū)動(dòng)電路、控制器三個(gè)部分。本設(shè)計(jì)的核心為控制器部分,采用Altera MAX7000S系列的EPM7064LC84-15作主控芯片。CPLD芯片的設(shè)計(jì)主要在MAX+plusⅡ10.0環(huán)境下利用VHDL語言編程實(shí)現(xiàn)。驅(qū)動(dòng)步進(jìn)電機(jī)電路主要利用ULN2803作為驅(qū)動(dòng)芯片。
標(biāo)簽: 智能機(jī)
上傳時(shí)間: 2015-09-07
上傳用戶:cjf0304
文件上傳源碼 Multiple stores supported (Folder, Zip, Database, Memory). Security features (Blacklist, FileSizeLimit, Max. Uploaded files). Notification and history features.
標(biāo)簽: Blacklist supported Multiple Database
上傳時(shí)間: 2013-12-10
上傳用戶:jkhjkh1982
一個(gè)很好用的 lcd 時(shí)鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計(jì)時(shí)器0 的重裝值 #define RELOAD_HIGH 0x3C #define RELOAD_LOW 0xD2 //定義按鍵彈跳時(shí)間 #define DB_VAL //定義設(shè)置模式的最大時(shí)間間隔 #define TIMEOUT 200 //定義游標(biāo)位置常數(shù) #define HOME 0 #define HOUR 1 #define MIN 2 #define SEC 3
標(biāo)簽: include define RELOAD stdio
上傳時(shí)間: 2014-12-19
上傳用戶:zukfu
此為秒表程序,具有秒表的一般基本功能,已在MAX+plusII 10.2下編譯通過。
標(biāo)簽: 程序
上傳時(shí)間: 2013-12-22
上傳用戶:woshini123456
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1