日韩精品一区二区三区高清_久久国产热这里只有精品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>
        欧美香蕉大胸在线视频观看| 久热综合在线亚洲精品| 亚洲成人自拍视频| 亚洲黄色在线视频| 亚洲成人影音| 国产精品自在在线| 亚洲天堂黄色| 亚洲国产精品悠悠久久琪琪| 午夜精品一区二区三区在线视| 欧美va亚洲va日韩∨a综合色| 欧美精品久久天天躁| 国产亚洲美州欧州综合国| 美日韩精品免费观看视频| 国色天香一区二区| 狠狠综合久久av一区二区老牛| 亚洲精品一二三区| 欧美亚洲成人精品| 午夜国产精品视频| 国产综合亚洲精品一区二| 欧美日韩伦理在线| 亚洲人成精品久久久久| 国产亚洲aⅴaaaaaa毛片| 欧美aⅴ99久久黑人专区| 午夜视黄欧洲亚洲| 亚洲理论电影网| 美日韩丰满少妇在线观看| 欧美一区二区视频免费观看| 欧美一区二区三区的| 欧美精品二区三区四区免费看视频| 亚洲第一精品夜夜躁人人躁| 欧美日本国产| 亚洲性感激情| 久久精品电影| 久久久久久久综合色一本| 国产午夜亚洲精品羞羞网站| 蜜臀av性久久久久蜜臀aⅴ| 欧美日韩国产天堂| 欧美一区二区视频97| 一区二区三区精品视频| 亚洲精一区二区三区| 国产精品白丝av嫩草影院| 极品裸体白嫩激情啪啪国产精品| 欧美小视频在线观看| 亚洲欧美视频| 亚洲一区二区三区四区五区黄| 欧美成人免费在线观看| 精品成人一区二区三区四区| 午夜一区不卡| 欧美a级理论片| 久久国产黑丝| 在线亚洲自拍| 欧美日本一区二区高清播放视频| 欧美精品日日鲁夜夜添| 亚洲欧美日韩精品久久奇米色影视| 在线播放豆国产99亚洲| 最近中文字幕日韩精品| 亚洲激情成人网| 在线欧美日韩精品| 好看的亚洲午夜视频在线| 欧美日韩免费观看一区二区三区| 亚洲中字在线| 欧美日韩精品免费观看视一区二区| 精品99一区二区| 欧美日韩日日夜夜| 欧美激情一区二区三区蜜桃视频| 欧美日一区二区三区在线观看国产免| 欧美一区二区三区在线观看视频| 久久久亚洲欧洲日产国码αv| 欧美日韩国产影片| 亚洲视频一二区| 日韩天堂在线视频| 小黄鸭视频精品导航| 亚洲最新在线视频| 狠狠狠色丁香婷婷综合激情| 欧美制服第一页| 蜜桃久久av| 欧美精品97| 亚洲三级视频在线观看| 免费成人在线观看视频| 欧美系列精品| 欧美日韩福利视频| 亚洲视频一区二区| 欧美日韩国产色视频| 国产精品视频yy9299一区| 亚洲人成网在线播放| 午夜视频在线观看一区二区| 欧美午夜宅男影院在线观看| 亚洲经典视频在线观看| 国产一区二区三区日韩| 亚洲永久免费| 欧美激情视频一区二区三区在线播放| 欧美成人一区二区| 亚洲一级一区| 免费在线观看成人av| 亚洲女同在线| 欧美日韩成人综合| 亚洲欧美日韩人成在线播放| 亚洲欧美在线免费观看| 欧美一级淫片aaaaaaa视频| 中文一区二区在线观看| 香蕉久久精品日日躁夜夜躁| 亚洲午夜日本在线观看| 欧美三级不卡| 欧美一区免费视频| 亚洲精品一品区二品区三品区| 亚洲欧美成人在线| 亚洲毛片播放| 亚洲日本无吗高清不卡| 欧美视频日韩| 欧美日韩国产欧美日美国产精品| 欧美黄色aa电影| 中文欧美在线视频| 久久久亚洲国产天美传媒修理工| 国产精品日韩久久久久| 欧美一区国产二区| 国产精品视频导航| av不卡在线看| 亚洲精品欧洲| 亚洲综合国产精品| 国产午夜精品全部视频在线播放| 香蕉久久夜色精品| 久热精品视频在线免费观看| 亚洲日本成人女熟在线观看| 久久国产精品久久久久久| 久久精品九九| 久久综合中文字幕| 韩国三级电影久久久久久| 欧美国产综合视频| 亚洲手机视频| 欧美日韩一区在线| 伊人影院久久| 亚洲日本在线视频观看| 欧美a级一区二区| 亚洲精品色图| 亚洲国产毛片完整版| 久久久久成人精品免费播放动漫| 欧美激情片在线观看| 欧美主播一区二区三区美女 久久精品人| 欧美成熟视频| 黑人一区二区| 欧美巨乳在线| 亚洲欧美日韩国产成人精品影院| 一本色道久久88综合亚洲精品ⅰ| 日韩一区二区久久| 久久精品99国产精品酒店日本| 在线观看日韩av| 一本色道综合亚洲| 国产精品久久久久久久久久妞妞| 欧美色综合网| 99在线|亚洲一区二区| 欧美精品一区二区蜜臀亚洲| 久久久久久噜噜噜久久久精品| 亚洲欧美一区二区三区久久| 欧美激情在线观看| 国产视频在线观看一区二区三区| 国内精品久久久久影院薰衣草| 免费亚洲电影在线观看| 亚洲第一黄色| 午夜在线观看欧美| 亚洲专区一二三| 亚洲香蕉视频| 国产精品久久一卡二卡| 久久久欧美精品| 国产亚洲欧美日韩美女|