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

1 次查看(过去 30 天)

采纳的回答

Walter Roberson
Walter Roberson 2021-6-11
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 = 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by