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

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

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

More Answers (0)

Categories

Products

Release

R2022b

Asked:

on 17 Nov 2022

Answered:

on 17 Nov 2022

Community Treasure Hunt

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

Start Hunting!