can we use Xlswrite in symbolic variables?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a matrix (for example [B]) which it includes symbolic variables in its rows.
So I want to transfer it to Excel , is it possible?
댓글 수: 0
채택된 답변
KSSV
2019년 8월 20일
syms x_1 y_1
A_sym = sym(zeros(2,2));
A_sym(1,1) = x_1;
A_sym(2,1) = x_1 * y_1 ;
A_sym(2,2) = y_1;
sym_cell = arrayfun(@char,A_sym, 'uniform', 0) ;
xlswrite('test.xlsx',sym_cell)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!