Hello all,
I'm working with h=rayleighchan() object. Can anybody tell me how I can create a matrix of h with specific size? i.e. [h h ...h] I've tried h*ones(2,5) but it's not working.

 採用された回答

Walter Roberson
Walter Roberson 2011 年 9 月 5 日

0 投票

Try
repmat(h,2,5)
Also try
h25(1:2,1:5) = h;

2 件のコメント

Bahareh
Bahareh 2011 年 9 月 6 日
Thanks Mr. Roberson.
I would be very grateful if you could please let me know how I can do mathematical operations on this object?
For example if would like to raise the power of h to 2? Is there any way to do it?
Thank you in advance.
Walter Roberson
Walter Roberson 2011 年 9 月 6 日
Sorry, I do not have that toolbox, so I am unable to experiment with it.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Communications Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by