Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to concatenate two matrices into single with +/- sign between them (Matlab 2017b)

1 回表示 (過去 30 日間)
Mukund
Mukund 2018 年 11 月 18 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
A=[1 2; 3 4] % Actual matrix is 100x100.
B=[0.53 0.75; 0.23 0.14] % Number of decimal is high and expected to be 2 max
% Expected result
C=[1+/-0.53 2+/-0.75; 3+/-0.23 4+/-0.14]

回答 (1 件)

Cris LaPierre
Cris LaPierre 2018 年 11 月 18 日
Not possible with arrays of numbers. The only way to do this is to build a string or character array and save that as C.

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by