Evan

36 Reputation

4 Badges

11 years, 266 days

MaplePrimes Activity


These are replies submitted by Evan

This might work. I will give it a shot. I was more thinking of plotting a complex function though. For example, f(x):=a^x + i*cos(x). How would I do this? Thanks for all the help.

This might work. I will give it a shot. I was more thinking of plotting a complex function though. For example, f(x):=a^x + i*cos(x). How would I do this? Thanks for all the help.

This might work. I will give it a shot. I was more thinking of plotting a complex function though. For example, f(x):=a^x + i*cos(x). How would I do this? Thanks for all the help.

This might work. I will give it a shot. I was more thinking of plotting a complex function though. For example, f(x):=a^x + i*cos(x). How would I do this? Thanks for all the help.

Is there any way to compute the R^2 value directly in maple? Or have it give me the SStot so I can calculate the R^2 value myself? If not, what would be the syntax to calculate the SStot using my values from a Matrix?
Is there any way to compute the R^2 value directly in maple? Or have it give me the SStot so I can calculate the R^2 value myself? If not, what would be the syntax to calculate the SStot using my values from a Matrix?
Thank you so much for your help and time. I tried it and it worked. However, I don't quite understand everything that is going on here. As a matter of fact, I don't really understand anything that is going on here. I am only a high school student and have not taken Statistics. What does everything mean, and what is relevant for me to look at? All I know (or think I know) is that the closer an r^2 value is to one, the closer the equation is to fitting the points. Could you enlighten me? Thank you for all your help already, and sorry for my ignorance. Also, on a related but different topic, is it possible to define the X and Y values in one fell swoop? For example, I have them in a 8X2 Matrix, would it be possible to define X as one column of this Matrix and Y as another, instead of having to break up the Matrix into an X Vector and a Y Vector, as I am doing now?
Thank you so much for your help and time. I tried it and it worked. However, I don't quite understand everything that is going on here. As a matter of fact, I don't really understand anything that is going on here. I am only a high school student and have not taken Statistics. What does everything mean, and what is relevant for me to look at? All I know (or think I know) is that the closer an r^2 value is to one, the closer the equation is to fitting the points. Could you enlighten me? Thank you for all your help already, and sorry for my ignorance. Also, on a related but different topic, is it possible to define the X and Y values in one fell swoop? For example, I have them in a 8X2 Matrix, would it be possible to define X as one column of this Matrix and Y as another, instead of having to break up the Matrix into an X Vector and a Y Vector, as I am doing now?
However, the reason why I didn't write a novel about that situation above (I just thought you might like to know about it) is because I found another way to do it! It is somewhat roundabout, but it works, so far as I can tell. Anyway, I would like to thank you guys (everybody) so much for everything. I think you're crazy and (before this) I would never have thought to spend my free hours going around helping hapless souls with their Maple related problems. But I was really inspired by you. Perhaps when I gain a little experience and actually learn how to use the program, I can return the favor to someone else who needs it. What goes around, comes around, hopefully. Anyway, thank you so much, it is nice to know that there are people out there who just help for the sake of helping, without really benefiting anything from their service (Except maybe a maple mentor award). I can't really give you anything in return except for my thanks, but, believe me, you have that. -Evan P.S. If you are interested, this is how I solved it, at least on my computer (since everything else seems to work on everyone else's computers) First I imported the data using the Import Data Assistant. Then I clicked on the uncooperative matrix which appeared on my screen and went to conversions>to string. That gave me " "Matrix(100,2 [[...,...],[...,...]... and so on (all my data points) ] in blue (output) Then said A:= and copied and pasted the blue output. Then deleted the quotation marks around it and pressed enter, and it was assigned to A. Then I was able to do A+<(x|0)$100)>, to shift it the desired amount. Then right-click, plots, plotbuilder, done! anyway, thanks for everything!
However, the reason why I didn't write a novel about that situation above (I just thought you might like to know about it) is because I found another way to do it! It is somewhat roundabout, but it works, so far as I can tell. Anyway, I would like to thank you guys (everybody) so much for everything. I think you're crazy and (before this) I would never have thought to spend my free hours going around helping hapless souls with their Maple related problems. But I was really inspired by you. Perhaps when I gain a little experience and actually learn how to use the program, I can return the favor to someone else who needs it. What goes around, comes around, hopefully. Anyway, thank you so much, it is nice to know that there are people out there who just help for the sake of helping, without really benefiting anything from their service (Except maybe a maple mentor award). I can't really give you anything in return except for my thanks, but, believe me, you have that. -Evan P.S. If you are interested, this is how I solved it, at least on my computer (since everything else seems to work on everyone else's computers) First I imported the data using the Import Data Assistant. Then I clicked on the uncooperative matrix which appeared on my screen and went to conversions>to string. That gave me " "Matrix(100,2 [[...,...],[...,...]... and so on (all my data points) ] in blue (output) Then said A:= and copied and pasted the blue output. Then deleted the quotation marks around it and pressed enter, and it was assigned to A. Then I was able to do A+<(x|0)$100)>, to shift it the desired amount. Then right-click, plots, plotbuilder, done! anyway, thanks for everything!
If I download my own upload and then re-execute the commands, then I get the detailed Matrix as well.... I just can't do this to the original file. Curious. Also, I run into the same problem as before - as soon as I copy the commands from the (now) working document into any other document - including a blank one, and execute, I get the non-detailed matrix again. Bad. Even weirder is that if I reexecute the entire working document again (a second time, remember it works the first time I re-execute it), then I don't get anything. Neither the detailed matrix nor the non-detailed matrix. Its just blank under the printf command. If I then press the restart maple server button and reexecute the entire file I get "Suppress" as my output.
If I download my own upload and then re-execute the commands, then I get the detailed Matrix as well.... I just can't do this to the original file. Curious. Also, I run into the same problem as before - as soon as I copy the commands from the (now) working document into any other document - including a blank one, and execute, I get the non-detailed matrix again. Bad. Even weirder is that if I reexecute the entire working document again (a second time, remember it works the first time I re-execute it), then I don't get anything. Neither the detailed matrix nor the non-detailed matrix. Its just blank under the printf command. If I then press the restart maple server button and reexecute the entire file I get "Suppress" as my output.
Ok, I think we have almost got it to work. I can make it work completely if I copy and paste your A:=matrix(...), and proceed from there. I can shift and plot the points and everything, so that is a definite improvement. However, I can't get a working matrix like yours on my own using the printf command, and this could pose a problem, as I want to be able to do this procedure to other data as well. This is what I have:

Maple Equation

Maple Equation

Vector(4, [` 100 x 2 `*Matrix,`Data Type: `*anything,`Storage: `*rectangular,Order; -1; Fortran_order])

Maple Equation

This post was generated using the MaplePrimes File Manager

View 7265_upload3.mw on MapleNet or Download 7265_upload3.mw
View file details

Which is obviously not the output you got. Using the output it gives me will not work. What am I doing wrong?
Ok, I think we have almost got it to work. I can make it work completely if I copy and paste your A:=matrix(...), and proceed from there. I can shift and plot the points and everything, so that is a definite improvement. However, I can't get a working matrix like yours on my own using the printf command, and this could pose a problem, as I want to be able to do this procedure to other data as well. This is what I have:

Maple Equation

Maple Equation

Vector(4, [` 100 x 2 `*Matrix,`Data Type: `*anything,`Storage: `*rectangular,Order; -1; Fortran_order])

Maple Equation

This post was generated using the MaplePrimes File Manager

View 7265_upload3.mw on MapleNet or Download 7265_upload3.mw
View file details

Which is obviously not the output you got. Using the output it gives me will not work. What am I doing wrong?
I still can't get it to work in my file! I downloaded your document, which works fine. When I press the !!! button (evaluate entire worksheet) it returns exactly what you have. However, as soon as I replicate your code (including trying copy/paste) in any other document, including a completely blank one, and try to execute it, I get the "Error, (in convert/matrix) invalid expression for eval" error. What is going on? I'm thinking it might have something to do with my preferences, but I don't know. I have it set to "New Engine for Each Document", so that shouldn't be a problem. I have also downloaded the latest Maple (11.02) so that shouldn't be a problem either. I am on a Mac. Can you think of anything?
1 2 Page 1 of 2