how to write in matlab?

3 views (last 30 days)
Sultan Mehmood
Sultan Mehmood on 21 Jun 2019
Commented: Shwetank Shrey on 21 Jun 2019
flag(j)<------- 1, t(i)<------- j.
which sign is used instead of arrow(<--------) between them.
  2 Comments
Shwetank Shrey
Shwetank Shrey on 21 Jun 2019
What do you mean by the arrows?
Shwetank Shrey
Shwetank Shrey on 21 Jun 2019
are you trying to use limits here?

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 21 Jun 2019
flag(j) = 1;

Shwetank Shrey
Shwetank Shrey on 21 Jun 2019
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.

Products

Community Treasure Hunt

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

Start Hunting!