Represent a vector as ± form
1 回表示 (過去 30 日間)
古いコメントを表示
I have a vector
v1 = [86 90 87 89 88];
I want to represent the vector v1 as 88±2
Please please me to represent any vector of any size as ± form?
Another example
v2 = [0.8331;0.8771;0.8531;0.8558;0.8649];
0 件のコメント
回答 (1 件)
KSSV
2022 年 10 月 10 日
v1 = [86 90 87 89 88];
iwant = [v1-2;v1+2] % first row is v1+2 and second row is v1-2
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!