Code style question
I stumbled across the following code (in the regex library by Kenneth
Parker) and would, out of curiosity, like to know what people think of it:
(defun make-anchored-matcher (matchfn)
#'(lambda (*str* *regs* *start* *end*
(declare (special *str* *regs* *start* *end*
(declare (ftype (function (fixnum) t) matchfn))
(f...How do you do ARIMA in matlab?
(Sorry for cross-posting)
I am clueless w.r.t using matlab for time series. I have a time series
and I would like to make estimates of future using the past. How do I
develop a ARIMA(p,q,r) model in Matlab.
Thanx a lot
help armax (system identification toolbox)
Bala Vamsi Tatavarthy wrote:
> (Sorry for cross-posting)
> I am clueless w.r.t using matlab for time series. I have a time series
> and I would like to make estimates of future using the past. How do I
> develop a ARIMA(p,q,r) model in Matlab.
> Thanx a lot
> ...MATLAB's SOUND() function in C
Is there a way to implement MATLAB's sound function under C?
For those who don't use MATLAB, it's essentially a simplistic, static,
mono sound function that converts a series a numbers into a sound at a
given sampling rate. nothing fancy. all the Sound APIs begin by
discussing all the fancy drivers and buffers and crazy shit i don't
really care about.
In article <firstname.lastname@example.org>,
> Is there a way to implement MATLAB's sound function under C?
> For those who don'...pgsql-server: Use new forboth() macro to make loop coding a bit clearer.
Use new forboth() macro to make loop coding a bit clearer.
pquery.c (r1.78 -> r1.79)
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
...Cannot open *.fig files from MATLAB 2008b in MATLAB 2014a
Like in subject, I cannot open figures made in MATLAB 2008b in MATLAB 2014a environment.
Scenario: copy *.fig files from 2008b environment into 2014a, set paths with subfolders, try to open *.fig in 2014a.
I would like to have a confirmation if it is compatibility problem or not.
Here is the answer form MATLAB in Command Window
java.lang.ClassCastException: [D cannot be cast to [Ljava.lang.String;
at com.mathworks.toolbox.matlab.guide.LayoutEditor$ReadFigureCompleted.completed(LayoutEditor.java...How to create a DLL for LabVIEW in MatLab
I want to use MatLab-Code from an M-file in LabView without MatLab. So
i decide to use external code in a DLL. Can anybody give me some hints
- how to do? (How to create, how to use?)
Used System Windows 98, LabVIEW 6.1, MatLab 6.1 R12.1
I use Matlab-Code in Labview and it's don't need create a dll. The LV
was a tool, matlab script, you can write your code Matlab here. see
the examples of LV.I think the lV 6.1 have.
Dll it's very complicated :D
I would like to use LabVIEW !without MatLab. If i use these solution i
need MatLab too.
I've investigated and i think ...Emacs modules for Perl programming #4
Posting-Frequency: 2 times a month
Maintainer: Jari Aalto <email@example.com>
Announcement: "What Emacs lisp modules can help with programming Perl"
Emacs is your friend if you have to do anything comcerning software
development: It offers plug-in modules, written in Emacs lisp
(elisp) language, that makes all your programmings wishes come
true. Please introduce yourself to Emacs and your programming era
will get a new light.
Where t...MATLAB mistaken a structure with a figure
I have some *data* structure S that I save in matfile
save xxx.mat -struct s
With V 2014B I get the warning message
Warning: Figure is saved in D:\Documents\MATLAB\XXX.mat.
Loading this file recreates and displays the figure and its contents. Refer to save for more information.
K>> [~, b] = lastwarn
It looks like MATLAB mistaken my data with a figure. This works fine under 2014A and previous. Annoying.
Some how I feel I will have a lot of works to do to adapt my codes for the new release 2014B.
...Re: Call Stored Process from SAS Code #4
Great link/resource! Thanks, Scott.
I must be tired or the sad weather has it's impact 'cause when I
was one click away from bookmarking this link's parent page
(either the one I got to by clicking on 'Enterprise Integration'
or by clicking on 'SAS Integration Technologies Home') I realized
that I would not be able to find the "Developer's Guide" again ...
Seems to be intended for insiders only ;-)
> -----Urspr�ngliche Nachricht-----
> Scott Barry
> Check the SAS.COM website for their documented
> resources on...Streamlines in Matlab
I am very new to matlab, so any help at all would be very much appreciated. I am attempting to plot the streamlines for a streamfunction with contour lines:
C (=constant) = y/3 - 3y/ [(x- 3/2)^2 + y^2]
Would anybody be able to help me with this?
Thank you very much for your time.
On Feb 21, 3:59=A0am, ben <bl...@ic.ac.uk> wrote:
> Hi guys,
> I am very new to matlab, so any help at all would be very much appreciate=
d. I am attempting to plot the streamlines for a streamfunction with contou=
> C (=3Dconstant) =3D =A0y/3 - =A03y/ [(x- 3/2)^2 =...20 New MATLAB and Simulink based books #2
As you may know, The MathWorks Book Program supports authors and publishers
that develop books that utilize MATLAB or any products developed by The
MathWorks. We are pleased to announce the addition of 20 new titles to our
Below is the list of new titles, separated by category. For more information
about these titles, or to learn more about the MathWorks Book Program,
please visit our web site at:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Title: Detection and Estimation Theory and Its ...Obtain error message from MATLAB engine
I use the MATLAB engine to control MATLAB from a custom C program.
Everything works fine, I can open the engine and send commands via
engEvalString(). However, I would like to how to retrieve the error
message from MATLAB if the sent command caused an error. I managed to
obtain the output of valid commands through engOutputBuffer(), but it
appears that error messages are _not_ placed in the output buffer.
But surely it must be somehow possible to come by them?
How about using engEvalString() to execute the lasterror MATLAB
function? That's all I can see.
I used the COM ser...Coding repeated observations in regression: /r. /n ?
Instead on representing the data as one line per observation, SAS has
a way of identifying the frequency count of each unique possible
combination (of independent regressors to go in model statement). So
instead of 2000 lines of data, there could be 4 lines of data with a
frequency count of each specified with syntax something like. /n=r;
What is this feature called ? I am searching with repeated duplicate
frequency but not finding useful examples for use in Proc Logistic.
On 8/31/09, Stephen <firstname.lastname@example.org> wrote:
> I don't deal with...Problem with Modelsim 6.5 and Matlab/Simulink 2012a version
I'm using Matlab 2012a (32 bit) in my Windows 7 (64 bit) os and Altera web edition 9.1 (32bit)and Modelsim 6.5b (bit).
When I tried to RUN MATLAB EXAMPLE: Verifying Viterbi Decoder Using ModelSim
Creating an FPGA Domain Model (dxpcSGIO301servo_fpga )
Warning: ModelSim Altera edition is not supported by HDL Verifier
> In hdlsim>l_ParseVsimVersion at 1068
In hdlsim>l_GetModelSimLibInfo at 527
In hdlsim at 115
In vsim at 106
# ** Error: (vsim-FLI-3155) The FLI is not enabled in this version of ModelSim.
# ** Error: (vsim-F...matlab pool
may i knw what is batch job, matlab pool in parallel computing
I am sorry, but I think you need to be a bit more specific in your question. Did you look in the documentation before you asked this question?
"Daniel Armyr" <email@example.com> wrote in message <firstname.lastname@example.org>...
> I am sorry, but I think you need to be a bit more specific in your question. Did you look in the documentation before you asked this question?
In R2006b , there havn't give any information regarding matlab pool or batchjob in the documentatio...General Java Matlab lib questions
Am somewhat of a Matlab noob and I have some general questions,
maybe someone could comment:
- Can I write a Java app that could take as input the following:
- Data from an external source (say a database) that represents
Matlab variables (like matrices)
- A string that represents a Matlab expression that is a
function of these variables
And then produce the output of the expression, in the form of a
matrix or a scalar. In other words, is it possible to parse a string
that represents a Matlab expression and execute the expression in the
Matlab environment from Java?
...Coding MIDI Music Notation
I am programming some MIDI to Music Notation software, and since there
isn't a whole lot of information on the subject, I wondered if anyone
had any experience or tips to share on how to go about doing it. Are
there any books out on the subject? And specifically, how does one go
about using a music font for portraying MIDI in a musical score?
On Saturday 13 November, email@example.com wrote in
> I am programming some MIDI to Music Notation software, and since there
> isn't a whole lot of information on the subject, I wondered if anyone
> ...PowerTerm Source Code
I have released some old code I wrote 13+ years ago. An MSDOS based
pr00gie I used for BBS'n. Has all the popular emulations, protocols
builtin to include kermit. http://www.iatechconsulting.com
...Code samples to save data to Access via ADO
I have basic understanding of bound controls. Does
anyone have sample code that shows the use of
ADO and unbound controls. I`d need to save general
controls like editboxes and stringgrids via ADO
code. The database is Access.
Thanks....alot for the help.
...Modules as namespaces
[Note: parts of this message were removed to make it a legal post.]
I'm sure I'm just missing some finer point of modules as namespaces. But can
someone explain to me why line 26 in http://pastie.org/1418890 gives an
error (uninitialized constant Bar::B::A), but line 25 doesn't? I thought the
two modules would have the same structure. Thanks!
> I'm sure I'm just missing some finer point of modules as namespaces. But can
> someone explain to me why line 26 in http://pastie.org/1418890 gives an
> error (uninitialized constant Bar::B::A), but li...Newb, using Python in win32 app, how to import c++ modules created with swig from an .exe
Hi, I'm using Python in my win32 app by linking to the python23.dll.
I'm trying to expose some c++ code in my app to Python so I can make
application calls from Python scripts (according to the Python windows
FAQ I shouldn't have to make a seperate dll, see link below). I
create a MyModule.i file for swig which contains a simple test c++
class. I run swig on it with the following options: swig -python -c++
-includeall -shadow MyModule.i, and as expected it creates a
MyModule.py and MyModule_wrap.cxx. When I can compile the .cxx
wrapper file into my app, my app now exports init_...matlab and differential equation
write a program to show the variation of time constant with change in the capacitance of a seried RC circuit(first order system).Also plot voltage across capacitor vs time.
avnish gaurav wrote:
> write a program to show the variation of time constant with change in the capacitance of
> a seried RC circuit(first order system).Also plot voltage across capacitor vs time.
I already did that, and I turned it in on time for my high-school programming
course in 1977. Were you hoping for a copy of my punch-cards ? The print has
faded badly on them, but you should be okay if you can sight-read...static class variables and module scope
I have a singleton object that works perfectly from inside my main .py
file. However, when I want to access the object that backs the
singleton from another file ( either from an execfile() or thru my
telnet listener ), it appears the underlying object is reset to null,
resulting in a duplicate object being created.
I figure I am doing something painfully stupid, but for the life of me,
I can't see it.
Here is my singleton wrapper:
__instance = None
def __init__ ( self, user = None, password = None ):
if SingletonWrapper.__ins...parallel matlab
I'm going to work on a project involving a parallel version of MATLAB -
I'm aware of various efforts like MATLAB-*P and so on
Right now I need to read up on some material regarding MATLAB internals eg:
How are the ATLAS(or is it BLAS) routines called in MATLAB?
How does MATLAB's C code store information in memory, cache'ing etc?
How is one to get at those?
Do you know of any suitable reference(s)/resource(s)?
Thank you very much,
...new CPAN modules on Thu Mar 20 2008
The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN). You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
OOP interface to the Plesk XML API (http://www.parallels.com/en/products/plesk/).
write command line apps with less suffering
the Asterisk config read and write modul...