when i run, have a error " Undefined function 'slot_format' for input arguments of type 'double'.
Error in Untitled1 (line 40) s_format = slot_format(sf_no); % returns slot format: s_format(1)=sf, s_format(2)= Ndata1, s_format(3)= Ndata3, s_format(4)= Ntpc, s_format(5)= Ntfci, s_format(6)= Npilot"

2 件のコメント

per isakson
per isakson 2014 年 4 月 26 日
Proposals
  • rephrase your question
  • do not include more than a few lines of code in the question
  • put the code in an attachment
Nguyen Hoa
Nguyen Hoa 2014 年 4 月 26 日
編集済み: Nguyen Hoa 2014 年 4 月 26 日
i'll rephrase soon. thank you!

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

 採用された回答

per isakson
per isakson 2014 年 4 月 26 日
編集済み: per isakson 2014 年 4 月 26 日

0 投票

slot_format is obviously not defined when the line
s_format = slot_format(sf_no);
is reached. I created a function
function str = slot_format( jj )
jj = rem( jj-1, 6 ) + 1;
cac = { 'sf', 'Ndata1', 'Ndata3', 'Ntpc', 'Ntfci', 'Npilot' };
str = cac{jj};
end
to see if that would make your script run. However, it erred at the line
pilot_slot = s_format(6);
because s_format is a scalar.

3 件のコメント

Nguyen Hoa
Nguyen Hoa 2014 年 5 月 9 日
Thank you, i'll try. Can you help me simulate performance of smart Antennas at handsets, please?
per isakson
per isakson 2014 年 5 月 9 日
Sorry, I know nothing about smart antennas. However, have you searched the File Exchange for smart antenna
Nguyen Hoa
Nguyen Hoa 2014 年 5 月 12 日
Yes, thanks for your help!

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

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2014 年 4 月 26 日

コメント済み:

2014 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by