Christopher2222

5785 Reputation

24 Badges

16 years, 353 days

MaplePrimes Activity


These are questions asked by Christopher2222

Is there another way to plot 3d intensity levels in an image?  Using matrixplot takes a long time. 

restart;gc():
with(ImageTools):
with(plots):

a:=Read("c:/lighthouse1.jpg"):
b:=convert(ToGrayscale(a),Array):
c:=convert(b,Matrix):

matrixplot(c,style=point,shading=zhue)

martixplot(c,style=point,shading=zhue,orientation=[0,0])

A wonderful plot I have found created by Matthius Kawski in Maple 8.  But newer versions creates an Error, (in f) unsupported type `complex(float)` in evalhf in the DEplot.  Can someone fix the error?  Worksheet is attached.

lyap-not-proper.mws

In a worksheet how can one see all of the page breaks.  I want to be able to size plots to minimize white space.

Is Maple able to get the lightning data from here www.lightningfinder.com

The map is refreshed every 30 seconds and displays where the lightning strikes are occuring.  I can't determine where the page is getting the data from.  Where is the page getting the data and how can we use Maple to pull the data? 

** comparison link has been updated for Maple 2015 **  All three M's have identical speed performances

 

Someone has created a comparison of Mathermatica 9, Maple 17 and Matlab 2013a here http://12000.org/my_notes/rankTest/test.htm

The timings and codes used were as follows:

 

2.2.1 Mathematica

Remove["Global‘*"];  
Share[];  
n = 7000;  
m = Table[Random[], {i, 1, n}, {j, 1, n}];  
AbsoluteTiming[MatrixRank[m];]


2.2.2 Maple

restart;  
kernelopts(gcfreq= 2^22):  
UseHardwareFloats:= true:  
gc():  
 
n:=7000:  
 
M:= LinearAlgebra:-RandomMatrix(  
     n  
    ,n  
    ,generator=0.0 .. 1  
    ,outputoptions=[datatype=float[8]]  
):  
 
time[real](LinearAlgebra:-LA_Main:-Rank(M));



2.2.3 Matlab

clear all;  
n=2500;  
A=rand(n,n);  
tic();  
rank(A);  
toc()

Certainly that must be the slowest possible route for Maple ever.  Anyone care to post their code and timings?

First 39 40 41 42 43 44 45 Last Page 41 of 94