rayleighhchan object

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.

 Réponse acceptée

Walter Roberson
Walter Roberson le 5 Sep 2011

0 votes

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

2 commentaires

Bahareh
Bahareh le 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 le 6 Sep 2011
Sorry, I do not have that toolbox, so I am unable to experiment with it.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by