How to make matrix dimensions equal?
이전 댓글 표시
Size of x is 99*1000
Size of win is 1000*1
How to make both x and win the same dimension
Y=x.*win
댓글 수: 2
KSSV
2016년 5월 12일
why you want to make same dimension? Each column of x is same as win.
Nimisha oa
2016년 5월 12일
답변 (1개)
Azzi Abdelmalek
2016년 5월 12일
Maybe you want this
%-----Example-------------
x=rand(99,1000)
win=rand(1000,1)
%---------------------------
out=bsxfun(@times,x,win')
카테고리
도움말 센터 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!