How to use 'tid' command?

1 回表示 (過去 30 日間)
Idris jae
Idris jae 2020 年 4 月 22 日
コメント済み: Idris jae 2020 年 4 月 22 日
Hi guys,
I am not sure if I put the question right.
I am trying to understand a code i came across and trying tiunderstand the implmentation.
Equation 1 is clear, the question is on equation 2. can anyone explain the function of ''@(tid)".
I have checked MATLAB documentation but found skelatal explanation.
Thank you
wvppts.wvelv = @(h,x,y,wf,t) 0.5*h*cos(k*x-wf*t);.............1
vpostnSb=@(tid) real(wvppts.wvelv(h,x,y,const.wf,tid)).........2
  2 件のコメント
Stephen23
Stephen23 2020 年 4 月 22 日
編集済み: Stephen23 2020 年 4 月 22 日
"How to use 'tid' command?"
tid is not a command, it is the input argument of an anonymous function:
Idris jae
Idris jae 2020 年 4 月 22 日
I still didnt get clear explanantion on 'tid"., All I get in the matlab documentation is tid is task identifier,please i want to know how it works in the function.
is it some sort of range of values?

サインインしてコメントする。

回答 (1 件)

Idris jae
Idris jae 2020 年 4 月 22 日
thanks

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by