Christopher2222

5785 Reputation

24 Badges

16 years, 350 days

MaplePrimes Activity


These are answers submitted by Christopher2222

So I would have to use convert then?

convert(a, Array);

I'm currently not near a computer with maple installed so I can't check right away but would the array then autosize to the largest indici value?  ie.  If i had a[5,6]:=7;  then would Maple automatically make the array 5x6 and fill in zeros for the undefined positions? 

If I assign positions of a matrix or array but do not define it as such, Maple does not return the values if I type in a; 

For example: if I type in a[1,1]:=5: a[1,2]:=6: a[2,1]:=7: a[2,2]:=8:  and then type in a;  Is it because I have not assigned those values to represent a matrix or array in .. a .. that it does not return the values?  How would I force Maple to recognize the values I assigned to the positions of a so that when I type a, I would get the 2x2 matrix without using the Matrix or Array commands?

** edit ** ooops I meant to put this in as a new topic.

I believe using the frequencyscale=absolute option is what you are looking for. 

 

There are no lens distortion correction modules available, at least that I know of.  You or someone else will have to create one.  Unfortunately Matlab has a nice selection of image manipulation tools.  I'd like to see a little more of the same here in Maple on this topic as well.

The only tutorial for maple on this topic is here http://www.mapleprimes.com/blog/jan/image_processing_with_maple 

and of course in the Maple help file  http://www.maplesoft.com/support/help/AddOns/view.aspx?path=applications/ImageProcessing

 

 

CRTL + SHIFT J or k  will insert above or below without the red arrow indent.

hm, i just ran the same command in Maple 12 and it works fine using solve(x2=sin(x),x);

solve (x2-sin(x),x);

          RootOf(-sin(_Z)+_Z^2, label = _L1)

 Not sure why it doesn't solve with the equal sign.

This should pretty much do it.

I saved your image to a bitmap file, then read the file in and used some of image tools in maple

with(ImageTools):
img:=Read("c:/Program Files/Maple 12/mapletest.bmp");

img2:=RGBtoGray(img);

img3:=Clip(img2,low=0,high=.7);

Right click on the matrix and browse to view and adjust your high value to whatever you see fit. 

 

I had recently mentioned for users that had 100pts or more to allow them to delete a post that was spam.  So it looks like it was implemented and later removed for various reasons. 

Another idea is if a post is flagged for delete by users by at least 5 times by users with at least 100pts, then it should automatically get removed from the public site and put into an administrator forum for later attention.  Although this doesn't address the root problem it would create some positive user intervention in case the administrators were on holidays or couldn't get to the problem in short order. 

In standard mode the slash is used to enter the character that would normally cause an action to occurr.

Ex.  

If you typed A\_5   you would get A_5  otherwise without the \ you would get A5

Similarily if you typed A\^5 you would get A^5  otherwise you'll get  A5

 

 

There are some content posts that have nothing to do with Maple, spam, and I've seen a lot more than normal lately, nor do they contribute any value to any posts, mainly arguments against another person rather than a debate about how to write maple code. 

Many more people have realized the power of Maple lately and so lots of new users have joined on.  With that comes a higher probability that spam will find it's way here.  Quite unfortunate but it's a part of what happens when the user base grows. 

It's too bad there wasn't an automatic filter.  Someone who posts 6 or 7 times in under a minute could probably be defined as spamming.  That's about the only filter I can think of at the moment.  The symbol verification is nice, I've seen it on many forums and it does seem to keep a lot of the spam out. 

Thanks for the code, should help nicely.  Now if I wanted to include spaces I'd need to add the line

SearchAll(Char(32),S)

That's pretty complex, I was thinking of something simple like

msg := "This is a test message"

a[i] := for i from "a" to "z" SearchAll( "i", msg) end do;

But this doesn't work, I'm trying to store the positions that a comes up in the message in aa and b in ab etc... also SearchAll is case sensitive, how do I get case insensitive? 

Okay thanks.  It's supposed to work similar to DJVU format, storing all the characters in a document, mainly and initially just the letters in the alphabet, in a list and then just designating the positions of each character.  It makes file sizes smaller than pdf's.

I would like to find out the best way Maple can do this, mainly how it can.  Should I assign the letters of the alphabet and then pull them from there and use a matrix to designate positions?  Or is it best to use Char() to pull the letters and assign them that way? 

So it would be like in the help file when the cursor scrolls over a bolded definition a flyout occurs?  Except over certain coordinates you could have flyouts occur on the plot?  That would be cool.

I don't think we can program the point plot tool to read anything other than the coordinates being given, it's more of an embedded feature.  I'm not sure we can even trick it. 

 

 

First 40 41 42 43 44 45 46 Page 42 of 47