How to put this in matlab by user which the dimensions of the table changes

1 view (last 30 days)

Accepted Answer

Walter Roberson
Walter Roberson on 11 Jun 2021
N = 5;
syms i x_i w_i y_i L w
yi = sym('y_i', [1 N-1]);
yi = [0, yi, 0];
P = (0:N)/N;
M = [i, 0:N; x_i, L*P; w_i, w*P; y_i, yi]
M = 

More Answers (0)

Community Treasure Hunt

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

Start Hunting!