MATLAB Central Discussions - Join the conversation!
主要内容

搜索


Matt J
Matt J
上次活动时间: 2024-3-1

Would it be a good thing to have implicit expansion enabled for cat(), horzcat(), vertcat()? There are often situations where I would like to be able to do things like this:
x=[10;20;30;40];
y=[11;12;13;14];
z=cat(3, 0,1,2);
C=[x,y,z]
with the result,
C(:,:,1) =
10 11 0
20 12 0
30 13 0
40 14 0
C(:,:,2) =
10 11 1
20 12 1
30 13 1
40 14 1
C(:,:,3) =
10 11 2
20 12 2
30 13 2
40 14 2
Image Analyst
Image Analyst
上次活动时间: 2023-11-10

Wait for Walter, the rest of us are mere users.
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

Image Analyst
Image Analyst
上次活动时间: 2023-10-16

MATLAB Training
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

Embarassed by Walter Roberson
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

Image Analyst
Image Analyst
上次活动时间: 2023-10-16

MATLAB Road in theaters May 15, 2024.
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

(From "The Exorcist" movie poster)
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

Albert Einstein uses MATLAB
Image Analyst
Image Analyst
上次活动时间: 2023-10-24

Dynamic Field Name shaming
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

We told you "NO!!!"
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

I climbed the L-Shaped Peak
Image Analyst
Image Analyst
上次活动时间: 2023-10-16

Choose your weapon
Go to top of page