Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ReplacePart' topicStudent Support Forum > General > "ReplacePart"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
05/04/12 11:22pm

In Response To 'Re: Re: ReplacePart'
---------
Thank you for the small example.

The first problem I see is that there are only errors as a result of your

Z=ReplacePart[X,{k1,j1}->stuff]

This is because you have not assigned values to k1 and j1 in this file.

If that is not just a typo and you are trying to understand why you are getting the error messages then just insert

k1=1;j1=1;

in front of your Z=ReplacePart[].

When I make that change I get the result of ReplacePart, but I cannot tell if that is what you really want or whether k1=1;j1=1; is what you really need there.

If I have misunderstood and that is not your real problem then please try to be more specific and I'll see what I can do.

URL: ,

Subject (listing for 'ReplacePart')
Author Date Posted
ReplacePart Yoav 04/28/12 05:19am
Re: ReplacePart Bill Simpson 05/01/12 09:35am
Re: Re: ReplacePart Yoav 05/04/12 04:03am
Re: Re: Re: ReplacePart Bill Simpson 05/04/12 11:22pm
Re: Re: Re: Re: ReplacePart Yoav 05/06/12 10:54am
Re: ReplacePart Peter Pein 05/04/12 06:27am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic