Ee206-matlab

الموضوع في 'الهندسة الكهربائية' بواسطة المصباح المضيء, بتاريخ ‏31 ديسمبر 2012.

  1. المصباح المضيء

    انضم:
    ‏2 أغسطس 2012
    المشاركات:
    38
    التقييمات:
    +5 / 0 / -0
    السلام عليكم ورحمة الله وبركاته​
    يا أخوان يوجد سلايدات حق206 مات لاب في نهايتها أسئلة قد تكون شبيها بالأختبار غدا
    المشكلة أن مدرسنا نزل السلايدات بدون الأسئلة هو حذفها من السلايدات فرجاء ألي عنده الأسئلة يضعها ها هنا لو ما عليه أمر.
     
  2. faisalcom2008

    faisalcom2008 عضو

    انضم:
    ‏1 أكتوبر 2010
    المشاركات:
    264
    التخصص:
    Electrical Engineering
    الجامعة:
    KFUPM
    سنة التخرج:
    2016
    الجنس:
    ذكر
    الوظيفة:
    Electrical Engineer
    الإقامة:
    الظهران
    التقييمات:
    +20 / 0 / -0
  3. ابو عشوق

    ابو عشوق عضو موقوف

    انضم:
    ‏27 نوفمبر 2010
    المشاركات:
    72
    التقييمات:
    +9 / 0 / -0
    This is session provide a test sample exam. The objective is to provide some practice questions. You may write more questions and share them with your colleagues.
    The semicolon ; is used for
    a) Separating between rows in the matrices c) Separating between columns in the matrices
    b) prevent presenting the outcome in the command window d) Both a and b.

    The result of the following operation a=[ 1 2 3 ]^2 is
    a) a= [ 2 4 6 ] c) a= [ 1 4 9 ]
    b) a= [ 1 ; 4 ; 9 ] d) Error using the power operator

    The result of the following operation a=[ 1 2 3 ].^2 is
    a) a= [ 2 4 6 ] c) a= [ 1 4 9 ]
    b) a= [ 1 ; 4 ; 9 ] d) Error using the power operator

    This command c=1i+2; returns
    a) Error because i is not defined c) Complex number equal to 3j
    b) Complex number equal to 2+j d) Real number equal to 3×i

    clc command is used for
    a) Clear the command window c) Close the figure
    b) Clear the current figure d) None of the above

    The output of the following command [1:4:8 9] is
    a) [ 1, 2, 3, 4 ; 5, 6, 7, 8 ; 9 ] c) [ 1 2 3 4 5 6 7 8 9]
    b) [1; 2; 3; 4; 8 9] d) [ 1 5 9]

    exp(x) is used for
    a) returns the square for each element of x c) Multiply by 〖10〗^x
    b) Returns the exponential for each element of x i.e. e^x d) Undefined function

    round([-1.9, 3.4]) returns
    a) [-1, 3] c) [-2; 3]
    b) [-2, 3] d) Error of using the function

    ceil([-1.9 3.4]) returns
    a) [ -1 4] c) [-2 4]
    b) [-1 3] d) [-2 3]

    Apostrophes ‘ ’ are used for
    a) Creating a text variable c) Separating between columns in a matrix
    b) Create a vector d) None of the above

    If the all following vectors have the same dimension, this command
    plot(x1, x2, x3, y1, y2, y3) Plots:
    a) x1 vs. y1, x2 vs. y2, and x3 vs. y3. In the same pane (figure) c) x1 vs. x2, x2 vs. y3 and y1 vs. y3. In three separated panes
    b) x1 vs. y1, x2 vs. y2, and x3 vs. y3. In three separated panes d) None of the above

    This function subplot(m,n,p) does the following
    a) Plot m vs n vs p in a 3D graph c) Divides a new figure into m-by-n panels and active panel p.
    b) Create a new figure window and plot in sub figure m d) Plots the vector m vs n and p

    Assume the following matrices
    a=[1 2 3 ; 6 5 4 ]; b=[ 1, 2; 4, 3]; c=[ 1 2 3 ;6 5 4; 7 8 9]; e=[7 8 9 ; 1 1 1];
    The following Operation will return
    a(4).*e(1,3)
    a) 45 c) Error in indexing
    b) 4 d) Dimensions are miss match

    c(2,:)+e(2,1:end)
    a) [7; 6; 5] c) Cannot use colon (:) in indexing
    b) [7 6 5] d) Dimension mismatch

    size(a,2)
    a) 2 c) [2 3]
    b) 3 d) [3 2]

    length(a)
    a) 2 c) [2 3]
    b) 3 d) [3 2]

    a*c
    a) [34 36; 38 64; 69 74] c) [34 36 38 ; 64 69 74]
    b) Not defined because the dimensions are miss match d) None of the above

    (a.*e)’
    a) Not defined because the dimensions are miss match c) [7 6 16; 5 27 4]
    b) [7 6; 16 5; 27 4] d) Error in using the apostrophe

    sum(a)
    a) [7 7 7] c) 21
    b) [21] d) [6 ; 15]

    find(a>c & a<6)
    a) ans= [2; 4 ] c) ans= [2, 1; 2, 2 ]
    b) ans= [6; 5 ] d) Error in using the function (Matrix dimensions must agree)

    [r c]=find(rem(b,2)==0)
    a)r= [2; 2]
    c= [4;4 ] c) r= [2; 2]
    c= [3;3 ]
    b)r= [2; 2]
    c= [ ] d) r= [2; 1]
    c= [1;2 ]

    (2<3||4.1>=4) results in:
    a) 0 c) false
    b) 1 d) NaN

    Witch of the following in the right way to design a function called My_fun
    a) Myfun=function (input)
    b) function=Myfun(input)
    c) [output]=My_fun(input)
    d) None of the above is correct.

    The following code results:

    a) ans= x^4/4 c) ans= 6*x
    b) plot the function f vs. x d) ans=x^2/2


    The following code results:

    a) x = [ 1 4 9 16 ] c) Cannot use i in for loop
    b) x = [1i -1 1i -1 ] d) x= [16]


    The following code returns

    H= [1 0.5 0.333; 0.5 0.333 0.25 ]
    H= [1 0.5 0.25; 0.5 0.25 1 ]
    H= [1 0.5; 0.25 0.5; 0.25 1 ]
    H=0.25

    The following code returns

    a) out= 3 c) Error in using the condition
    b) out= 4 d) This is an infinite loop and no output

    The following code returns

    a) out= [ -1 0 1] c) out=[ -1 -1 1 ]
    b) out=[-1 1 2 ] d) out=[ 0 2 1]

    The following code returns

    a) n=[ 1 2 3 4 5 ] c) n=5
    b) n=[ 1 2 3 4 ] d) None of the above

    The following code returns

    a) Option1 c) Option3
    b) Option2 d) Option4


    Answers
    Question Answer Question Answer Question Answer
    1 d 11 d 21 d
    2 d 12 c 22 b
    3 c 13 a 23 c
    4 b 14 b 24 c
    5 a 15 b 25 a
    6 d 16 b 26 a
    7 b 17 c 27 b
    8 b 18 b 28 d
    9 a 19 a 29 c
    10 a 20 d 90 a




    بالتوفيق
     
جاري تحميل الصفحة...
مواضيع شبيهة - Ee206-matlab
  1. abdullah.d
    الردود:
    15
    المشاهدات:
    1,535
  2. alqarni
    الردود:
    7
    المشاهدات:
    732
  3. سندباد 999
    الردود:
    4
    المشاهدات:
    2,516
  4. RAY OF HOPE
    الردود:
    1
    المشاهدات:
    1,172
  5. blo998
    الردود:
    1
    المشاهدات:
    3,462
  6. rmq6666
    الردود:
    0
    المشاهدات:
    358
  7. AbuFahad14
    الردود:
    4
    المشاهدات:
    933
  8. الأسطــــورـة
    الردود:
    7
    المشاهدات:
    2,700
  9. iKoLz7
    الردود:
    0
    المشاهدات:
    669
  10. s2012055
    الردود:
    0
    المشاهدات:
    574

مشاركة هذه الصفحة