Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
work with the array
조회 수: 1 (최근 30일)
이전 댓글 표시
t is time step (for example t=3). G=8.
(((3*k-2)*G+1):(3*k*G)) - this dependency must persist
for k = 1:t
intcon(1,:,k) = (((3*k-2)*G+1):(3*k*G))
end
this loop creat the array 1x16x3, but I need intcon with size 1x48, how can I extract 3 lines and create one lines. Problem is that t is variable and each time we have different size. maybe from the very beginning (formation of the loop), it is worth doing differently.
Thank you in advance for your response.
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!