Multiply (logical) array with cell
조회 수: 6 (최근 30일)
이전 댓글 표시
Matrix 3x2
a = [1 0 ;
1 0;
0 1 ]
Cell 2x1
b = [ 'Hello ;
'Goodby'];
Wanted outcome c=a*b 3x1
c = ['Hello ;
'Hello;
'Goodby']
댓글 수: 1
Jan
2021년 3월 10일
b = [ 'Hello ;
'Goodby'];
This is not a cell and not even valid Matlab syntax. Do you mean curly braces?
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!