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