MATLAB Answers

What is u(1:1+int,1)?

1 ビュー (過去 30 日間)
Yilmaz Sagdic
Yilmaz Sagdic 2019 年 11 月 12 日
回答済み: Nadir Altinbas 2019 年 11 月 12 日
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 件のコメント

Sign in to comment.

採用された回答

Nadir Altinbas
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 件のコメント

Sign in to comment.

その他の回答 (1 件)

Fangjun Jiang
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 件のコメント

Sign in to comment.

タグ


Translated by