1、结合matlab语言中的矩阵操作,若要将法向刚度小于平均值的单元设为所有单元法向刚度的平均值,则下列语句正确的是____A.meanKN = mean(d.mo.mKN); f = d.mo.mKN < meanKN; d.mo.mKN(f) = meanKN;B.meanKN = mean(d.mo.aKN); f = d.mo.aKN < meanKN; d.mo.aKN(f) = meanKN;C.maxKN = max(d.mo.aKN); f = d.mo.aKN < maxKN; d.mo.aKN(f) = maxKN;D.maxKN = max(d.mo.mKN); f = d.mo.mKN < maxKN; d.mo.mKN(f) = maxKN;
1、结合matlab语言中的矩阵操作,若要将法向刚度小于平均值的单元设为所有单元法向刚度的平均值,则下列语句正确的是____
A.meanKN = mean(d.mo.mKN); f = d.mo.mKN < meanKN; d.mo.mKN(f) = meanKN;
B.meanKN = mean(d.mo.aKN); f = d.mo.aKN < meanKN; d.mo.aKN(f) = meanKN;
C.maxKN = max(d.mo.aKN); f = d.mo.aKN < maxKN; d.mo.aKN(f) = maxKN;
D.maxKN = max(d.mo.mKN); f = d.mo.mKN < maxKN; d.mo.mKN(f) = maxKN;
参考答案和解析
meanKN = mean(d.mo.aKN); f = d.mo.aKN < meanKN; d.mo.aKN(f) = meanKN;
相关考题:
单选题下列关于Averagea函数,说法正确的是()A求单元格中所有非空数据的平均值B求单元格中所有非空数据的和C求单元格中数字的算数平均值D求单元格中数字的和