 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
li Guest
|
Posted: Thu May 05, 2005 4:13 am Post subject: translate the adapthisteq.m of matlab to delphi |
|
|
hello:
Can anybody translate the adapthisteq.m of matlab to delphi? I want to
write a program,So I must translate it.
Thanks a lot in advance
li
|
|
| Back to top |
|
 |
Charles Hacker Guest
|
Posted: Thu May 05, 2005 6:10 am Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
li wrote:
| Quote: |
Can anybody translate the adapthisteq.m of matlab to delphi? I want to
write a program,So I must translate it.
|
Well I dont fully understand what your asking!
Are you asking to translate a Matlab 'm' script ('C' like) to Delphi
(Pascal)?
If this is the case, then what is "adapthisteq.m", and where to find it?
(I teach Matlab at this university, so I know it is not a common matlab
script).
Or are you asking for how to automate Matlab?
If that is the case, you can take a look at my (or others) Matlab
automation delphi code at:
http://www.djpate.freeserve.co.uk/Matlab.htm
--
Charles Hacker
Lecturer in Electronics and Computing
School of Engineering
Griffith University - Gold Coast
Australia
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Thu May 05, 2005 12:55 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
Hello Li,
I've written many ports from matlab to Delphi, but I don't know by heart
adapthisteq.m. Perhaps you can post the salient part of it here, and I can
give you some pointers on how to translate.
Please note that all variables in matlab are by default matrices, and that a
simple
a = 1 / b
can already be quite complicated in Delphi (creating a matrix class, doing a
matrix inversion etc).
Nils
www.simdesign.nl
"li" <li0713 (AT) hotmail (DOT) com> schreef in bericht
news:42799d74 (AT) newsgroups (DOT) borland.com...
| Quote: | hello:
Can anybody translate the adapthisteq.m of matlab to delphi? I want
to
write a program,So I must translate it.
Thanks a lot in advance
li
|
|
|
| Back to top |
|
 |
Mark Vaughan Guest
|
Posted: Thu May 05, 2005 1:18 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
Charles Hacker <reply.to (AT) borland (DOT) newsgroups> wrote in
news:4279B8E6.C8404F09 (AT) borland (DOT) newsgroups:
| Quote: | I teach Matlab at this university
|
any suggestions for a good tutorial text for self-study? there's
an enormous selection of bookd listed at the MatLab web site (see
[url]http://www.mathworks.com/support/books/)[/url], but it's hard for the
uninitiated (i.e., me! :^D) to make heads or tails of it
--
Mark Vaughan
___________
Visit the Numerical Methods in Pascal web page at
http://www-rab.larc.nasa.gov/nmp/fNMPhome.htm
|
|
| Back to top |
|
 |
Lord Crc Guest
|
|
| Back to top |
|
 |
Charles Hacker Guest
|
Posted: Thu May 05, 2005 10:55 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
Mark Vaughan wrote:
| Quote: |
any suggestions for a good tutorial text for self-study? there's
an enormous selection of bookd listed at the MatLab web site (see
[url]http://www.mathworks.com/support/books/)[/url], but it's hard for the
uninitiated (i.e., me! :^D) to make heads or tails of it
|
The MAIN question asked!!
What one student calls a good book, another calls the most difficult to
read of all!
I would suggest you look at the online Matlab tutorials, offered by many
universities,
including my universities Matlab tutorial site:
http://maxwell.me.gu.edu.au/spl/matlab-page/index.html
--
Charles Hacker
Lecturer in Electronics and Computing
School of Engineering
Griffith University - Gold Coast
Australia
|
|
| Back to top |
|
 |
Charles Hacker Guest
|
Posted: Thu May 05, 2005 10:57 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
Lord Crc wrote:
Okay, its an obscure routine in the 'Image Processing Toolbox'!
I do NOT have the 'Image Processing Toolbox', (just the 'Signal
Processing Toolbox', and 'Data Acquision ToolBox), so was not able to
find it.
--
Charles Hacker
Lecturer in Electronics and Computing
School of Engineering
Griffith University - Gold Coast
Australia
|
|
| Back to top |
|
 |
Charles Hacker Guest
|
Posted: Thu May 05, 2005 11:08 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
li wrote:
| Quote: |
Can anybody translate the adapthisteq.m of matlab to delphi? I want to
write a program,So I must translate it.
|
Okay, its an obscure routine in the 'Image Processing Toolbox'!
I do NOT have that tool box so I do not have the code, (and you will be
breaking the licence aggrement if you give out the code).
But in any case, (judging by the Matlab routines in the "Signal
Processing" and "Data Acquisition" toolboxes) the co0de is generally
very complex (thus difficult to translate to other langauges) and
usually is just a shell for a DLL routine, (and because of copywrite the
DLLs are purposely un-documented!).
--
Charles Hacker
Lecturer in Electronics and Computing
School of Engineering
Griffith University - Gold Coast
Australia
|
|
| Back to top |
|
 |
Ronaldo Souza Guest
|
Posted: Thu May 05, 2005 11:39 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
Li,
As Charles said, .m files use the libs that come with MatLab which
implement *thousands* of algorithms, placing millions of lines of source
code at the user's disposal. I once had to "translate" a 7 line .m file
to Delphi and it required a couple of thousands of lines to handle
matrix operations, graphics, statistics and of course the particular
algorithm I was interested in (which took about 500 lines... )
You might want to look at the MatLab group at:
http://newsreader.mathworks.com/WebX?14@@/comp.soft-sys.matlab
Good luck,
Ronaldo
|
|
| Back to top |
|
 |
Lord Crc Guest
|
Posted: Fri May 06, 2005 9:10 am Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
On Fri, 06 May 2005 08:57:15 +1000, Charles Hacker
<reply.to (AT) borland (DOT) newsgroups> wrote:
| Quote: | Okay, its an obscure routine in the 'Image Processing Toolbox'!
I do NOT have the 'Image Processing Toolbox', (just the 'Signal
Processing Toolbox', and 'Data Acquision ToolBox), so was not able to
find it.
|
Ah, these are like add-ons then, bought separately? In any case, I can
see that it's not a standard function :)
- Asbjørn
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Fri May 06, 2005 11:47 am Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
Yes, that's the policy of Mathworks, and these addons can be quite
expensive! (think of thousands of Euros).
Nils
"Lord Crc" <lordcrc (AT) hotmail (DOT) com> schreef in bericht
news:i3dm715g2tqsvc41lbugbmobkhf836kagl (AT) 4ax (DOT) com...
| Quote: | On Fri, 06 May 2005 08:57:15 +1000, Charles Hacker
[email]reply.to (AT) borland (DOT) news[/email]groups> wrote:
Okay, its an obscure routine in the 'Image Processing Toolbox'!
I do NOT have the 'Image Processing Toolbox', (just the 'Signal
Processing Toolbox', and 'Data Acquision ToolBox), so was not able to
find it.
Ah, these are like add-ons then, bought separately? In any case, I can
see that it's not a standard function :)
- Asbjørn
|
|
|
| Back to top |
|
 |
Lord Crc Guest
|
Posted: Fri May 06, 2005 8:48 pm Post subject: Re: translate the adapthisteq.m of matlab to delphi |
|
|
On Fri, 6 May 2005 13:47:24 +0200, "Nils Haeck" <bla (AT) bla (DOT) com> wrote:
| Quote: | Yes, that's the policy of Mathworks, and these addons can be quite
expensive! (think of thousands of Euros).
|
Dayum! But I got to admit, it looks pretty powerfull from what I've
seen.
- Asbjørn
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|