日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

MA2552代做、代寫matlab設計程序
MA2552代做、代寫matlab設計程序

時間:2024-10-07  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



MA2552 Introduction to Computing (DLI) 2024/25
 Computer Assignment 1
1. (10 points) Write a function that take as an input an array x and an integer m, and outputs a matrix of size length(x) × m, whose columns are the first m Taylor approximations of either cos(x) or sin(x) (this choice is part of the inputs). Your function should avoid using iterative loops.
2. (10 points) A prime number which is one less than a power of 2 is called a ‘Mersenne prime’. For a given natural number n > 2, write a function which outputs a row vector containing all Mersenne primes less than or equal to n.
3. (10 points) The equation of an ellipse oriented along the x-y axis with semi-axis of size a and b, respectively, is given by
􏰕x􏰖2 􏰕y􏰖2
a + b =1.
In this exercise you will create a function that outputs an N-points discretisation of an ellipse of semi-axis lengths a and b, that is rotated at an angle theta with respect to the x axis.
Write a function with header E = ellipse(a, b, theta, N) following the steps here below.
(i) Using linspace, create an array of size 1xN consisting of evenly-spaced doubles between 0 and 2π.
(ii) Create an array of size 2×N where the first/second row is the cosine/sine of the values of the array you created in (i). This will give you an N-points discretisation of a circle
(iii) The result of (ii) is an N-points discretisation of a circle with radius 1, where the x coordinate is the first row and the y coordinate is the second row. Scale each coordinate by a and b, respectively, to obtain the discrete version of an ellipse with semi-axis lengths a and b.
(iv) The matrix
􏰙cos(θ) − sin(θ)􏰚 sin(θ) cos(θ)
is a rotation matrix – it maps any given vectore u ∈ R2 to another vector v ∈ R2 such that ∥u∥ = ∥v∥ and the angle between the u and v (anticlokwise) is θ. Using this, create an array of size 2× N whose columns are θ rotations of the columns of the discretised ellipse of (iii).
Youcanvisualiseyourresultsusingthecommandplot(E(1,:), E(2,:)), axis equal.
4. (10points)ToreadanimageinMATLABonecanusethecommandI = imread(yourImage), which creates a multidimensional array I of size n×m×3 (n and m are the dimensions
of the image), where the first two index dimensions indicate the indices of each pixel,
and the third index indicate one of each the red, green, and blue (RGB) components of
1

MA2552 Introduction to Computing (DLI) 2024/25
 each color pixel. Create a function that takes as an input a colour image and repaints it according to a given a mapping from the primary colours to the primary colours (this mapping is also an input of your function). Show your results with one or more images of your choosing.
5. (10 points) A square matrix H of size n is called a Hadamard matrix if its elements are either 1 or -1, and H × Ht = nI, where I denotes the identity matrix. Write a function that checks if a matrix is Hadamard.
6. (10 points) A Hadamard matrix of size 2k can be obtained using the following recur-
rence relation
􏰙H2k−1 H2k−1 􏰚 H2k = H2k−1 −H2k−1 ,
with H20 = 1.
Write a recursive function that obtain such Hadamard matrix. Use the function of
question 2 to verify your method.
7. (10 points) The Legendre polynomials satisfy the following recurrence relation.
(2n + 1)xPn(x) = (n + 1)Pn+1(x) + nPn−1(x), withP0(x)=1andP1(x)=x. ShowthatPn(x)=O(xn)forx→∞.
Hint: use inductive/recursive thinking.
8. (10 points) (3 points) What is the big O complexity, as a function of n, of the
following code? Justify your answer.
for i = floor(n/2):n j=2;
while j <= n j = 2*j;
end end
9. (10 points) Write a function that transforms an array of 0 and 1, to a float in decimals. The function should decide on the single or double precision depending on the length of the input array.
10. (10 points) Implement a code that read the excel file ‘LDIstudents.xls’ (in the ‘asses- ments / computer assignments’ folder in blackboard) and store the information of each student in a MATLAB structure that you will call Student. For each group, calculate the average mark as well as the standard deviation. Compute the correlation between the marks of all students and the ‘Assistance to lectures’, ‘Assistance to tutorials’, and the ‘Height’.


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





 

掃一掃在手機打開當前頁
  • 上一篇:代寫Hashtable編程、代做python/c++程序設計
  • 下一篇:FIT5147代寫、代做css/Java編程語言
  • 無相關信息
    合肥生活資訊

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

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        亚洲国产小视频| 国产亚洲一区二区三区在线播放| 欧美日韩一区二区在线观看| 国产日韩在线播放| 136国产福利精品导航网址应用| 亚洲电影免费在线观看| 欧美freesex8一10精品| 亚洲精品色婷婷福利天堂| 一区二区亚洲精品国产| 国产欧美精品一区二区三区介绍| 久久久久久久综合色一本| 美腿丝袜亚洲色图| 欧美.日韩.国产.一区.二区| 亚洲免费激情| 国内自拍一区| 一区二区三区欧美在线观看| 久久久久久久久久久久久9999| 欧美1区2区视频| 亚洲欧美日韩国产| 亚洲精品视频在线看| 国产精品家庭影院| 99riav1国产精品视频| 久久高清一区| 亚洲日本精品国产第一区| 亚洲影院色在线观看免费| 欧美高清一区二区| 一区二区三区波多野结衣在线观看| 在线免费观看欧美| 久久经典综合| 欧美成人免费va影院高清| 国产亚洲一区二区三区在线观看| 欧美日韩成人综合在线一区二区| 亚洲人成网站在线观看播放| 久久精品天堂| 免费在线视频一区| 欧美日韩免费精品| 亚洲欧美亚洲| 黄色成人免费网站| 久久精品国产第一区二区三区最新章节| 国产亚洲人成网站在线观看| 国产乱人伦精品一区二区| 欧美日韩高清免费| 在线电影欧美日韩一区二区私密| 国产午夜精品全部视频播放| 亚洲日本成人网| 性久久久久久久| 国产精品永久免费视频| 欧美国产成人在线| 国产精品丝袜白浆摸在线| 国产欧美日韩亚州综合| 国产精品视频大全| 欧美一区二区三区久久精品| 狠狠色伊人亚洲综合网站色| 91久久在线视频| 麻豆精品91| 免费观看成人www动漫视频| 午夜欧美视频| 亚洲午夜一二三区视频| 久久久99精品免费观看不卡| 国产一在线精品一区在线观看| 欧美日韩国产综合视频在线观看中文| 欧美日本韩国一区二区三区| 亚洲欧美日韩爽爽影院| 狠狠色丁香久久婷婷综合丁香| 亚洲午夜免费福利视频| 国产精品一区二区在线观看网站| 久久香蕉国产线看观看av| 黄色成人av在线| 欧美日韩1234| 欧美精品免费观看二区| 亚洲高清网站| 在线成人小视频| 久久久青草青青国产亚洲免观| 亚洲人成在线免费观看| 亚洲经典视频在线观看| 免费在线观看日韩欧美| 国语自产偷拍精品视频偷| 一区二区三区欧美在线| 欧美一区二视频| 欧美国产日韩亚洲一区| 欧美日韩精品免费观看视频| 国产精品一二三视频| 欧美日韩国产综合久久| 99re热精品| 亚洲在线成人精品| 欧美一区二区三区四区在线| 午夜免费在线观看精品视频| 性欧美超级视频| 午夜欧美大尺度福利影院在线看| 国产午夜精品全部视频在线播放| 欧美成人r级一区二区三区| 国内久久婷婷综合| 亚洲午夜国产成人av电影男同| 国产精品日本精品| 日韩一级裸体免费视频| 国产一区二区三区四区在线观看| 一区二区三区欧美成人| 欧美人成网站| 久久久久久久久久久久久9999| 欧美黄网免费在线观看| 国产精品丝袜91| 久久精品国产免费看久久精品| 国产精品国产精品国产专区不蜜| 欧美日韩免费在线| 午夜欧美精品| 亚洲欧美99| 在线一区二区三区四区五区| 欧美成人激情视频免费观看| 欧美一区中文字幕| 国产精品婷婷| 国产精品国产三级国产普通话三级| 亚洲一品av免费观看| 国产日韩欧美综合精品| 亚洲一区免费观看| 亚洲成人在线| 久久一区精品| 国内激情久久| 亚洲人成亚洲人成在线观看| 久久亚洲色图| 久久久久看片| 欧美在线1区| 欧美日韩一区精品| 国产午夜精品全部视频在线播放| 一区二区三区日韩欧美| 亚洲精品久久久久久久久久久久久| 欧美大片在线影院| 国内外成人免费激情在线视频| 国产亚洲成人一区| 韩国福利一区| 亚洲精品视频免费| 麻豆成人在线| 亚洲欧美激情一区二区| 性久久久久久| 欧美日韩国产成人高清视频| 欧美日韩国产综合在线| 在线一区欧美| 亚洲一区二区三区777| 国产精品美女久久久免费| 在线国产亚洲欧美| 欧美日韩精品免费观看视一区二区| 欧美一区激情| 久久亚洲精品伦理| 国产欧美1区2区3区| 免费日本视频一区| 日韩一级黄色大片| 激情成人综合网| 国产性色一区二区| 国产精品久久久久久久久久尿| 国产精品卡一卡二卡三| 久久亚洲二区| 一区二区久久久久久| 美女图片一区二区| 国产精品一区二区三区久久久| 欧美日韩综合在线| 国内外成人免费激情在线视频| 亚洲国产精品一区二区三区| 亚洲淫片在线视频| 久久亚洲欧洲| 欧美日韩免费网站| 欧美成人一品| 欧美激情欧美激情在线五月| 久久大综合网| 国产精品午夜av在线| 久久久高清一区二区三区|