Christopher2222

5785 Reputation

24 Badges

16 years, 350 days

MaplePrimes Activity


These are answers submitted by Christopher2222

This is only one option.  You can try using convert and then use Reverse from ListTools.

g:=10101110

h:=convert(g,base,10)
                                           h:=[0,1,1,1,0,1,0,1]
with(ListTools):

hh:=Reverse(h)
                                                [1,0,1,0,1,1,1,0]

n0:=hh[1]
                            n0:=1

n1:=hh[2]
                            n1:=0

...

 

 

I ask myself, is there a way around this issue.  Anything I've tried mathematically does not allow the transformed 3d plot to look like the 2d plot.  I tried matrixplot and a couple of other ideas but it doesn't get around the way Maple shades 3 dimensional objects.  However I did come up with one solution that should work (haven't tried it but it should work), it is a poor solution as it requires extra steps. 

My solution was to export the 2d image as a .bmp file and then import that image onto a 2d plane in 3 space, much like what I did with my 3 section layer pseudo image of a human skull. 

If anyone can suggest a better idea or a way to do it without exporting to a bmp, I'm open to them.  In the meantime the bmp solution will do for now. ... perhaps increasing the number of points will partially fix the situation.  I'll have to try that when I get home.

So it appears the view option doesn't work for pointplot3d (standard interface).  It appears to mess up the zoom option when a symbol type is selected. 

One workaround, albeit a poor one, is to add a couple of extra outlying dummy points.  In my example we could add the extra points [-10,-10,-10] and [10,10,10].

Is there a fix for this being worked on as well?

x:="0.01":

x1:=parse(x);
                        x1:=0.01
5*x1;
                           0.05

 

Even though Maple should have defaulted to the same number of different values we can use the range command to equal the number of values + 1 if we're using colorstyle=HUE unless, of course, one had other intentions in mind.

There is a delay.  Or if you reply as a comment to an answer it will not appear at the top.

Also if you have an older version of internet explorer, mapleprimes does not work well, it is unfriendly to older versions of Internet Explorer. 

You may also run into an existing problem of properly refreshing the site. 

   1 - When you refresh the recent/all page it updates and refreshes properly.
   2 - However, if you have already opened a question page, go to it again and refresh it is not updated. 

The only way around this is to empty the cache and reload the page. 

However (sigh), I can see that your post is at the top.

It's not the 2 digit integer that causes the error.

In your mylist:=[1,2,3]  it only has 3 positions if you did mylist:=[1,2,4] you would also get that error because the 4 in your list, when you use it in your loop the mylist[x] becomes mylist[4] which you are telling it to refer to the fourth position in your list which you do not have. 

Thanks Doug for looking into this, I thought about putting text into sections to collapse, but that's not exactly what I would like to have to do.  I too thought this was something simple and I was just missing something. 

.... Aha!, just now I have just found a way.  Here's the trick

Under Format -> Styles (select C text) -> Modify  -  change the color to white.  This will blank out all text created in your document. 

Of course it would be nice if there was a simple toggle box to do this but luckily there is a way. 

Beautiful

Thanks.  map2 without map, I missed that one and never thought about using eval either, nice one.  And thanks for that proc, I recalled something like that too however I was unable to find it, thanks for reposting the code.

differences in calling sequence (no standard)

It's sometimes confusing how some of the commands in maple reverse/swap the calling sequence order on occassions.  for example

L:=[1,2,3,4,5,6]

has(L,2)
                 true

member(2,L)
                    true

So occassionally these sequences can be mixed up and cause some headaches at times.  I t hink sometimes it's often the way one percieves how the command should work, then find out it works opposite so you think a similar command would work the same way but you guess wrong.  I'm wonder if anyone else has pondered these differences.   The only reason I can see that they were configured differently is if these commands were implemented by different people.  Has this standard of sequence calling been overlooked?

Thanks, high speed is easy enough to connect.

But i had a little trouble with dial up, you need to set it to automatically connect.  When the connect option came up I didn't know how to send a command return or c that would allow the connection.  However with internet explorer the only way I could think of is to use the timeout after a certain amount of time in-activity. 

Unfortunately other programs do not have that same option and it is quite unfortunate the operating systems don't offer a command kill option.

You probably have the 64 bit version of Maple 14.  It does not have the classic interface (for reasons I do not know) however the 32 bit version of Maple 14 does.

A somewhat more roundabout complex route, and by all means not exactly the best route.  I'm sure a procedure could be set up to do this.  Using the function exp(-x) and hatching under the curve from 0 to 1 using hatch lines of y=x + i incremental family of lines

with(plots):

a:=seq(solve(x+(1/10)*i = exp(-x), x), i = -10 .. 10)

for i from 1 to 20 do
  b[i]:=plot(x+(i-11)*(1/10), x = 0 .. c[i])
end do:

d:=plot(exp(-x),x=0..1,color=green):

display({d, seq(a[i], i = 1 .. 20)}, view = [0 .. 1, 0 .. 1])

Also to note, changing the thickness of the lines doesn't work too well (lines overhang the axes)

I often sometimes wondered the same thing, here's some great information http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?r=76538

An array can be multi-dimensional, but does that mean a 3-dimensional Matrix is an Array and a Matrix is just a 2 dimensional Array?  I wonder about the interchangeability of the naming of the two, like, why would one call a 4x4 data structure a Matrix as opposed to an array?  I think it comes down to the types of operations one plans to do on the data structure. 

Okay got it!

for i to 10 do
  a || 1 := readdata(cat("c:/test/", i, ".txt"), string, 7) :
end do:

Thanks to Robert Israel from another post I was able to locate.

It could be that scripts are running in the background.  Or a virus.

I noticed that there is a performance drop going from Maple 12 to Maple 13.  Maple 13 is noticeably a little slower than 12 (more resource intensive - standard interface) even though the efficiency may have been cleaned up.

I also notice when mcaffee starts scanning in the background Maple slows down, so it has to be scripts slowing the kernel down. 

You could try system restore to an earlier point a few days ago to when you know it was running fast?  I'm not using windows 7 so I can't say for sure that it isn't a conflict with the software or not.  But the system restore should return it to a faster state if something had happened with your software in between. 

First 32 33 34 35 36 37 38 Last Page 34 of 47