Professional Documents
Culture Documents
Course Code: M106 Course Title: Introduction To MATLAB Programming Tutor Marked Assignment Question 1: (12 Marks)
Course Code: M106 Course Title: Introduction To MATLAB Programming Tutor Marked Assignment Question 1: (12 Marks)
Course Code: M106 Course Title: Introduction To MATLAB Programming Tutor Marked Assignment Question 1: (12 Marks)
Create three graphs on one figure for the current, voltage, and power variation in this
.device from t0=0 to t1=10 s
Include appropriate labels, title, and gridlines
and
a) Write a getCoords() function that prompts the user for the x- and y-
coordinates for the two endpoints for the five line segments returns it
as 5-by-4 matrix of points. (Do NOT use loops)
(2 mark)
c) Write a print() function that prints the calculated midpoints. (Do NOT
use loops)
(2 marks)
Question 3: [8 marks]
Write a Matlab program reads a sentence then prints each word on a separate line after
.converting its characters to uppercase
Hint: use the while... loop and read the Matlab documentation about the function)
(strtok
1
121
12321
1234321
123454321
)(6 marks
b) Write a function that finds the comment elements two lists, e.g. [23, 11, 70],
[11, 2, 3] → [11]. (Do not use the ready Matlab function intersect, you can
)read the Matlab documentation about ismember() and unique() functions
)(4 marks
“”End of Questions
المهندس أحمد @ الجامعة العربية المفتوحة M106حل واجبات M106 00966597837185 TMA
المهندس أحمد~ حلول,واجبات,الجامعة,العربية,المفتوحة~ M106 ** 00966597837185حل واجب ~
الجامعة العربية المفتوحة M106حل واجبات M106 00966597837185حل_واجب#
واجبات الجامعة العربية المفتوحة M106 ,المهندس أحمد 00966597837185:حل واجب M106
M106 00966597837185حل واجب M106 TMA Answers ENG:Ahmed
حلول واجبات الجامعـة العربية المفتوحة ~ , M106 00966597837185حل ,واجب
المهندس احمد لحلول الواجبات الجامعة العربية المفتوحة > M106 ? 00966597837185حل واجب
خل واجبات الجامعة M106حل واجب المهندس احمد M106 00966597837185
M106مهندس أحمد ,,,,حلول واجبات M106 << 00966597837185حل واجبات المتياز
حلول واجبات M106المفتوحة ,حل واجب M106,حل,واجبات,الجامعة,العربية00966597837185 ,
الجامعة العربية المفتوحة
حل واجبات جروب المتياز بقيادة المهندس أحمد 00966597837185تنبيه ,,رقمي الوحيد لعدم التعرض
للحتيال
حل واجبات الجامعة العربية المفتوحة ,, 00966597837185حلو ل واجبات الجامعة العربية المفتوحة ,,
حلول الواجبات M106حل الواجب M106حلول واجبات M106جروب المتياز المهندس أحمد حل واجب
بدون تشابه حل واجبات الجامعة العربية المفتوحة ,, 00966597837185حلو ل واجبات M106 TMA
حل M106حلول واجبات M106الجامعة العربية المفتوحة ,,جروب المتياز المهندس أحمد حل واجب
بدون تشابه M106 TMAحلول الواجبات M106الواجب