矩阵不同位置相同元素编写。
Show older comments
求助:
目前编写矩阵,对于里面位置元素编写存在疑问
例如,
A=[0 0 0;
1 1 1;
0 0 0];,这样我将1元素所在的位置当作一条直线。
当B=[01 0;
1 0 1;
0 0 0];我将1所有位置当作一条曲线。
当矩阵的行列过多时,我该如何编写曲线,形如B这样的矩阵。
Accepted Answer
More Answers (0)
Categories
Find more on 插值 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!