PCDVD數位科技討論區

PCDVD數位科技討論區 (https://www.pcdvd.com.tw/index.php)
-   七嘴八舌異言堂 (https://www.pcdvd.com.tw/forumdisplay.php?f=12)
-   -   求助-Matlab一個問題 (https://www.pcdvd.com.tw/showthread.php?t=408766)

supersula 2004-11-10 09:16 PM

傅麗葉轉換 就是看他的頻譜阿

假如是sin(2*pi*300*t) t=0:1000好了 對他做FFT 就會再300Hz的地方看到一根很高的pulse

代表在300hz那邊有個正弦波....這樣就知道囉 至於是sin還是cos要去看他的pahse相位

假如是隨意的finction產生的波型.....應該只能用預估的去逼近他

傅麗葉就是用無限多個頻率從零到無限大的正弦波相加 去模擬出一個波型 頻率到無限大就模擬的出來

不知您是高中大學還是研究所呢? ^^

ethanwang 2004-11-10 09:34 PM

引用:
作者supersula
傅麗葉轉換 就是看他的頻譜阿

假如是sin(2*pi*300*t) t=0:1000好了 對他做FFT 就會再300Hz的地方看到一根很高的pulse

代表在300hz那邊有個正弦波....這樣就知道囉 至於是sin還是cos要去看他的pahse相位

假如是隨意的finction產生的波型.....應該只能用預估的去逼近他

傅麗葉就是用無限多個頻率從零到無限大的正弦波相加 去模擬出一個波型 頻率到無限大就模擬的出來

不知您是高中大學還是研究所呢? ^^


觀念如下:
把x,y用 二維矩陣表示出來,用FFT function 看會得到啥
然後再轉回時域,應該就差不多了

Raptor 2004-11-10 09:51 PM

引用:
作者supersula
傅麗葉轉換 就是看他的頻譜阿

假如是sin(2*pi*300*t) t=0:1000好了 對他做FFT 就會再300Hz的地方看到一根很高的pulse

代表在300hz那邊有個正弦波....這樣就知道囉 至於是sin還是cos要去看他的pahse相位

假如是隨意的finction產生的波型.....應該只能用預估的去逼近他

傅麗葉就是用無限多個頻率從零到無限大的正弦波相加 去模擬出一個波型 頻率到無限大就模擬的出來

不知您是高中大學還是研究所呢? ^^

下圖是更接近我看的圖了(抱歉我只看過一次)

事實上這一個套裝軟體模擬出來的圖

因為假如每次模擬都是類似這種曲線

那把他方程式化就不用再跑模擬了(跑模擬要比較久的時間)

ㄟ.......我的學歷呀.............PM你好了

公開講怪怪的

supersula 2004-11-10 09:56 PM

看起來很像個sin加上絕對質 再乘上斜率為常數的的直線 可能再來個常數 因為都碰不到x軸

真沒想到再pcdvd跟人討論數學@@"

Raptor 2004-11-10 10:24 PM

引用:
作者supersula
看起來很像個sin加上絕對質 再乘上斜率為常數的的直線 可能再來個常數 因為都碰不到x軸

真沒想到再pcdvd跟人討論數學@@"

ㄟ...我才想說

我問的問題可能沒有人會理我

對了...請問那你現在是在讀高中大學還是研究所呢

Cudacke 2004-11-11 09:30 AM

polyfit 可以試試看.

supersula 2004-11-11 12:40 PM

引用:
作者Raptor
ㄟ...我才想說

我問的問題可能沒有人會理我

對了...請問那你現在是在讀高中大學還是研究所呢


小弟現在研一而已 唸的是通訊所 MATLAB也用好幾年了 論輩分要叫您學長^^

不過網友們的建議的那些指令.....糟糕 看過的不多~polyfit 我也不知道是啥 真是汗顏

以後多多指教囉~~

上善若水 2004-11-11 07:14 PM

another thing you could try is using "fminsearch",
please have a look at the example of Matlab help
on this function.

(sorry typing English is easier for me)

basically you have to think about what kind of function
(or series) you want to approximate the "real data" with.
then it's not too hard to find the "best" parameters(usually
coefficients) in the function/series that can represent the real
data with "least" error.

I just helped my friend solving this kind of problem, the
code required to do this isn't too hard to write.

Raptor 2004-11-11 08:31 PM

引用:
作者Cudacke
polyfit 可以試試看.


引用:
作者上善若水
another thing you could try is using "fminsearch",
please have a look at the example of Matlab help
on this function.

(sorry typing English is easier for me)

basically you have to think about what kind of function
(or series) you want to approximate the "real data" with.
then it's not too hard to find the "best" parameters(usually
coefficients) in the function/series that can represent the real
data with "least" error.

I just helped my friend solving this kind of problem, the
code required to do this isn't too hard to write.


感謝提供的訊息,我在去試試看。

Raptor 2004-11-12 08:51 AM

引用:
作者supersula
小弟現在研一而已 唸的是通訊所 MATLAB也用好幾年了 論輩分要叫您學長^^

不過網友們的建議的那些指令.....糟糕 看過的不多~polyfit 我也不知道是啥 真是汗顏

以後多多指教囉~~


賣阿咧共.........多多交流才會進步啦^^

我也很'肉'

Matlab蠻深的

會用到的才記得起來

沒用過的說真的都要去找才知道:nonono:


所有的時間均為GMT +8。 現在的時間是09:54 AM.

vBulletin Version 3.0.1
powered_by_vbulletin 2026。