rayleighhchan object

2 views (last 30 days)
Bahareh
Bahareh on 5 Sep 2011
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.

Accepted Answer

Walter Roberson
Walter Roberson on 5 Sep 2011
Try
repmat(h,2,5)
Also try
h25(1:2,1:5) = h;
  2 Comments
Bahareh
Bahareh on 6 Sep 2011
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 on 6 Sep 2011
Sorry, I do not have that toolbox, so I am unable to experiment with it.

Sign in to comment.

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!