The tips of octave 发表于 2018-04-20 更新于 2020-03-16 分类于 octave 阅读次数: Valine: Here is tips of octave. 11234567891011121314151617181920212223242526A = [1 2;1 4] A = [ 1 2 1 4 ]A = (A == 1) A = [ 1 0 1 0 ] A = [1 1 3;2 3 1;1 1 4] A = 1 1 3 2 3 1 1 1 4for i = 1:3, A(:,i) = (A(:,i)==i);end; A = 1 0 1 0 0 0 1 0 0 2 请我喝杯咖啡吧~ 打赏 微信支付 支付宝