![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/585161/image.png)
Matrix display answers without sigmas
24 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Valter Silva Nava
il 13 Apr 2021
Commentato: Valter Silva Nava
il 17 Apr 2021
Hello, I am working with matrices and need to monitoring in some steps the info of the matrix, but sometimes instead of having a complete answer, the Matlab shows them with sigmas, like variables. I want to know if there is a way to modify the Matlab to always get the complete info in the matrices, without the sigmas.
For example:
syms E E1 E2 E3;
E1 = -1; E2 = 1; E3 = 0;
N1 = ((E-E2)/(E1-E2))*((E-E3)/(E1-E3));
N2 = ((E-E1)/(E2-E1))*((E-E3)/(E2-E3));
N3 = ((E-E1)/(E3-E1))*((E-E2)/(E3-E2));
b= [diff(N1,E) diff(N2,E) diff(N3,E)];
k= b.* b.'
This is what Matlab shows me:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/581286/image.png)
I want to see the matrix with all the correct info, not with sigma variables.
2 Commenti
Anshika Chaurasia
il 16 Apr 2021
Hi,
Which MATLAB version you are using?
On running your given code on MATLAB R2021a, I got following output:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/585161/image.png)
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!