フィルターのクリア

How can i get table with data of u1,u2,u3,u4?

3 ビュー (過去 30 日間)
Shreen El-Sapa
Shreen El-Sapa 2023 年 12 月 3 日
コメント済み: Image Analyst 2023 年 12 月 3 日

採用された回答

Image Analyst
Image Analyst 2023 年 12 月 3 日
Instead of your last line where you called table2array, try this:
T = table(u1', u2', u3', u4', 'VariableNames', {'u1', 'u2', 'u3', 'u4'})
  5 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 12 月 3 日
Image Analyst
Image Analyst 2023 年 12 月 3 日
round has an option to round to a certain number of decimal points.
format long g
x = rand(10, 1)
x = 10×1
0.581605172668424 0.756955007866143 0.354740429451356 0.149793736097135 0.733672639886283 0.581139548041822 0.00520451816870482 0.943821381021493 0.456592241491234 0.659221182203463
%Number of digits after the decimal
N = 5;
y = round(x, 5)
y = 10×1
0.58161 0.75696 0.35474 0.14979 0.73367 0.58114 0.0052 0.94382 0.45659 0.65922

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by