What is u(1:1+int,1)?
7 次查看(过去 30 天)
显示 更早的评论
Hello everybody,
I am looking for what is the meaning of u(1:1+int,1) ? I searched but i wasn't able to find what is this and purpose. I thought it is incrementing first row for each step. Am I wrong? Thank for your help..
0 个评论
采纳的回答
Nadir Altinbas
2019-11-12
u(1:1+int,1) this type commands represents unit step where 1+int depends on and interval increment by one and its usage by (for ....)
see also
0 个评论
更多回答(1 个)
Fangjun Jiang
2019-11-12
Do the following line by line to unerstand it
u=magic(6)
int=4
1:1+int
u(1:1+int,1)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!