Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#Octave, 27 bytes

Octave, 27 bytes

We're adding a row and a column vector, and Octave nicely expands the sigleton dimensions, no need for bsxfun (as you would need in Matlab).

[mod((v=0:25)+v',26)+65,'']

#Octave, 27 bytes

We're adding a row and a column vector, and Octave nicely expands the sigleton dimensions, no need for bsxfun (as you would need in Matlab).

[mod((v=0:25)+v',26)+65,'']

Octave, 27 bytes

We're adding a row and a column vector, and Octave nicely expands the sigleton dimensions, no need for bsxfun (as you would need in Matlab).

[mod((v=0:25)+v',26)+65,'']
added 146 characters in body
Source Link
flawr
  • 44.1k
  • 7
  • 109
  • 253

#Octave, 27 bytes

We're adding a row and a column vector, and Octave nicely expands the sigleton dimensions, no need for bsxfun (as you would need in Matlab).

[mod((v=0:25)+v',26)+65,'']

#Octave, 27 bytes

[mod((v=0:25)+v',26)+65,'']

#Octave, 27 bytes

We're adding a row and a column vector, and Octave nicely expands the sigleton dimensions, no need for bsxfun (as you would need in Matlab).

[mod((v=0:25)+v',26)+65,'']
Source Link
flawr
  • 44.1k
  • 7
  • 109
  • 253

#Octave, 27 bytes

[mod((v=0:25)+v',26)+65,'']

AltStyle によって変換されたページ (->オリジナル) /