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

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

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編程語言
  • 無相關信息
    合肥生活資訊

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

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

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

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

          最新国产の精品合集bt伙计| 久久午夜精品| 欧美日韩三区四区| 亚洲国产精品尤物yw在线观看 | 久久久97精品| 国产精品色网| 亚洲视频一区二区在线观看| 欧美激情亚洲视频| 亚洲国产乱码最新视频| 久久久99爱| 狠狠色丁香久久婷婷综合_中| 欧美一乱一性一交一视频| 国产精品久久久| 亚洲一区美女视频在线观看免费| 欧美日韩综合另类| 亚洲婷婷综合色高清在线| 欧美精品一二三| 亚洲最黄网站| 国产精品久久久久av| 一区二区三区欧美视频| 欧美视频一区在线| 午夜亚洲性色视频| 国产一区二区精品久久91| 欧美一区免费| 伊人成人网在线看| 免费在线看一区| 日韩一级免费| 国产精品美女一区二区| 亚洲欧美亚洲| 精品1区2区| 欧美剧在线观看| 亚洲小视频在线观看| 国产精品揄拍500视频| 久久精品国产免费| 91久久精品日日躁夜夜躁欧美| 欧美激情a∨在线视频播放| 日韩一级片网址| 国产精品专区一| 免费看精品久久片| 亚洲午夜精品久久| 国产综合久久| 欧美看片网站| 欧美中文在线观看国产| 亚洲成人在线免费| 欧美性色视频在线| 久久精品一区| 夜色激情一区二区| 国产欧美韩国高清| 欧美精品123区| 欧美一区国产在线| 日韩一二三区视频| 狠狠色狠狠色综合日日91app| 欧美激情综合色| 久久国产精彩视频| 亚洲三级电影全部在线观看高清| 国产精品亚洲综合色区韩国| 久久免费99精品久久久久久| 夜夜夜久久久| 在线精品国产成人综合| 欧美日韩影院| 米奇777在线欧美播放| 亚洲视频在线二区| 亚洲激情在线观看| 国产中文一区| 国产精品一区二区在线| 蜜桃av综合| 欧美一区二区免费视频| 一区二区激情小说| 在线看欧美视频| 国产一区二区三区在线观看视频| 欧美日韩在线免费| 欧美—级高清免费播放| 久久久亚洲国产天美传媒修理工| 亚洲影院色无极综合| 亚洲精品久久久久久久久| 国产自产2019最新不卡| 国产精品久久久久久久午夜| 欧美精品18+| 能在线观看的日韩av| 久久久久国产精品午夜一区| 亚洲欧美激情四射在线日| 999在线观看精品免费不卡网站| 在线观看av不卡| 国产欧美日韩一级| 欧美性猛交视频| 欧美日韩一区二区在线播放| 欧美激情视频一区二区三区不卡| 久久全球大尺度高清视频| 欧美一区二区免费| 日韩天天综合| 日韩视频在线观看免费| 亚洲人成在线观看| 亚洲精品一区久久久久久| 亚洲国产日韩在线| 亚洲国产精品久久| 91久久在线| 99国产精品99久久久久久粉嫩 | 伊人久久婷婷| 一区二区三区在线观看国产| 国产性色一区二区| 国产在线拍偷自揄拍精品| 国产精品女人毛片| 国产欧美日韩另类视频免费观看 | 国产精品高清一区二区三区| 欧美三级视频在线观看| 国产精品国产三级国产普通话蜜臀| 欧美视频一区在线观看| 国产精品毛片大码女人| 国产欧美日韩中文字幕在线| 国产一区二区久久| 在线成人黄色| 亚洲三级免费观看| 在线一区二区视频| 欧美综合二区| 久久在线免费视频| 欧美日韩国产黄| 欧美三级午夜理伦三级中文幕 | 嫩草影视亚洲| 欧美日本高清一区| 国产酒店精品激情| 黄色国产精品| 亚洲毛片在线看| 午夜亚洲激情| 免费观看30秒视频久久| 欧美日韩国产不卡| 国产日韩欧美电影在线观看| 黄色成人片子| 中国成人亚色综合网站| 欧美一区二区三区免费视| 久久精品久久综合| 欧美日韩一区视频| 国内综合精品午夜久久资源| 亚洲国产精品免费| 午夜精品福利一区二区三区av| 久久久久久午夜| 欧美日本韩国一区| 国产精品五月天| 亚洲激情偷拍| 久久精品国产亚洲5555| 欧美激情一区二区三区蜜桃视频| 国产精品欧美在线| 亚洲精品国产精品国产自| 亚洲欧美日韩网| 欧美另类在线播放| 樱花yy私人影院亚洲| 亚洲视频碰碰| 欧美激情一区二区三区成人 | 亚洲欧美日韩国产一区| 久久夜色精品| 国产无一区二区| 一区二区国产精品| 你懂的国产精品| 国产专区欧美专区| 亚洲免费视频成人| 欧美日韩国产bt| 亚洲经典一区| 久久婷婷av| 狠狠88综合久久久久综合网| 一区二区三区免费网站| 欧美二区乱c少妇| 激情一区二区三区| 久久精品99国产精品日本| 国产精品久久激情| 亚洲私人黄色宅男| 欧美日韩亚洲一区二区三区在线观看 | 欧美aa在线视频| 国产亚洲欧美色| 欧美一区二区三区婷婷月色| 欧美视频免费在线| 亚洲精品一区二区三区av| 老司机67194精品线观看| 国产亚洲午夜高清国产拍精品| 一区二区三区四区五区在线| 免费不卡亚洲欧美| 亚洲第一网站| 欧美不卡视频一区| 在线精品一区二区| 久久综合久久美利坚合众国| 国产在线精品自拍| 久久久久国产成人精品亚洲午夜| 国产亚洲精久久久久久| 欧美一区在线直播| 国产在线观看91精品一区| 欧美一区三区二区在线观看| 国产欧美一级| 久久精品国产91精品亚洲| 国产日产亚洲精品系列| 香蕉免费一区二区三区在线观看| 国产酒店精品激情| 久久精品国产v日韩v亚洲 | 亚洲另类自拍| 欧美日韩裸体免费视频| 99精品视频免费全部在线| 欧美日韩1区| 亚洲综合99| 狠狠88综合久久久久综合网| 久久亚洲欧美国产精品乐播| 在线精品福利| 欧美性猛交xxxx免费看久久久| 亚洲性xxxx|