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

          亚洲大胆av| 亚洲高清一区二| 久久香蕉精品| 亚洲免费观看在线观看| 国产精品你懂的| 午夜综合激情| 91久久精品www人人做人人爽| 欧美猛交免费看| 性娇小13――14欧美| 在线欧美电影| 国产精品久久久久久超碰| 久久爱另类一区二区小说| 亚洲国产成人av在线| 国产精品久久久久天堂| 另类国产ts人妖高潮视频| 夜夜嗨av色综合久久久综合网| 国产欧美一区二区精品婷婷| 欧美激情欧美激情在线五月| 亚洲中午字幕| 亚洲国产一区视频| 国产精品亚洲产品| 欧美高清视频在线播放| 欧美一区亚洲| 日韩一区二区免费高清| 狠狠色香婷婷久久亚洲精品| 欧美三级乱码| 另类激情亚洲| 欧美在线精品一区| 亚洲视频在线一区观看| 亚洲国产精品成人va在线观看| 国产精品一区二区a| 欧美激情二区三区| 久久久精品一品道一区| 亚洲一区在线播放| 亚洲精品女人| 欲香欲色天天天综合和网| 国产精品爽黄69| 欧美午夜电影在线| 欧美大学生性色视频| 久久精品30| 午夜一级在线看亚洲| 在线视频精品一| 亚洲激情av在线| 黄色成人在线免费| 国产目拍亚洲精品99久久精品| 欧美日韩精品在线视频| 欧美电影在线观看完整版| 久久久久久久久伊人| 欧美在线视频免费播放| 亚洲私人影院| 9i看片成人免费高清| 91久久精品国产91久久| 亚洲国产欧美不卡在线观看 | 久久亚洲一区| 久久成人免费电影| 久久成人亚洲| 欧美在线精品一区| 午夜欧美大尺度福利影院在线看| 亚洲在线播放| 一区二区三区四区五区视频| 99精品视频免费观看视频| 亚洲精品视频在线播放| 亚洲精品欧洲| 亚洲最新色图| 亚洲香蕉伊综合在人在线视看| 日韩香蕉视频| 亚洲婷婷综合久久一本伊一区| 妖精视频成人观看www| 一区二区三区色| 亚洲一区二区成人| 亚洲永久在线观看| 午夜精品久久久久久久99黑人| 欧美亚洲一区三区| 久久精品国产免费观看| 久久综合成人精品亚洲另类欧美| 能在线观看的日韩av| 欧美精品一区二区蜜臀亚洲| 欧美日韩ab| 国产精品任我爽爆在线播放| 国产日韩欧美夫妻视频在线观看| 国产一区二区在线观看免费播放| 激情综合网址| 亚洲精品在线视频观看| 亚洲天堂成人| 久久精品国产亚洲a| 免费的成人av| 欧美日韩视频在线一区二区观看视频| 欧美视频一区二| 国产午夜亚洲精品不卡| 在线高清一区| 夜夜嗨av一区二区三区中文字幕| 亚洲在线视频| 美女脱光内衣内裤视频久久影院| 欧美日韩黄色一区二区| 国产欧美三级| 亚洲人成在线观看一区二区| 亚洲在线免费视频| 毛片精品免费在线观看| 欧美日韩第一页| 国产一区二区高清不卡| 亚洲精品男同| 久久九九免费| 欧美日韩中国免费专区在线看| 国产亚洲激情在线| 亚洲乱码国产乱码精品精天堂| 香蕉成人久久| 欧美日韩高清在线| 激情文学综合丁香| 亚洲一级特黄| 欧美成人中文字幕在线| 国产日韩精品电影| 日韩一二三在线视频播| 欧美中文字幕第一页| 欧美精品日韩综合在线| 韩国一区二区三区美女美女秀| 一本高清dvd不卡在线观看| 久久精品国产亚洲一区二区| 欧美日韩在线大尺度| 136国产福利精品导航网址| 亚洲小视频在线| 欧美久久电影| 亚洲第一在线综合在线| 性欧美在线看片a免费观看| 欧美精品电影在线| 曰韩精品一区二区| 欧美一区二区视频在线观看2020| 欧美日韩视频在线| 91久久精品国产91久久性色tv| 久久精品国产2020观看福利| 国产精品乱人伦中文| 999在线观看精品免费不卡网站| 久久夜色精品国产噜噜av| 国产欧美视频在线观看| 亚洲伊人久久综合| 欧美日韩国产三区| 亚洲日本电影| 欧美国产欧美亚洲国产日韩mv天天看完整| 国内外成人免费激情在线视频网站| 亚洲性感美女99在线| 欧美日韩精品免费观看| 亚洲区欧美区| 欧美成人一区二区三区| 亚洲国产精品久久久久| 久热精品视频| 在线日韩av永久免费观看| 久久久久久夜| 在线欧美视频| 免费观看欧美在线视频的网站| 黄色国产精品一区二区三区| 久久精品综合一区| 永久域名在线精品| 免费欧美电影| 亚洲精品自在久久| 欧美理论电影在线观看| 亚洲精品在线视频| 欧美日本韩国| 亚洲线精品一区二区三区八戒| 欧美午夜不卡视频| 亚洲男女自偷自拍| 国产日产精品一区二区三区四区的观看方式| 亚洲男人的天堂在线aⅴ视频| 国产精品亚洲一区| 欧美在线免费| 亚洲国产高清在线观看视频| 免费毛片一区二区三区久久久| 亚洲欧洲日本国产| 欧美日韩99| 欧美一级午夜免费电影| 国产在线拍揄自揄视频不卡99| 老司机午夜精品视频| 亚洲精品综合久久中文字幕| 欧美午夜精彩| 久久久精品tv| 亚洲精品你懂的| 国产精品久久久久高潮| 欧美中文字幕在线| 亚洲国产精品综合| 欧美视频中文一区二区三区在线观看| 亚洲欧美综合v| 好吊一区二区三区| 欧美精品一区二区视频| 午夜亚洲影视| 亚洲国产另类精品专区| 国产精品久久久久aaaa| 久久精品在线观看| 99re这里只有精品6| 国产真实精品久久二三区| 欧美黄色一级视频| 亚洲一区影院| 亚洲激情在线视频| 国产免费成人| 欧美精品色一区二区三区| 先锋影音国产一区| 亚洲日本va午夜在线影院| 国产精品亚洲综合天堂夜夜| 欧美大片在线观看一区| 欧美一区二区| 亚洲最黄网站| 激情综合中文娱乐网| 国产精品国产自产拍高清av|