I need to create a Table. How do I create the output of the table values of a function?

3 views (last 30 days)
theta = 0:15:90;
m=55:10:75;
col = (m);
row = (theta);
uitable('columnname',col,'rowname',row,'Data',);
What Should I input for data in order to create the table for the function "v(x,:)=m+sin(theta/180*pi);"

Accepted Answer

Voss
Voss on 17 Nov 2022
theta = 0:15:90;
m = 55:10:75;
uitable( ...
'ColumnName',m, ...
'RowName',theta, ...
'Data',m+sind(theta).');

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!