필터 지우기
필터 지우기

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

조회 수: 3 (최근 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..

채택된 답변

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

추가 답변 (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)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by