how to write in matlab?

1 次查看(过去 30 天)
Sultan Mehmood
Sultan Mehmood 2019-6-21
flag(j)<------- 1, t(i)<------- j.
which sign is used instead of arrow(<--------) between them.
  2 个评论
Shwetank Shrey
Shwetank Shrey 2019-6-21
What do you mean by the arrows?
Shwetank Shrey
Shwetank Shrey 2019-6-21
are you trying to use limits here?

请先登录,再进行评论。

回答(2 个)

Walter Roberson
Walter Roberson 2019-6-21

Shwetank Shrey
Shwetank Shrey 2019-6-21
If you are trying to assign flag(j) and t(i) values, then you should use :
flag(j) = 1;
t(i) = j;
Please check documentation or existing Matlab answers before asking your query.

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by