• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::


Browsing this Thread:   1 Anonymous Users






Re: 三角函數acos、cos、sin in p18j系列
#6
資深會員
資深會員


查看用戶資訊
世界上有許多人天生幽默,常拿些假貨騙騙人……了解來源,可避免二手資訊所造成的誤解。

回主題:

這是線積分求解的問題,想自已推演算法的話可以朝這個方向,而現成的程式就不知道了。

至於拿PIC18來搞,感覺比較像用切蛋糕的塑膠刀殺野牛,拿一百萬頓級的核彈炸太陽一樣,從某個角度來看的確是很猛……

發表於: 2009/12/30 19:46
The Answer to Life, the Universe, and Everything.
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 三角函數acos、cos、sin in p18j系列
#5
中級會員
中級會員


查看用戶資訊
回 typhoon 先生

網路抓的,我也有仔細看到他的方程式,也覺得可行才試著在單晶片做做看

發表於: 2009/12/30 11:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 三角函數acos、cos、sin in p18j系列
#4
中級會員
中級會員


查看用戶資訊
試過的結果,我放棄三角函數了!

還是用a平方加b平方開根號比較快!

發表於: 2009/12/30 11:20
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 三角函數acos、cos、sin in p18j系列
#3
資深會員
資深會員


查看用戶資訊
請賜教:

什麼座標系?
什麼距離?
x,y 什麼單位?
公式何來?

發表於: 2009/12/28 14:27
The Answer to Life, the Universe, and Everything.
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 三角函數acos、cos、sin in p18j系列
#2
資深會員
資深會員


查看用戶資訊
cos和sin函數可以用查表方式增加速度。

發表於: 2009/12/26 1:25
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


三角函數acos、cos、sin in p18j系列
#1
中級會員
中級會員


查看用戶資訊
disten = R*acos(cos(y1)*cos(y2)*cos(x1-x2) + sin(y1)*sin(y2));

我編譯完有4千個指令,讓我的uart收資料收得怪怪的

刪掉這一行了就正常了

請問還有其他方法算地球的兩點距離嗎?

發表於: 2009/12/25 17:56
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------