photo

Disciple of the Forbidden Spell


Active since 2018

Followers: 0   Following: 0

Statistics

  • First Answer
  • Revival Level 1

View badges

Feeds

View by

Question


How to gracefully truncate a matrix of unknown dimensions?
Suppose here comes a function Truncated=MatrixTruncate(Input,Dimension,a,b) Input is a matrix, whose dimension is unknown and ...

5 years ago | 1 answer | 0

1

answer

Question


Freezing after calling strcat()
str1 = ["John ","Mary "]; str2 = ["Smith","Jones"]; str = strcat(str1,str2) The code above is the example code from https://w...

5 years ago | 0 answers | 0

0

answers

Answered
Pre-allocation of array of objects, or 'complex data'
<https://cn.mathworks.com/matlabcentral/answers/195210-how-to-efficiently-preallocate-an-array-of-handle-objects How to efficien...

6 years ago | 0

Answered
How to efficiently preallocate an array of handle objects
To preallocate the object array, assign the last element of the array first. MATLAB® fills the first to penultimate array elemen...

6 years ago | 0