日韩精品一区二区三区高清_久久国产热这里只有精品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編程語言
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

    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>
        国产精品美女主播在线观看纯欲| 在线综合+亚洲+欧美中文字幕| 一区二区三区免费观看| 韩日成人av| 欧美激情女人20p| 亚洲欧美bt| 国内成人在线| 欧美视频手机在线| 国产区亚洲区欧美区| 另类图片综合电影| 中文在线资源观看网站视频免费不卡| 欧美日本一区二区视频在线观看| 亚洲欧洲中文日韩久久av乱码| 亚洲砖区区免费| 欧美一区二区三区在线看| 亚洲一级黄色av| 国产精品magnet| 欧美国产欧美亚洲国产日韩mv天天看完整| 国产精品亚洲欧美| 久久大综合网| 免费观看成人| 欧美日韩免费观看一区二区三区| 在线观看日韩专区| 裸体一区二区| 亚洲高清资源| 亚洲欧美国产一区二区三区| 欧美成人免费在线观看| 国产精品一区免费视频| 亚洲视频视频在线| 久久激情综合网| 欧美精品日日鲁夜夜添| 欧美午夜理伦三级在线观看| 亚洲午夜在线观看视频在线| 美女被久久久| 国产精品一区在线观看| 亚洲经典视频在线观看| 欧美激情第4页| 久久夜色精品一区| 制服丝袜亚洲播放| 99一区二区| 亚洲精品中文字幕在线| 欧美日韩不卡合集视频| 亚洲一区亚洲| 久久一二三区| 欧美va亚洲va日韩∨a综合色| 亚洲毛片视频| 美女视频黄免费的久久| 在线视频欧美日韩精品| 欧美一区午夜精品| 欧美成va人片在线观看| 久久久成人精品| 亚洲黄色尤物视频| 亚洲国产精品va在线看黑人| 欧美激情一区二区三区在线视频观看| 国产一在线精品一区在线观看| 欧美一区激情| 亚洲茄子视频| 亚洲视频香蕉人妖| 欧美高清视频一二三区| 美日韩免费视频| 欧美日韩精品免费看| 国产精品夫妻自拍| 久久天天躁狠狠躁夜夜爽蜜月| 久久国产精品99久久久久久老狼| 欧美日韩你懂的| 欧美午夜精品伦理| 牛牛国产精品| 久久精品免费看| 精久久久久久久久久久| 欧美一级专区| 久久国产一二区| 欧美日韩国产高清| 国产精品影音先锋| 亚洲性夜色噜噜噜7777| 亚洲在线播放电影| 1024欧美极品| 性欧美暴力猛交69hd| 欧美人与性动交α欧美精品济南到| 伊甸园精品99久久久久久| 欧美日韩国产天堂| 国产日韩精品久久| 亚洲欧美中文日韩在线| 亚洲视频精品在线| 久久九九免费视频| 欧美精品v日韩精品v韩国精品v| 欧美在线观看网站| 日韩午夜免费视频| 在线看不卡av| 欧美日韩1234| 欧美偷拍一区二区| 亚洲精品色图| 国产欧美一区在线| 99在线观看免费视频精品观看| 久久久久久999| 久久精品中文字幕一区| 久久精品视频在线免费观看| 国产日韩欧美中文| 亚洲综合成人在线| 亚洲激情综合| 免费人成精品欧美精品| 国产亚洲一区二区三区在线播放| 一区二区三区免费观看| 激情亚洲成人| 欧美视频中文一区二区三区在线观看| 欧美色图首页| 欧美午夜激情小视频| 一区二区黄色| 一色屋精品视频免费看| 在线天堂一区av电影| 亚洲欧美日韩国产中文在线| 欧美伊人久久| 牛牛精品成人免费视频| 欧美一区观看| 欧美区在线播放| 蜜臀av一级做a爰片久久| 国产一区二区久久久| 国产精品黄页免费高清在线观看| 六十路精品视频| 久久精品国产清高在天天线| 欧美一区二区三区喷汁尤物| 欧美三级日本三级少妇99| 欧美精品一区二区三区在线播放| 日韩视频在线观看一区二区| 一区二区三区在线免费视频| 亚洲欧美日韩成人| aaa亚洲精品一二三区| 欧美专区日韩视频| 欧美一区二区三区四区高清| 国产精品成人免费| 欧美日韩一区二区视频在线| 欧美激情第六页| 欧美国产日本高清在线| 欧美激情一区二区三区在线| 久久综合网hezyo| 国产区二精品视| 亚洲免费人成在线视频观看| 91久久线看在观草草青青| 亚洲欧洲在线看| 亚洲大片精品永久免费| 中文在线资源观看网站视频免费不卡| 国产乱码精品一区二区三区av| 国产精品福利网| 亚洲欧美国产精品专区久久| 久久精品视频网| 久久综合久色欧美综合狠狠| 亚洲午夜精品网| 香蕉国产精品偷在线观看不卡| 免费在线亚洲| 久久午夜影视| 欧美三级欧美一级| 国产精品稀缺呦系列在线| 国产亚洲在线| 你懂的一区二区| 亚洲国产精品久久91精品| 欧美日韩国产页| 欧美一级淫片aaaaaaa视频| 欧美日韩免费观看一区二区三区| 欧美亚洲第一区| 欧美性淫爽ww久久久久无| 国产精品一区二区久久久| 一区在线免费观看| 久久免费精品日本久久中文字幕| 国产精品国产三级国产aⅴ浪潮| 欧美成黄导航|