A=[0.2682,0.0761,0.2313,0.2521,0.1141;0.0170,0.0048,0.0147,0.0160,0.0072;0.0411,0.0116,0.0355,0.0387,0.0175;0.2117,0.0601,0.1826,0.1990,0.0901;0.2848;0.0808,0.2455,0.2677,0.1212];B=[1.0000;0.3465;0.3370;0.8024;0.4780];C=A*B;C=运行总是出错!Error

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 00:25:13
A=[0.2682,0.0761,0.2313,0.2521,0.1141;0.0170,0.0048,0.0147,0.0160,0.0072;0.0411,0.0116,0.0355,0.0387

A=[0.2682,0.0761,0.2313,0.2521,0.1141;0.0170,0.0048,0.0147,0.0160,0.0072;0.0411,0.0116,0.0355,0.0387,0.0175;0.2117,0.0601,0.1826,0.1990,0.0901;0.2848;0.0808,0.2455,0.2677,0.1212];B=[1.0000;0.3465;0.3370;0.8024;0.4780];C=A*B;C=运行总是出错!Error
A=[0.2682,0.0761,0.2313,0.2521,0.1141;
0.0170,0.0048,0.0147,0.0160,0.0072;0.0411,0.0116,0.0355,0.0387,0.0175;0.2117,0.0601,0.1826,0.1990,0.0901;0.2848;0.0808,0.2455,0.2677,0.1212];B=[1.0000;0.3465;0.3370;0.8024;0.4780];C=A*B;C=
运行总是出错!
Error using ==> vertcat
All rows in the bracketed expression must have the same
number of columns.
可明明是可以相乘的呀!

A=[0.2682,0.0761,0.2313,0.2521,0.1141;0.0170,0.0048,0.0147,0.0160,0.0072;0.0411,0.0116,0.0355,0.0387,0.0175;0.2117,0.0601,0.1826,0.1990,0.0901;0.2848;0.0808,0.2455,0.2677,0.1212];B=[1.0000;0.3465;0.3370;0.8024;0.4780];C=A*B;C=运行总是出错!Error
A中第四行(0.2848;0.0808,0.2455,0.2677,0.1212)中分号改为逗号