In the output my matrices keep coming up as 1.0e+0.3* and then the matrix. the numbers are already small
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chloe St John
el 28 de Mzo. de 2020
Comentada: Chloe St John
el 28 de Mzo. de 2020
In the output my matrices keep coming up as 1.0e+0.3* and then the matrix. the numbers are already small and this ends up getting rid of some of the figures that i require. does anyone know how to prevent this?
my code reads the first 2 lines. the matrix is in the correct form and numbers in the right places, its just the 10^3 problem.
thank you
Reconstructed_matrix = [Reconstructed_accel, Reconstructed_GNSS, Reconstructed_pressure, Reconstructed_indoor, Reconstructed_walking]
%The vectors are combined to form a reconstructed matrix
Reconstructed_matrix =
1.0e+03 *
0.0000 0.0175 1.0241 0.0010 -0.0000
0.0096 0.0187 1.0243 0.0008 0.0008
0.0113 0.0216 1.0242 0.0005 0.0010
0.0117 0.0293 1.0239 -0.0001 0.0010
0.0000 0.0169 1.0241 0.0010 -0.0000
0.0000 0.0307 1.0235 -0.0000 0.0000
0.0103 0.0296 1.0238 -0.0001 0.0009
0.0000 0.0311 1.0235 -0.0000 0.0000
0.0109 0.0157 1.0245 0.0010 0.0009
0.0001 0.0162 1.0242 0.0011 -0.0000
0.0085 0.0191 1.0243 0.0007 0.0007
0.0000 0.0153 1.0242 0.0011 -0.0001
0.0089 0.0283 1.0239 0.0001 0.0008
0.0001 0.0304 1.0235 0.0000 0.0000
0 comentarios
Respuesta aceptada
Abdallah Ghazi Faisal Zaid Alkilani
el 28 de Mzo. de 2020
In the link below might be the answer you are looking for.
Más respuestas (0)
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!