In the output my matrices keep coming up as 1.0e+0.3* and then the matrix. the numbers are already small
3 ビュー (過去 30 日間)
古いコメントを表示
Chloe St John
2020 年 3 月 28 日
コメント済み: Chloe St John
2020 年 3 月 28 日
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 件のコメント
採用された回答
Abdallah Ghazi Faisal Zaid Alkilani
2020 年 3 月 28 日
In the link below might be the answer you are looking for.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!