题目
matlab提示 The expression to the left of the equals sign is not a valid target for an assignment
for idx = 1:length(test{3})
eval([ test{1}{idx},' = ',num2str(test{3}(idx)),';']);
end
是哪儿不对呢
for idx = 1:length(test{3})
eval([ test{1}{idx},' = ',num2str(test{3}(idx)),';']);
end
是哪儿不对呢
提问时间:2021-12-25
答案
一个等号表示赋值,两个等号才表示判断是否相等.你这里相当于向test{1}{idx}赋值,所以报错了.
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
- 1商店第一天卖出蓝猫书包64个,第二天卖出同样的书包120个.第二天比第一天多收入2240元.照这样计算,280元可
- 2一个正方形分成九个小正方形,以其中不在一条直线上的三个点做顶点,构成三角形.
- 3甲、乙从A、B两地同时相对开出,40分钟后相遇,相遇后又以各自不变的速度行了15分钟后,甲距B地还有11分钟的路程,而乙距A地还有66千米,AB两地相距多少千米?
- 4硫酸的相对分子质量为?摩尔质量为?49g硫酸的相对分子质量为?配制500mL溶液,所得溶液中的溶质的物质的量浓度为?该溶液中含H+物质的量溶度为?取出该溶液10mL即取出了?个SO4 2+
- 5英语翻译
- 6已知二次函数的图象过坐标原点,它的顶点坐标是(1,-2),求这个二次函数的关系式.
- 7a2+b2-a2b2-4ab-1
- 8英语翻译
- 9“漪”怎么读?
- 10【高中化学】乙二醇乙二酯,乙二酸二乙酯的化学简式分别是什么?
热门考点
- 1已知关于x的方程2x-a/3-x-a/3=x-1与方程3(x-2)=4x-5有相同的解,求解,求a的值
- 2减数分裂在生物进化中有何意义
- 3我们规定:沿正北方向顺时针旋转o角前进a个单位,记作(o,a),则分别作出下列有序数对所表示
- 4四年级下册语文冀教版16课《颐和园》课文
- 5看懂一般的英文原声电影、美剧、名著,需要多少的单词量?
- 6一辆汽车质量为4t 在水平的公路上匀速行驶时受到的摩擦力为1000n,风的阻力为200n,求此时汽车发动机的牵引
- 7在0-45°范围内化简根号(1-2sinAcosA)
- 8高铁下为什么不能填充石头.用物理知识回答
- 9Grasp the thistle firmly.
- 10人类从哪些生物中得到启示,发明了什么东西,