how to write in matlab?

1 view (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
are you trying to use limits here?

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 21 Jun 2019
flag(j) = 1;
  1 Comment
Sultan Mehmood
Sultan Mehmood on 21 Jun 2019
and next be same like?
t(i)=j..?

Sign in to comment.


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.

Community Treasure Hunt

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

Start Hunting!