for loop to use iteration and time
조회 수: 5(최근 30일)
I'm quite new user of Matlab.
My question is;
Shortly, I want to start from time=1 and T_pu with iteration (5 times), 5th iteration is equal of my first T_pu_time(t) matrix element, then it will continue with t=2 and 5 iteration .....
Can you please help me or share with me any example how can I solve this issue?
Gaurav Garg 2021년 1월 27일
In order to assign 5th element of T_pu to 1st element of T_pu_time, 10th element of T_pu == 2nd element of T_pu_time and so on..., you can follow the code segment given below -
T_pu_time(i) = T_pu(i*5);