写出执行以下代码后, MATLAB 命令窗口上显示的 x 矩阵的值。 x=[0,1,0,2,0,3,0,4]; for k=1:8 if x(k)==0 x(k)=k; else x(k)=2*k+1; end end disp(x);
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Artists need to imagine how their characters might behave, how their characters are feeling, and how past s in their characters' lives have _______ them. By doing this, they can make their charac...
【简答题】A lot of successful people dream when they’re 1._________. They take 2. _________to make their dreams come true. These people dream about their goals. Their goals can be personal or 3.________________...