Math 104A Final Projects?General Instructions: Please follow TA’s instructions (on Gauchoapace) to turn it in. Writeyour own code individually. Do not copy codes!The Discrete Fourier Transform (DFT) of a periodic array fj , for j = 0, 1, ..., N ?1 (correspondingto data at equally spaced points, starting at the left end point of the interval of periodicity) isevaluated via the Fast Fourier Transform (FFT) algorithm (N power of 2). Use an FFT package,i.e. an already coded FFT (the functions fft and ifft in Matlab or numpy.fft in python).Prove that if the fj , for j = 0, 1, ..., N ? 1 are real numbers then c0 is real and cN?k = ˉck,where the bar denotes complex conjugate.2. Which fft package are you using? Read the manual of your fft package, and write down theformula it’s using to return the coefficients. (Note: different packages may use differentdefinitions of the DFT, so it is very important to figure out what your package is calculatingbefore using it.)3. Let PN (x) be the trigonometric polynomial of lowest order that interpolates the periodicarray fj at the equidistributed nodes xj = j(2π/N), for j = 0, 1, ..., N ? 1, i.e.?All course materials (class lectures and discussions, handouts, homework assignments, examinations, web materials)and the intellectual content of the course itself are protected by United States Federal Copyright Law, theCalifornia Civil Code. The UC Policy 102.23 expressly prohibits students (and all other persons) from代做Math 104A作業(yè)、Python語言作業(yè)代做闹啦、代寫Python程序設(shè)計(jì)作業(yè)沮明、代寫FFT留學(xué)生作業(yè) 幫做Java程 recordinglectures or discussions and from distributing or selling lectures notes and all other course materials without the priorwritten permission of class instructors.1Write a formula that relates the complex Fourier coefficients computed by your fft packageto the real Fourier coefficients, ak and bk, that define PN (x).4. Let fj = esin xj, xj = j2π/N for j = 0, 1, ..., N ?1. Take N = 8. Using your fft package obtainP8(x) and find a spectral approximation of the derivative of esin x at xj for j = 0, 1, ..., N ? 1by computing P08(xj ). Compute the actual error in the approximation.5. The solution Pn(x) to the Least Squares Approximation problem of f by a polynomial ofdegree at most n is given explicitly in terms of orthogonal polynomials ψ0(x), ψ1(x), ...,ψn(x), where ψj is a polynomial of degree j, byPn(x) = Xnj=0ajψj (x), aj =hf, ψj ihψj , ψj i.(a) Let Pn be the space of polynomials of degree at most n. Prove that the error f ? Pn isorthogonal to this space, i.e. hf ? Pn, qi = 0 for any q ∈ Pn.(b) Using the analogy of vectors interpret this result geometrically (recall the concept oforthogonal projection).6. (a) Obtain the first 4 Legendre polynomials in [?1, 1].(b) Find the least squares polynomial approximations of degrees 1, 2, and 3 for the functionf(x) = ex on [?1, 1].(c) What is the polynomial least squares approximation of degree 4 for f(x) = x3 on [?1, 1]?Explain.2轉(zhuǎn)自:http://www.3zuoye.com/contents/3/4840.html
講解:Math 104A、Python店雅、Python政基、FFTJava|SQL
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
- 文/潘曉璐 我一進(jìn)店門餐蔬,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人佑附,你說我怎么就攤上這事樊诺。” “怎么了音同?”我有些...
- 文/不壞的土叔 我叫張陵词爬,是天一觀的道長(zhǎng)。 經(jīng)常有香客問我权均,道長(zhǎng)顿膨,這世上最難降的妖魔是什么? 我笑而不...
- 正文 為了忘掉前任螺句,我火速辦了婚禮虽惭,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘蛇尚。我一直安慰自己芽唇,他們只是感情好,可當(dāng)我...
- 文/花漫 我一把揭開白布取劫。 她就那樣靜靜地躺著匆笤,像睡著了一般。 火紅的嫁衣襯著肌膚如雪谱邪。 梳的紋絲不亂的頭發(fā)上炮捧,一...
- 文/蒼蘭香墨 我猛地睜開眼迅栅,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼殊校!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起读存,我...
- 序言:老撾萬榮一對(duì)情侶失蹤为流,失蹤者是張志新(化名)和其女友劉穎呕屎,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體敬察,經(jīng)...
- 正文 獨(dú)居荒郊野嶺守林人離奇死亡秀睛,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
- 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了静汤。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片琅催。...
- 正文 年R本政府宣布,位于F島的核電站弄兜,受9級(jí)特大地震影響药蜻,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜替饿,卻給世界環(huán)境...
- 文/蒙蒙 一语泽、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧视卢,春花似錦踱卵、人聲如沸。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至绳锅,卻和暖如春西饵,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背鳞芙。 一陣腳步聲響...
- 正文 我出身青樓驯嘱,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國和親竿拆。 傳聞我的和親對(duì)象是個(gè)殘疾皇子宙拉,可洞房花燭夜當(dāng)晚...
推薦閱讀更多精彩內(nèi)容
- Math 104A Final ProjectsGeneral Instructions: Please foll...
- 當(dāng)下自媒體如日中天钉答,買個(gè)自媒體公共號(hào)坐擁上萬甚至百萬粉絲础芍,直播平臺(tái)各類網(wǎng)紅層出不窮,微博網(wǎng)紅更是話題潮流的引領(lǐng)者数尿,...
- this 是 C++中的一個(gè)關(guān)鍵字仑性,也是一個(gè) const 指針,它指向當(dāng)前對(duì)象右蹦,通過它可以訪問當(dāng)前對(duì)象的所有成員诊杆。...
- 一、認(rèn)識(shí)泡沫1.1. 泡沫是松動(dòng)的籌碼松動(dòng)的籌碼何陆,就是容易被賣出的籌碼晨汹,容易被賣出的籌碼多了,我認(rèn)為有泡沫了贷盲。如果...