From: Jan Simon on
Dear Bruno!

> The slow part is [B{:}], and Jan's submission can nicely fix that:
> Thanks Jan,

You are welcome.
I'm still surprised that [B{:}] obviously forget to pre-allocate the output for strings. Perhaps TMW could post the source of HORZCAT and get the usual comments from the CSSMers.

Thanks, Jan
From: Bruno Luong on
"Oleg Komarov" <oleg.komarovRemove.this(a)hotmail.it> wrote in message <hur32p$d82$1(a)fred.mathworks.com>...

>
> TMW should really implement Jan's solution.

Agree

Bruno
From: dpb on
Ulrich wrote:
> anyhow, thx dpd!
>
> It seams to me that Matlab is not able to perform that within one
> function call!

Well, I expect newer versions can w/ arrayfun() and/or bsxfun() but my
version predates both so I'm not adept w/ their syntax...

--
From: Jan Simon on
Dear Oleg,

> TMW should really implement Jan's solution.
> Oleg

Thanks for this positive comments about CStr2String.
I offered this more or less trivial function (and some others) as suggestion of improvement to support(a)mathworks last year and it was posted to the "developer board" without catching attention.
For me myself it is not important that TMW implements this, because I'm naturally satisfied with my own function. But if it is your opinion, that it "should really" be implemented, let me mention, that there is nothing I can do in addition to support this.

Kind regards, Jan
First  |  Prev  | 
Pages: 1 2 3
Prev: F28335 plus TIMER1
Next: parking sensor very much