submit a constant to matrices
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi guys I am wondering how can I define first element of number of matrices as a constant
I tried T{1:10}(1)=7; but I got the following message
??? Scalar cell array indices required in this assignment.
I appreciate your help
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2013년 10월 2일
편집: Azzi Abdelmalek
2013년 10월 2일
for k=1:numel(T)
T{k}(1)=7
end
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!