如何解决我的

11视图(30天)
Maria ines Barba Sarasua
Maria ines Barba Sarasua 约5小时前
你好,我有一个错误:
无法执行任务,因为指数左边与右边的大小不兼容。
L_tilde2 =内装式(subsasgn, L_tilde、结构(“类型”,“()”,“潜艇”,{变长度输入宗量}),R_tilde);
C = privsubsasgn (L R第1 {:});
我的代码如下:
清晰的所有
clc
信谊x
e-05尾= (5.93266,0.00082573,0.001571951,0.002318172,0.003064541,0.004018053,0.00493061,0.005552929,0.006549172,0.007338123,0.008085823,0.008833522,0.009415033,0.009996545,0.010868442,0.011574151,0.012196174,0.013025341,0.013895908,0.014848681,0.015801455,0.017251758,0.018371164,0.019200479,0.019781399,0.02036254,0.020860957,0.021234807,0.021691677);
人= (1.638232756,1.618669688,1.579773777,1.540877866,1.496456555,1.446449258,1.379877876,1.329967516,1.230219498,1.141582866,1.047432951,0.953283036,0.881283191,0.809283346,0.71509708,0.643060884,0.604201324,0.559755779,0.515298116,0.492917821,0.470537526,0.420384823,0.359278257,0.309307311,0.259409068,0.201222724,0.140297914,0.093222956,0.037835664);
v_c = 0.0000174/1.19;
A_disipador = 0.095 * 0.002 * 45;
M = 1:元素个数(尾)
V_Disipador =(尾/ A_disipador);
Re = (V_Disipador * 0.039) / (v_c);
f (M) = vpasolve ((1 /√(x) = = 2 *日志((0.502/0.095)/ 3.7 + 2.51 /(重新(M) * sqrt (x)))))%这是错误的
h = f * (0.095/0.0039) * ((1.3048) ^ 2 / (2 * 9.81))。
结束
无法执行任务,因为指数左边与右边的大小不兼容。

信谊误差/ privsubsasgn(第1168行)
L_tilde2 =内装式(subsasgn, L_tilde、结构(“类型”,“()”,“潜艇”,{变长度输入宗量}),R_tilde);

错误索引(第999行)
C = privsubsasgn (L R第1 {:});

答案(1)

克里斯·拉皮埃尔
的结果 vpasolve 是一个空易行,不能分配给一个数组元素。
%的作品
一个= double.empty
一个= []
%你的错误
(1)= double.empty
无法执行任务,因为指数左边与右边的大小不兼容。

标签

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!