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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Sept. de 2011

0 votos

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

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by