Help!!! Why is it prompted that the subscript indices must be positive integer or logical type?
이전 댓글 표시
clear;clc;close all;
for e=1:0.2:2
n=(e-0.8)/0.2;
h(n)=n;
end
h
Why is it prompted that the subscript indices must be positive integer or logical type?
为什么提示下标索引必须为正整数类型或逻辑类型?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 矩阵和数组에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!