can we use Xlswrite in symbolic variables?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
masoud jiryaei
am 20 Aug. 2019
Beantwortet: KSSV
am 20 Aug. 2019
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 Kommentare
Akzeptierte Antwort
KSSV
am 20 Aug. 2019
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Specialized Power Systems finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!