matlab中for语句画图,Subscript indices must either be real positiv
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/08/29 00:51:29
matlab中for语句画图,Subscript indices must either be real positive integers or logicals.
for ii=0.1:1
x=0:100
y(ii)=(L-ii*hg)/(ii*hg)*x-G*b/hg;
plot(x,y(ii))
hold on
end
出现Subscript indices must either be real positive integers or logicals.
这个什么情况啊
for ii=0.1:1
x=0:100
y(ii)=(L-ii*hg)/(ii*hg)*x-G*b/hg;
plot(x,y(ii))
hold on
end
出现Subscript indices must either be real positive integers or logicals.
这个什么情况啊
很简单, ii=0.1:1的结果其实就是ii=0.1,那么表达式y(ii)就是用0.1当数组的下标,而数组下标只能是正整数或逻辑数组,不能是小数.
matlab中for语句画图,Subscript indices must either be real positiv
matlab中这是个什么问题 Subscript indices must either be real positiv
matlab :Subscript indices must either be real positive integ
matlab 出现Subscript indices must either be real positive inte
MATLAB出现?Subscript indices must either be real positive inte
matlab出现? Subscript indices must either be real positive int
问一下在matlab中出现Subscript indices must either be real positive
MATLAB程序错误?Subscript indices must either be real positive in
用matlab图像配准中出现Subscript indices must either be real positive
MATLAB里出现Subscript indices must either be real positive inte
matlab为什么出现 Subscript indices must either be real positive i
? Subscript indices must either be real positive integers or