Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
subs in R2008b; matrix concatenation impossible?

Subject: subs in R2008b; matrix concatenation impossible?

From: Joerg Buchholz

Date: 12 Dec, 2008 10:06:02

Message: 1 of 6

syms a b
m = [a b]
 
m =
 
[ a, b]
 
syms a1 a2 b1 b2
a = [a1 a2]
 
a =
 
[ a1, a2]
 
b = [b1 b2]
 
b =
 
[ b1, b2]
 
subs (m)
 
ans =
 
[ a1, b2, a, b]

Subject: subs in R2008b; matrix concatenation impossible?

From: us

Date: 12 Dec, 2008 10:40:05

Message: 2 of 6

"Joerg Buchholz"
> syms a b
> m = [a b]
> syms a1 a2 b1 b2
> a = [a1 a2]
> b = [b1 b2]
> subs (m)
> [ a1, b2, a, b]

yet another bug in a long list due to an inconceivably ill-considered move by TMW to prematurely exchange a well-working engine with an inferior product (i cannot remember that users were consulted ahead of such a far-reaching decision)...

this does not make it better

     syms a b a1 a2 b1 b2
     m=[a,b]; % as above
     a=[a1,a2];
     b=[b1,b2];
% now
     subs([a,b])
% ans = [ a1, a2, b1, b2] % ok
     subs(m)
% ans = [ a1, b2, a, b] % as above, works as expected in r2008a
     m=[a,b]
% m = [ a1, a2, b1, b2] % ok

joerg, did you already create a bug-report?
us

Subject: subs in R2008b; matrix concatenation impossible?

From: Joerg Buchholz

Date: 12 Dec, 2008 11:55:03

Message: 3 of 6

"us " <us@neurol.unizh.ch> wrote in message <ghtf25$avm$1@fred.mathworks.com>...
<snip>

> joerg, did you already create a bug-report?
> us

I did. (#8 of R2008b ;-))

Subject: subs in R2008b; matrix concatenation impossible?

From: Joerg Buchholz

Date: 12 Dec, 2008 12:35:03

Message: 4 of 6

"us " <us@neurol.unizh.ch> wrote in message
<snip>
> yet another bug in a long list due to an inconceivably ill-considered move by TMW to prematurely exchange a well-working engine with an inferior product (i cannot remember that users were consulted ahead of such a far-reaching decision)...

After a few hours of playing around with the MuPAD engine I get the feeling that the new symbolic engine is not really the problem. It seems to be slower but more accurate than Maple. The problem is the lousy MuPAD-Matlab interface; which is good news, because I am optimistic that TMW developers will soon be able to debug the interface without the need to touch the MuPAD kernel. ;-)

Subject: subs in R2008b; matrix concatenation impossible?

From: us

Date: 12 Dec, 2008 12:55:04

Message: 5 of 6

"Joerg Buchholz" <buchholz@hs-bremen.de> wrote in message <ghtlpn$e44$1@fred.mathworks.com>...
> "us " <us@neurol.unizh.ch> wrote in message
> <snip>
> > yet another bug in a long list due to an inconceivably ill-considered move by TMW to prematurely exchange a well-working engine with an inferior product (i cannot remember that users were consulted ahead of such a far-reaching decision)...
>
> After a few hours of playing around with the MuPAD engine I get the feeling that the new symbolic engine is not really the problem. It seems to be slower but more accurate than Maple. The problem is the lousy MuPAD-Matlab interface...

yes, that's why i used the word ENGINE rather than MUPAD - thus referring to the whole wrapper/sym-package - which is what the ML user experiences, after all...
i don't want to play with mupad, i want to use ML's tbx, which costs a lot of money...

us

Subject: subs in R2008b; matrix concatenation impossible?

From: Joerg Buchholz

Date: 15 Jan, 2009 15:53:01

Message: 6 of 6

The bug has not been fixed in R2009a.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us