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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                美女www一区二区| 国产精品卡一卡二| 91浏览器入口在线观看| 在线精品视频免费播放| 日韩欧美一区二区久久婷婷| 日韩欧美色电影| 亚洲va国产天堂va久久en| 韩国成人在线视频| 欧美三日本三级三级在线播放| 欧美成人精品高清在线播放| 国产精品高潮呻吟久久| 九九精品视频在线看| 欧美精品精品一区| 综合久久国产九一剧情麻豆| 韩国av一区二区三区| 久久久久久**毛片大全| 亚洲一区二区精品久久av| 欧美日韩黄色一区二区| 懂色av噜噜一区二区三区av| 精品入口麻豆88视频| 久久超级碰视频| 久久久综合视频| 93久久精品日日躁夜夜躁欧美| 久久中文娱乐网| 色网站国产精品| 狠狠色综合日日| 香蕉影视欧美成人| 日本一区二区综合亚洲| 欧美精品777| 91国产福利在线| 国产成人精品在线看| 亚洲不卡一区二区三区| 中文字幕佐山爱一区二区免费| 欧美性色综合网| 成人免费视频一区| 精品在线免费视频| 日本免费在线视频不卡一不卡二| 最新日韩av在线| 亚洲视频狠狠干| 亚洲三级在线免费观看| 国产精品久久久久影院亚瑟| 精品国产a毛片| 26uuu久久综合| 久久女同精品一区二区| 久久亚洲影视婷婷| 国产91在线|亚洲| 国产精品自拍在线| 国产91丝袜在线播放| 91亚洲精品乱码久久久久久蜜桃| eeuss影院一区二区三区| 99国产精品久久久久久久久久久| 高清成人在线观看| 91在线国产观看| 欧美区视频在线观看| 久久久九九九九| 亚洲国产精品一区二区尤物区| 日韩和欧美一区二区| 成人高清视频免费观看| 在线观看三级视频欧美| 精品va天堂亚洲国产| 亚洲欧美日韩一区二区三区在线观看| 一区二区三区91| 成人av网站免费观看| 日韩午夜激情免费电影| 亚洲激情图片一区| 国产91在线看| 国产欧美一区二区三区在线看蜜臀| 婷婷国产在线综合| 91免费看`日韩一区二区| 久久久久综合网| 国精产品一区一区三区mba视频| 欧美一区二区三区视频免费播放 | 国产曰批免费观看久久久| 在线这里只有精品| 亚洲欧洲99久久| 色综合久久99| 亚洲欧洲日韩在线| www.日本不卡| 亚洲精品国产a| 91精品国产综合久久久久久漫画| 午夜激情久久久| 精品久久人人做人人爰| 国产一区二区三区高清播放| 久久久亚洲精品石原莉奈| 国产成人av电影免费在线观看| 久久嫩草精品久久久精品一| 国产成+人+日韩+欧美+亚洲| 亚洲人成伊人成综合网小说| 日韩一区二区在线观看视频| 国产电影精品久久禁18| 亚洲国产精品影院| 欧美激情资源网| 欧美精品成人一区二区三区四区| 国产v日产∨综合v精品视频| 一区二区三区四区蜜桃| 国产欧美1区2区3区| 2024国产精品| 欧美日韩久久久久久| eeuss影院一区二区三区 | 奇米色777欧美一区二区| 国产精品免费视频观看| 欧美精品一区二区不卡| 日韩一区二区视频在线观看| 在线精品观看国产| 色综合久久中文字幕| 成a人片亚洲日本久久| 国产电影精品久久禁18| 激情成人午夜视频| 精品一区二区三区视频| 美女视频免费一区| 日韩国产精品大片| 韩国毛片一区二区三区| 国产一区在线观看麻豆| 国产在线精品不卡| 播五月开心婷婷综合| 91免费国产视频网站| 一本一道波多野结衣一区二区| 成人a级免费电影| 欧美日韩亚洲综合在线| 日韩欧美中文字幕精品| 久久久久久久久久久黄色| 国产农村妇女毛片精品久久麻豆| 中文字幕一区在线| 日韩精品电影在线| 丁香一区二区三区| 在线观看一区日韩| 国产亚洲精品精华液| 亚洲无线码一区二区三区| 国产永久精品大片wwwapp| 一本大道久久a久久综合| 在线综合+亚洲+欧美中文字幕| 国产日韩精品一区二区浪潮av| 亚洲国产综合人成综合网站| 国产综合久久久久久鬼色| 欧美中文字幕一区| 国产精品白丝在线| 精品亚洲国产成人av制服丝袜| 91亚洲男人天堂| 亚洲人xxxx| av成人动漫在线观看| 中文字幕精品一区| 国产成人亚洲综合色影视| 日韩视频免费直播| 日本美女一区二区| 91精品国产91综合久久蜜臀| 亚洲一二三四区不卡| 欧美日韩成人一区| 另类小说色综合网站| 精品国产免费视频| 国产电影一区在线| 亚洲视频资源在线| 色琪琪一区二区三区亚洲区| 亚洲欧美日韩在线播放| 成人h动漫精品一区二区| 亚洲精选视频免费看| 欧美性受极品xxxx喷水| 午夜精品福利视频网站| 91精品国产福利| 国产成人aaa| 亚洲国产精品一区二区尤物区| 欧美怡红院视频| 精品在线观看免费| 国产精品久久久久影院| 欧美日韩精品欧美日韩精品一综合| 日本v片在线高清不卡在线观看| 久久无码av三级| 欧美视频一区在线| 丁香激情综合国产| 久久国产尿小便嘘嘘尿| 洋洋成人永久网站入口| 久久理论电影网| 欧美精品在线一区二区| 国产成人亚洲精品狼色在线 | 日本aⅴ亚洲精品中文乱码| 国产精品第13页| 欧美成人一区二区| 在线观看免费成人| 色偷偷成人一区二区三区91| 久久国产麻豆精品| 免费美女久久99| 日韩激情中文字幕| 秋霞午夜av一区二区三区| 亚洲动漫第一页| 日韩中文字幕亚洲一区二区va在线| 国产精品理论片在线观看| 久久久久久综合| 久久久久久久久99精品| 精品福利一二区| 精品国产一区二区三区久久影院 | 欧美日韩国产免费一区二区| 色婷婷综合久久| 91免费观看在线| 91丨porny丨户外露出| 色婷婷av一区二区| 欧美精品久久天天躁| 日韩一区二区精品葵司在线| 久久久久久久久久久久电影| 欧美国产国产综合| 日韩在线观看一区二区| 黄色日韩三级电影|