• 2022-06-08
    阅读以下程序,则y=()。 x=[4,-9,25]; ifx<0 disp('someoftheelementsofxarenegative.') else y=sqrt(x) end
    A: 2.0000+0.0000i 0.0000+3.0000i 5.0000+0.0000i
    B: 2.0000 3.0000 5.0000
    C: 2.0000-1.0000i 3.0000 5.0000
    D: 2.0000 3.0000 5.0000i