99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

MA2552編程代寫、代做MATLAB程序

時間:2023-12-08  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯


MA2552 Introduction to Computing (DLI) 2023/24

Computer Assignment 3

1. Write a function with header [B] = myMakeLinInd(A), where A and B are matrices.

Let the rank(A) = n, then B should be a matrix containing the first n columns of A

that are all linearly independent.

2. Write a function alpha = myPolyfit(n,p,x) that finds the coefficients of a polynomial p(x) of degree n that fits the data in p and x. Your function should solve this

problem as a linear system of equations and show an error if there is either no solution

or an infinite number of solutions.

3. Repeat the question above but using the least square method instead. Note that now

there is always a unique solution, independently of the length p and x. You can check

your results with the MATLAB built-in function polyfit.

4. Using the bisection method, write a function r = myRoots(alpha) that outputs the

(real) roots of a polynomial whose coefficients are the elements of the (real-valued)

array alpha. You can check your method with the MATLAB built-in function roots.

Hint: Find the intervals of monotony by finding the roots of the derivative of the

polynomial.

5. The eigenvalues λ of a (square) matrix A correspond to the roots of the function

p(λ) = det(A − λI), where I denotes the identity matrix. Explain why if A is of size

n, then p(λ) is a polynomial of degree n. Next, using question 3 and question 4, code

a function that finds the real eigenvalues A and their corresponding eigenvectors.

6. The singular value decomposition of a matrix A of size n×m, is a factorisation of A in

the form A = USV t

, where both U and V are (full rank) (orthonormal) square matrices

and S is a non-necessarily-square diagonal matrix whit non-negative elements. The

non-zero elements of the diagonal of S, called singular values of A, correspond to the

square root of the non-zero eigenvalues of AAt

(or AtA). The matrix V is formed by the

eigenvectors of AtA and the matrix U is formed by the eigenvectors of AAt

. Using eig,

implement a function [U,S,V] = mySVD(A) which computes the SVD decomposition

of a matrix A.

7. Note that the rank of a matrix A is given by the number of non-zero singular values of

A (why?). Write a function that take as input a matrix A, and outputs a new matrix

Ak, which is k-rank version of A, computed by keeping the k-largest singular values

of A. Use this function to show a low rank version of the image of question 10 of

Assignment 1.

8. Find regression curves for the average runtime data T1(n) and T2(n), corresponding

to the runtime of the code of question 10 of Assignment 2, and its efficient version,

respectively, where n is the size of the input matrix M. Plot your regression curves along

with the runtime data. Can you quantify now how faster is the efficient implementation

with respect to the inefficient one?

1

MA2552 Introduction to Computing (DLI) 2023/24

9. Implement a MATLAB function that take as input two arrays f and x, representing

the values of a real valued function f(x); the array x should be evenly spaced. Your

function should:

(a) create a new array f_s which replace each element of f with the average of its k

nearest neighbours (k should also be an input of your function) to the left and to

the right. The function f_s is a way of regularising a noisy or irregular function.

(b) returns the numerical derivative of fs using a centred first order finite difference

scheme that you should also implement.

Test your code with x = linspace(0,2*pi,1000)and f = sin(x) + 0.1*randn(size(x)),

for different values of k.

10. Write a function I = myTrapez(f, a, b, n), which computes the approximation of

R b

a

f(x) dx by a trapezoidal rule: R b

a

f(x) dx ≈ h

h

f(a)+f(b)

2 +

Pn−1

k=1 f(xk)

i

, where xk =

a + hk, and h =

b−a

n

.Your function should not use any built-in Matlab functions. Test

your function by computing R 1

0

1 − x

2 dx, with n = 10, 20, and 40. Given that the

exact value of the integral is π/4, how does the error of the approximateresult scale

with n?

請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

 

掃一掃在手機打開當前頁
  • 上一篇:代寫COMP3023、C/C++語言編程代做
  • 下一篇:代寫COMP26120、代做C++, Java/Python編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          精品69视频一区二区三区 | 久久免费视频在线观看| 韩曰欧美视频免费观看| 欧美屁股在线| 久久久噜噜噜久久狠狠50岁| 亚洲另类在线视频| 国产精品久久亚洲7777| 欧美高清视频一区二区| 欧美一区二区在线免费播放| aa级大片欧美三级| 亚洲黄色在线观看| 国产亚洲精品aa午夜观看| 欧美精品自拍| 免费一级欧美片在线播放| 欧美中文在线观看| 亚洲一区精品电影| 99国产成+人+综合+亚洲欧美| 激情欧美国产欧美| 国产一区二区中文字幕免费看| 欧美日韩国产一区| 欧美日本国产一区| 免费永久网站黄欧美| 久久视频精品在线| 久久免费少妇高潮久久精品99| 午夜精品视频在线观看一区二区| 中文在线资源观看视频网站免费不卡| 91久久精品一区| 亚洲区第一页| 亚洲另类黄色| 日韩亚洲欧美成人| av不卡在线观看| av成人免费在线观看| 亚洲毛片在线观看.| 日韩视频中午一区| 亚洲一二三四区| 香蕉久久一区二区不卡无毒影院| 亚洲欧美日韩综合aⅴ视频| 亚洲综合999| 午夜精品久久久久久| 欧美一级播放| 久久亚洲综合网| 欧美成人一区二区在线| 欧美日本高清| 国产精品乱码一区二三区小蝌蚪 | 麻豆九一精品爱看视频在线观看免费| 久久精品在线| 欧美成人免费小视频| 欧美国产一区二区| 欧美午夜精品久久久久久孕妇| 国产精品久久久久久久久免费 | 亚洲精选一区二区| 亚洲一区二区三区视频播放| 亚洲欧美一区二区精品久久久| 欧美一级片在线播放| 久久久亚洲国产天美传媒修理工 | 狠狠色综合播放一区二区| 亚洲高清一区二区三区| 亚洲精品少妇| 亚洲欧美在线一区| 欧美aⅴ99久久黑人专区| 欧美日韩国产三区| 国产午夜久久| 99精品国产99久久久久久福利| 亚洲午夜在线观看视频在线| 久久视频这里只有精品| 欧美日韩亚洲综合一区| 国产一区在线播放| 亚洲图片在线观看| 久久精品国产一区二区电影| 欧美日韩精品免费观看| 国产一区二区三区久久| 日韩视频一区二区在线观看 | 欧美日韩精品一区二区| 国产一区二区三区的电影| 99re6这里只有精品视频在线观看| 久久国产精品久久久| 欧美性色综合| 亚洲国产一成人久久精品| 午夜精品国产| 欧美性猛片xxxx免费看久爱| 在线成人www免费观看视频| 午夜日韩视频| 国产精品日韩精品| 一区二区激情| 欧美国产视频在线| 亚洲第一精品影视| 久久亚洲春色中文字幕| 国产欧美日韩一区| 亚洲午夜久久久久久久久电影院| 欧美国产精品日韩| 一区二区三区自拍| 久久久久国产精品www| 国产欧美一区二区三区久久人妖| 在线亚洲伦理| 国产精品久久91| 亚洲一区亚洲| 国产精品日日摸夜夜摸av| 中文精品视频一区二区在线观看| 欧美电影美腿模特1979在线看| 激情久久中文字幕| 久久综合久久综合这里只有精品 | 国产精品网站在线播放| 日韩视频在线一区二区| 欧美国产精品专区| 亚洲精品一区在线观看| 欧美不卡视频一区| 91久久精品www人人做人人爽| 美女日韩在线中文字幕| 1000部精品久久久久久久久| 久久蜜桃资源一区二区老牛| 国产一区二区三区不卡在线观看| 久久成人精品电影| 伊人一区二区三区久久精品| 久久综合伊人77777麻豆| 在线看国产一区| 欧美激情一区在线| 亚洲一区二区免费| 国内欧美视频一区二区| 免费久久精品视频| 99国产精品久久久久老师| 国产精品美女久久福利网站| 久久精品国产综合| 99riav久久精品riav| 国产精品日韩精品欧美在线| 久久久久久有精品国产| 亚洲人成在线观看一区二区| 国产精品高清免费在线观看| 久久精品一区蜜桃臀影院| 亚洲精品欧美在线| 国产精品永久免费| 模特精品在线| 欧美亚洲自偷自偷| 日韩视频免费观看高清在线视频| 国产精品美女久久久浪潮软件| 久久精品噜噜噜成人av农村| 亚洲精品一区二区三区av| 国产欧美日本一区视频| 免费观看一区| 欧美亚洲一区在线| 夜夜嗨一区二区三区| 精品成人乱色一区二区| 国产精品99免费看 | 国内精品久久久久久久影视麻豆 | 欧美日韩精品系列| 久久综合九色| 午夜一区二区三区不卡视频| 亚洲区在线播放| 国产一区二区剧情av在线| 欧美日韩亚洲一区二区三区四区| 欧美主播一区二区三区| 亚洲一区二区免费视频| 亚洲精品美女在线观看| 国产一区二区在线免费观看| 国产精品毛片大码女人| 欧美午夜一区| 欧美日韩国产三区| 欧美高清视频在线| 美女黄毛**国产精品啪啪| 久久久福利视频| 久久高清福利视频| 欧美一进一出视频| 亚洲男人第一网站| 亚洲综合精品自拍| 亚洲综合国产激情另类一区| 一本一道久久综合狠狠老精东影业| 在线免费观看日韩欧美| 影音先锋另类| 亚洲二区免费| 亚洲韩国精品一区| 亚洲韩国青草视频| 亚洲美女视频在线观看| 亚洲精品综合精品自拍| 91久久极品少妇xxxxⅹ软件| 亚洲人成在线免费观看| 亚洲高清激情| 亚洲精品国产精品久久清纯直播| 亚洲成人在线视频播放| 亚洲国产日韩综合一区| 亚洲精品美女久久久久| 亚洲免费观看在线观看| 99国产一区二区三精品乱码| 日韩午夜电影在线观看| 亚洲色图制服丝袜| 性欧美18~19sex高清播放| 欧美一区二区高清在线观看| 欧美自拍偷拍| 牛牛精品成人免费视频| 欧美日韩精品不卡| 国产日本亚洲高清| 国内精品一区二区三区| 亚洲第一级黄色片| 亚洲视频一区二区在线观看| 亚洲欧美日韩精品综合在线观看| 亚洲一区在线播放| 久久这里有精品视频 | av成人国产| 欧美在线啊v一区| 欧美国产综合一区二区| 国产精品亚洲а∨天堂免在线| 黄色成人在线免费|