How can i get table with data of u1,u2,u3,u4?
3 views (last 30 days)
Show older comments
Accepted Answer
Image Analyst
on 3 Dec 2023
Instead of your last line where you called table2array, try this:
T = table(u1', u2', u3', u4', 'VariableNames', {'u1', 'u2', 'u3', 'u4'})
5 Comments
Image Analyst
on 3 Dec 2023
round has an option to round to a certain number of decimal points.
format long g
x = rand(10, 1)
%Number of digits after the decimal
N = 5;
y = round(x, 5)
More Answers (0)
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!