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

Results for


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
Last activity 2023-11-10

Wait for Walter, the rest of us are mere users.
Image Analyst
Image Analyst
Last activity 2023-10-16

MATLAB Training
Image Analyst
Image Analyst
Last activity 2023-10-16

MATLAB Training
Image Analyst
Image Analyst
Last activity 2023-10-16

Embarassed by Walter Roberson
Image Analyst
Image Analyst
Last activity 2023-10-16

Image Analyst
Image Analyst
Last activity 2023-10-16

MATLAB Road in theaters May 15, 2024.
Image Analyst
Image Analyst
Last activity 2023-10-16

(From "The Exorcist" movie poster)
Albert Einstein uses MATLAB
Dynamic Field Name shaming
Image Analyst
Image Analyst
Last activity 2023-10-16

We told you "NO!!!"
I climbed the L-Shaped Peak
Image Analyst
Image Analyst
Last activity 2023-10-16

Choose your weapon
Go to top of page