Create a matrix with letters
이전 댓글 표시
I would like to know how to create the following matrix:

When there is a list of points with weights (xi, yi, zi are coordinates and mi are weights) I just don't know how to create it with those letters.
댓글 수: 4
James Tursa
2018년 4월 6일
Do you currently have variables with the m, x, y, z data in them?
Lee Cohen
2018년 4월 6일
James Tursa
2018년 4월 6일
편집: James Tursa
2018년 4월 6일
Are you trying to form a symbolic matrix? How is this going to be used downstream in your code?
Lee Cohen
2018년 4월 6일
편집: James Tursa
2018년 4월 6일
답변 (1개)
James Tursa
2018년 4월 6일
Is this what you want:
A = [sym('m%d',[n 1]) sym('x%d',[n 1]) sym('y%d',[n 1]) sym('z%d',[n 1])]
카테고리
도움말 센터 및 File Exchange에서 Number Theory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!