Feeds
提问
Using ndgrid in arbitrary dimensions
Hi, I have a 3x20 matrix called b. If I use ndgrid like this: [xx, xy, xz] = ndgrid(b(1,:),b(2,:),b(3,:)); I get 20x2...
11 years 前 | 1 个回答 | 2
1
个回答提问
How to generalize 2 dimensions into n dimensions with a for loop?
Hi, In 2D, I have a script like this: bx = [min(x(1,:)) : ( (max(x(1,:)) - min(x(1,:))) /20 ) : max(x(1,:))]; by...
11 years 前 | 1 个回答 | 0
1
个回答提问
How can I create a specific matrix in a for loop?
Hi, I have a 4x50 matrix which is defined as x. I'm trying to store each row of x inside each row of b with a formula that is...
11 years 前 | 2 个回答 | 0