Christopher2222

MaplePrimes Activity


These are questions asked by Christopher2222

You can   Insert -> Table (and specify the size) manually,

but how do you do that using code then have data go to specified cells?

There is an option box that asks you if you wish to save the calculations for further manipulation when you re-open the worksheet.  Part of the worksheet has downloaded data from a webpage.  However when I re-open the worksheet and try to continue calculations, it's like I'm starting all over again. 

There was another mapleprimes post that mentioned you need to use the command save vars as a .m file.  But since this dialogue box comes up, I didn't...

Is is possible to read an image into maple located at an http location? 

Is this the simplest way to add one line of an array to another array?

a:=array(1..10,1..10):
b:=array(1..10,[1,2,3,4,5,6,7,8,9,8]):

for i from 1 to 10 do
    a[1,i]:=b[i]:
end do:

or to use with(ArrayTools):

for i from 1 to NumElems(b) do
    a[1,i]:=b[i]:
end do:

Can the command map be used here?

Having a little trouble parsing the data

with(StringTools):
a:= HTTP[Get]("http://www.swpc.noaa.gov/ftpdir/indices/DSD.txt")[2]:

b:=Split(a,"\n"):

results:=b[14..]:

results[1]
                   "2010 06 29   74     24      110      1    -999  ...

First 76 77 78 79 80 81 82 Last Page 78 of 99