Calculating matrix

February 02 2012 by serena88 20
false
Maple

0


Hi, this is probably very simple but I can't seem to get Maple to show me the Matrix that I want. Could you please let me know what is the problem?

N0:=s->1-s;

N1:=s->s;

N:=s->[N0(s) N1(s)];

Both `$`N(s) and N(s) shows me the statement "error, in N[0] too many levels of recursion"

Then I change to Nj:=s->[N0(s) N1(s)];

The solution comes out to be [N0(s) N1(s)] and not [1-s s]

Question 1: is there any ways that I can name it N(s) without any "j" in it?

Question 2:How do I get N(s) to show me the calculated solution in s values that I insert?

Thanks.

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account