Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Convert matrix of syms to hold real values.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello.
I have a slight problem, here is my code:
syms sig11; syms sig22; syms sig12;
sigmat = [sig11,sig22,sig12];
f = sqrt(3/2*sigmat*P*sigmat.');
dfdsig = [diff(f,sig11);diff(f,sig22);diff(f,sig12)];
df2dsig2 = [diff(dfdsig(1),sig11),diff(dfdsig(1),sig22),diff(dfdsig(1),sig12); diff(dfdsig(2),sig11),diff(dfdsig(2),sig22),diff(dfdsig(2),sig12); diff(dfdsig(3),sig11),diff(dfdsig(3),sig22),diff(dfdsig(3),sig12)];
What I want to do here is to change sig11,sig22 and sig12 to hold real values so that I can use my obtained matrix.
How should I do this?
0 Commenti
Risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!