Hi together, I have a code called 'lma.m' that is used to fit a curve into data with the Levenberg-Marquardt algorithm. This code should be able to analyse a Peak from a Gamma spectrum and ist doing this Job quite well. The only Problem is the Speed or Performance. Analysing one Peak takes about 40-70 sec. Unfortunately this is not acceptable for some students to use the program and learn with it. The 'Run and time' analysis in Matlab 2014a says that most of the time is spent because of the symbolic class 'sym'. Has anyone an idea how this code could be improved? Code (https://itp.tugraz.at/~golubk_a/download/lma/lma.m): function[a,sd_a,var,covar,chisq] = lma(x,y,sig,a,funktion,parameter,accuracy,verbose); % START::: % Kontrolle der Argumente if nargin < 6 error('More inputs needed: [a,sd_a,var,covar,chisq] = lma(x,y,sig,a,funktion,parameter)'); end [rows , columns] = size(x); xsize = size(x); if (rows ~= 1) & (columns ~= 1) error('GARCH:autocorr:NonVectorInput' , ' Input ''x'' must be a vector.'); end if (size(x)~=size(y)) | (size(x)~=size(sig)) error('Vectors x,y and dy must be the same size'); end if ~iscell(parameter) error(['Input argument "parameter" must be a sparse vector like', ... '{''P1'',''P2''}']); end if ~ischar(funktion) error(['Input argument ...

Hey all, I am having problem in soft handover implementation with MATLAB please help me out. It is my final dissertation .I am unable to do this. ..pls mail me at nikhilpatel0786@gmail.com Thank you very much... Please helpp "vpmp patel" <mecs@yahoogoups.com> wrote in message news:jkh46d$i9m$1@newscl01ah.mathworks.com... > Hey all, > I am having problem in soft handover implementation with MATLAB > please help me out. It is my final dissertation .I am unable to do > this. Then you need to talk to your dissertation advisor first; if he or she can't give you enough help, post SPECIFIC DETAILS about the problem you're experiencing with your implementation and ask a SPECIFIC question and someone may be able to offer some suggestions. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com ...

May I ask a coding question: How to implement fifo / stream / pipeline algorithm by Matlab. any pure M sample codes provided? (ps. NOT data stream objects in comm. toolbox) Thanks. "Andy" wrote in message <jjcnf8$3e0$1@newscl01ah.mathworks.com>... > May I ask a coding question: How to implement fifo / stream / pipeline algorithm by Matlab. any pure M sample codes provided? (ps. NOT data stream objects in comm. toolbox) Thanks. I have posted a simulink algorithm for FIFO which is implemented in 'Embedded Matlab Function block'. You can download this file here: http://www.mathworks.com/matlabcentral/fileexchange/29267-fifo-queue My be it may help you to implement it in m code. "Prashant Sandhi" wrote in message <jjco42$57q$1@newscl01ah.mathworks.com>... > "Andy" wrote in message <jjcnf8$3e0$1@newscl01ah.mathworks.com>... > > May I ask a coding question: How to implement fifo / stream / pipeline algorithm by Matlab. any pure M sample codes provided? (ps. NOT data stream objects in comm. toolbox) Thanks. > > I have posted a simulink algorithm for FIFO which is implemented in 'Embedded Matlab Function block'. You can download this file here: > > > http://www.mathworks.com/matlabcentral/fileexchange/29267-fifo-queue > > My be it may help you to implement it in m code. A further question I have is if he means by "fifo / stream / pipeline" in the sense of a pipelin...

Hello, Isnt 'unquant' and 'soft' options essentially same?..in both case vitdec takes in "real numbers" as input (ok they are "mapped" in case o 'soft' option)..so can we not use 'unquant' option to carry out sof decoding?...my preliminary results show that 'unquant' option give me 2- db gain over hard decoding... any one having insight please let me know. thanks >Hello, > Isnt 'unquant' and 'soft' options essentially same?..in both cases >vitdec takes in "real numbers" as input (ok they are "mapped" in case of >'soft' option)..so can we not use 'unquant' option to carry out soft >decoding?...my preliminary results show that 'unquant' option give m 2-3 >db gain over hard decoding... >any one having insight please let me know. >thanks > > %%% Yes , u can use 'unquant' as soft decoding. try to implement for k=3 i.e [5 7] and BPSK and at roughly 4 dB u should get BER of 10^-3. Chintan ...

HI all, do yo know what algorithm does MATLAB's fft function based on? I read from MATLAB's help, it is something called FFTW. Is it a radix 2 or radix 4 or anything else? Thank you. A.E lover wrote: > HI all, > > do yo know what algorithm does MATLAB's fft function based on? I read > from MATLAB's help, it is something called FFTW. Is it a radix 2 or > radix 4 or anything else? > > Thank you. > fftw is open-source, you should be able to find that info in a web search (or look at the code...) -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Posting from Google? See http://cfaj.freeshell.org/google/ Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" gives you just what it says. See details at http://www.wescottdesign.com/actfes/actfes.html Aloha, A.E lover wrote: > do yo know what algorithm does MATLAB's fft function based on? I read > from MATLAB's help, it is something called FFTW. Is it a radix 2 or > radix 4 or anything else? Read the algorithm part of the documentation (doc fft). The fft decides heuristically which decomposition is used and can use radix 2+4, prime-factor algo. and split-radix algo. Wishing a happy day, LOBI A.E lover wrote: > HI all, > > do yo know what algorithm does MATLAB's fft function based on? I read > from MATLAB's help, it is something called FFTW. Is it a radix 2 or > ...

Folks, I suck at OS/2, and this guy has a problem. Config.sys has been changed. Any way to boot in recovery mode? No further info yet, unknown if this was a result of a FixPack, adapter install, or a program update. Challenge, this may be a production unit, and it may be doing involved things. -------- Original Message -------- Subject: Trouble with a Personal System/2 Date: Thu, 30 Sep 2010 20:40:20 -0400 From: <brian@centralindianapatternandmold.com> To: <ohland@charter.net> please help . config.sys got changed os2 ibm indurstial computer-will not boot? In article <npapo.23064$qU5.8268@newsfe20.iad>, Louis Ohland <ohland@charter.net> wrote: > Folks, I suck at OS/2, and this guy has a problem. > > Config.sys has been changed. > > Any way to boot in recovery mode? No further info yet, unknown if this > was a result of a FixPack, adapter install, or a program update. > > Challenge, this may be a production unit, and it may be doing involved > things. 1. Boot (C-A-D). 2. Wait for "boot blob" at top left corner of the screen (a white box, and "OS/2"). 3. Press Alt-F1. 4. Select "Boot to command prompt (use original CONFIG.SYS)" option. 5. Fix the CONFIG.SYS Alternatively, boot to command prompt from the OS/2 installation diskettes. -- Don Hills (dmhills at attglobaldotnet) Wellington, New Zealand "New interface ...

All information about computer Soft & Hardware. visit:www.santoshcomputer.blogspot.com ...

http://mycarta.wordpress.com/2012/04/05/visualization-tips-for-geoscientists-matlab-part-ii/ ...

Thanks Laki, ur answer could be right if I apply the effect of the channel to the signal then i add the noise, but what i do is adding the noise efect first then applying the channel effect to the sum (signal+noise), to get channel*(signal+noise), so after equalization i'd have ---> (channel*(signal+noise))/channel -- > signal+noise. hope u got what i mean .! thanks alot Laki for ur participation Hany Hany That's an interesting way to model the system, but i'll come back to that. What I think you're trying to do is this H*S / H_est = S where H = channel and H_est is the channel estimate (therefore inv(H_est) represents the inverse channel which you're calling an equaliser). Now, have you tried looking at the result of simply convolving the channel and the equaliser? H / H_est = 1 What do you get out of this? If that is difficult to obtain, then can you substitute the signal S for an impulse function (no noise) and examine the signal at the output of the equaliser? What do you get? The reason i say that it's an interesting way to model the system, is because you seem to be adding noise prior to the channel. One form of noise is typically added to model the thermal noise effects at the receiver. What you're doing it seems is receiving the signal noiselessly and are adding noise at the output of the transmitter. Now, this may not be a bad thing, because you could be trying to model some form of interference, but you haven&...

Hi, I want to use the Levenberg-Marquardt algorithm to extract the best fit co-efficients for the following equation: Y = r*((L+dL)/(W+dW)) I'm getting confused looking at the the non-linear curve fit VI. I'm not sure what to connect to the input terminals. Input terminals: data, f(x,a), Y, X, Weight, initial coniditions, termination My co-efficients will be = (r, dL, dW) so my initial co-efficients will be something like (500, 0, 0). I have an array of Y values which depend on L and W so the Y input terminal is ok. Weight and termination should be ok. I'm not entirely sure what to connect to the input terminal X however since my Y value depends on 2 variables L and W. Any help appreciated, LMS17 You need to use the VI model, not the formula version and be a bit creative. :) For the VI model, the X input is optional and its size does not need to match the y array so you can use it any way you want. All you need to do is know what's there and handle it accordingly inside the model VI. For 2D data, you could for example interleave the L and W arrays and wire it to X. Inside the model, you decimate X to get L and W back and calculate Y using the fitting parameters. (You could also use the variant data input to relay the L and W arrays to the model so y can be calculated.) See how...

Is there a patch available to get Femlab v2.2 to work with Matlab 6.5? I can start Femlab, but there are errors in Matlab whenever I try to actually do anything in Matlab, such as open one of the models in the model library. Alternatively, does anyone know where I can buy an older version of Matlab, version 5.3.1 or 6.0? ...

vxWorks 5.5.1/Tornado 2.2.1 is shipped with GCC 2.96. GCC 2.96 is _very_ old. The question. Short of purchasing/ugrading to the latest version of Tornado ( which I believe is shipped with GCC 3.3.4 ), has anyone tried upgrading the GCC binarys. If so what was the prognosis? forums_mp@hotmail.com wrote: > vxWorks 5.5.1/Tornado 2.2.1 is shipped with GCC 2.96. GCC 2.96 is > _very_ old. The question. Short of purchasing/ugrading to the latest > version of Tornado ( which I believe is shipped with GCC 3.3.4 ), has > anyone tried upgrading the GCC binarys. If so what was the prognosis? > Not to mention that according to the GNU project, gcc 2.96 doesn't exist. The last "official" 2.9x compiler was 2.95. > Not to mention that according to the GNU project, gcc 2.96 doesn't > exist. The last "official" 2.9x compiler was 2.95. red floyd, I suspect you've perhaps felt my pain? numeric_limits is non-existent, template support is _VERY_ poor .. I could go on but in the interest of time, I'm tempted to abandon ship. Swith to a new RTOS. Trouble is, we've already shelled out lots of dough on this. I'm tempted to upgrade the gcc binarys but I'm afraid of the consequences. forums_mp@hotmail.com wrote: >> Not to mention that according to the GNU project, gcc 2.96 doesn't >> exist. The last "official" 2.9x compiler was 2.95. > > red floyd, I suspect you've perhaps...

It has been a wee bit since I upgraded and I see a new 2.2 branch of Apache server. Does the current mod_perl work with that series or should I go with the 2.0 series? Robert Hi, Robert > It has been a wee bit since I upgraded and I see a new 2.2 branch of > Apache server. Does the current mod_perl work with that series or > should I go with the 2.0 series? It works at least for me. Last week I brought up a new apache 2.2.0-server w/mod_perl2 and Mason on top of it. It (and I) didn't make the slightest complaints. According to: http://perl.apache.org/start/index.html, mod_perl2 supports not all new features of a-2.2.0, but at least the important 2.0.0 ones in 2.2.0. I didn't need to awake the 2.0.x-'fallback system'. Regards M. Cool. Thanks for the reply. Robert ...

AFS Perl API Version 2.2.2 I am pleased to announce the AFS Perl API 2.2.2 release The AFS module bundle is a dynamically loadable extension to Perl. It gives the AFS user and administrator access to many of the AFS programming APIs, allowing you to make these calls directly from Perl, rather then processing the output of a command. The AFS module bundle is a thin layer above the low-level AFS APIs. Where To Get It The version 2.2.2 is now available at http://www.MPA-Garching.MPG.de/~nog/perl/AFS-2.2.2.tar.gz http://www.cpan.org/authors/id/N/NO/NOG/AFS-2.2.2.tar.gz This release should work on all UNIX/Linux platforms which have AFS API interfaces and the appropriate C compilation environment. User visible changes in this release - improved test drivers - improved Make scripts including checks for Perl "unthreaded" version For more information about the current state of the AFS Perl API, check my "AFS Perl API Kwiki" site at: http://www.mpa-garching.mpg.de/kwiki/nog/afsperl/ Share and Enjoy! Norbert -- Ceterum censeo | PGP encrypted mail preferred. Redmond esse delendam. | PGP Key at www.MPA-Garching.MPG.de/~nog/ ...

hello! I download this program. But i can't run this. when I run aescrypt('aaaa',1010') the output 103 26 101 247 255 39 32 208 166 221 79 70 100 249 86 36 %%%%%%%%%%%% function ct = aescrypt(pt,key) % AESCRYPT - encrypt a message using 128-bit AES % % USAGE: ct = aescrypt(pt,key) % % pt = plaintext, a vector in char or uint8 form % key = encryption key, which must be a character string or uint8 vector % ct = cyphertext % % Notes: (1) This function requires Java, which contains the encryption % routines. % (2) The provided key may have any (nonzero) length. It is hashed % to 128 bits using the MD5 hash algorithm. % (3) Use this function with the separate DZIP routine to enable % encryption of several Matlab data types, e.g. % ct=aescrypt(dzip(M),key) % (4) Carefully tested but no warranty, use at your own risk. % (5) Michael Kleder, Nov 2005 % % EXAMPLE: % % M=rand(100); % key='This is my test encryption key, for trial use.'; % ct=aescrypt(dzip(M),key); % N=dunzip(aesdecrypt(ct,key)); % all(M(:)==N(:)) if length(pt) ~= length(pt(:)) error('Plaintext must have only one non-singleton dimension.') end pt=pt(:)'; c = class(pt); if ~strcmp(c,'uint8') & ~strcmp(c,'char') error('Plaintext must be in char or uint8 form.') end pt=uint8(pt); c = class(key); if ~strcmp(c,'uint8') & ~strcmp(c,...

Hello, I hope this is right newsgroup (in comp.graphics.algorithm someone told me this is best for algorithms). I have got a problem (related to DB), there are 1000 columns. The status is exists or not exists (for each column). I want a solution for a minimum search that I will know if any of the column is exist or not. (I have thought of something like : search the first 1 column, then get answer for two columns, then get answer for 4, 8, 16, 32 etc... , but I cannot see how can I solve the problem). Need pseudo-code sample, please (preffered : VB. 6.0). Thanks :) * Eitan M: > I hope this is right newsgroup (in comp.graphics.algorithm someone told me > this is best for algorithms). > > I have got a problem (related to DB), > > there are 1000 columns. > The status is exists or not exists (for each column). > > I want a solution for a minimum search that I will know if any of the column > is exist or not. > > (I have thought of something like : > search the first 1 column, then get answer for two columns, then get answer > for 4, 8, 16, 32 etc... > > , but I cannot see how can I solve the problem). Please clarify what those columns are, and what it means to search a column for status "exists". -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Eitan M said: >...

hi, I'm using a matlab function with C# (visual studio 2005), My Problem: when i call the function i have a problem in converting int to MathWorks.MATLAB.NET.Arrays.MWArray my function is called like that: testMatlab.testMatlabclass t = new testMatlab.testMatlabclass(); t.functionName(int, int, int, int); what should i do??? i will be so gratful... tnx ...

Greetings! I am a newbie in fortran and stuck in converting several matlab commands to fortran, could not find them online. Any help here will be greatly appreciated. The problem is that I did a spline function in matlab, but I need to use fortran code to evaluate it. Matlab has: fnbrk, f.breaks, f.pieces, f.order, f.coef, to show what are in this spline function; but what are the corresponding fortran codes for each of them? Another few matlab commands I do not know how to convert to fortran are: try..catch..end squeeze iscell read and use a matlab cell variable in fortran Thank you so much for your help! ~Grace "Grace Gu" wrote in message <ivn0jp$3on$1@newscl01ah.mathworks.com>... > Greetings! > > I am a newbie in fortran and stuck in converting several matlab commands to fortran, could not find them online. Any help here will be greatly appreciated. > > The problem is that I did a spline function in matlab, but I need to use fortran code to evaluate it. Matlab has: > fnbrk, > f.breaks, > f.pieces, > f.order, > f.coef, > to show what are in this spline function; but what are the corresponding fortran codes for each of them? > > Another few matlab commands I do not know how to convert to fortran are: > try..catch..end > squeeze > iscell > read and use a matlab cell variable in fortran > > Thank you so much for your help! > > ~Grace What are you talking about here? Do you ...

Hi, I'm using a 1D nonlinear Lev-Mar fitting routine, and I find that my program does not fit accurately unless I upscale my y-data values (for example from .16 up to 16). I've read other posts related to this topic and one of them said to change the standard deviation, but that does not seem to affect the fit at all. The Lev-Mar routine just seems to converge right away instead of going through any iterations.I've attached the 2 relevant VIs and a set of sample data. "TestVApprox6" sends the data to "VoigtApprox6" which then does the nonlinear fit according to the Fitting Equation on the front panel (I modified the formula node inside the Lev-Mar VI with that equation). There are subVIs which perform other calculations but right now I am just concerned with the fitting.Any ideas?Thanks for your time-Stefano 1-9760.txt: http://forums.ni.com/attachments/ni/170/159058/1/1-9760.txt TestVApprox6.vi: http://forums.ni.com/attachments/ni/170/159058/2/TestVApprox6.vi VoigtApprox6.vi: http://forums.ni.com/attachments/ni/170/159058/3/VoigtApprox6.vi Please save your toplevel VI as application distribution, so it includes all required subVIs. VoigtApprox6.llb: http://forums.ni.com/attachments/ni/170/159066/1/VoigtApprox6.llb I cannot open your llb... :( <img src="http://forums.ni.com/attachments/ni/170/159070/1/TestV.png"> Message Edited by altenbach on 01-03-2006 02:21 PM TestV.png: http://forums.n...

am doing project in genetic algorithm.... i need to design an adaptive filter using this genetic algorithm... am working in matlab..... if anyone can help me???? thanks in advance.......... On 24.1.12 8:37 , ABU BENAZIR wrote: > am doing project in genetic algorithm.... i need to design an adaptive > filter using this genetic algorithm... am working in matlab..... if > anyone can help me???? > thanks in advance.......... Do you not get any help from the school, Anjalai Ammal Mahalingam Engineering College? -- Tauno Voipio On Jan 24, 1:31=A0pm, Tauno Voipio <tauno.voi...@notused.fi.invalid> wrote: > On 24.1.12 8:37 , ABU BENAZIR wrote: > > > am doing project in genetic algorithm.... i need to design an adaptive > > filter using this genetic algorithm... am working in matlab..... if > > anyone can help me???? > > thanks in advance.......... > > Do you not get any help from the school, > Anjalai Ammal Mahalingam Engineering College? > > -- > > Tauno Voipio i juz ask for the help... if u can help me otherwise leave it.... dont comment unneccesrly.... On Tue, 24 Jan 2012 20:43:33 -0800, ABU BENAZIR wrote: > On Jan 24, 1:31 pm, Tauno Voipio <tauno.voi...@notused.fi.invalid> > wrote: >> On 24.1.12 8:37 , ABU BENAZIR wrote: >> >> > am doing project in genetic algorithm.... i need to design an >> > adaptive filter using this genetic algorithm... am working in &...

Hi, Can any one send m the updated EZW algorithm that can b MATLAB implemented "Reena Singh Singh" wrote in message <j0m5ap$kdt$1@newscl01ah.mathworks.com>... > Hi, Can any one send m the updated EZW algorithm that can b MATLAB implemented Do you have the Wavelet Toolbox? Also, you started this identical thread just 4 days ago: http://www.mathworks.com/matlabcentral/newsreader/view_thread/310773#846343 Wayne ...

I'm wondering if anyone has any insight/experience with the MATLAB Coder product, http://www.mathworks.com/products/matlab-coder/ which claims to be able to convert MATLAB code to C/C++ code. It seems to me that there has to be some hidden catches/limitations on how well it works. For starters, if we could freely transform all of our M-Code to C, it seems that we would be able to expose the source code for all TMW's proprietary built-in functions. For example, if I wanted to see how the FFT was implemented, I would apply the MATLAB Coder to the 1-line mfile containing Y=fft(X); Also, I'm wondering if/how the Coder would be smart enough to avoid constructing logical index arrays. For example, in M-Code programming, if I want to selectively modify the elements of an array, I have to build logical index arrays like so: idx=(A<0); A(idx)=1; In other words, I have to allocate a whole array, idx, the same size as A just to modify all of its negative elements. In a C/C++ implementation, building logical arrays like idx are things you avoid in favor of simple for-looped conditional tests like the following: for (i=0; i<=N; i++) { if A[i]<0, A[i]=1; end } Does anyone know if the Coder is smart enough to avoid logical indexing when it translates things into C code? If you want to know how MATLAB implements FFT, you won't find out by using Coder. Coder generates a generic radix-2 FFT for power-of-2 lengths only. It's no secret that MATLAB le...

Hello everyone I do any work in Matlab: function analysis, processing and visualization of data and information in general. Works related to mathematics, physics, fluid mechanics, numerical methods, environment, models and process automation. The cost per job is negotiable, 50% at the beginning and 50% at the end. If you are interested write me to correa.dave30@gmail.com Greetings Dave ...

Hello Friends, I have written an application(some .m files) in R2007b version of Matlab. I am running this code on a remote server and I am running Matlab2008b in this server. What happens is that the execution of the code simply freezes. Is it possible to have a software watchdog timer kindof thingy that can solve this problem? Thanks, LFG "LFG Tech" wrote in message <ir0r0s$3ht$1@newscl01ah.mathworks.com>... > Hello Friends, > > I have written an application(some .m files) in R2007b version of Matlab. I am running this code on a remote server and I am running Matlab2008b in this server. What happens is that the execution of the code simply freezes. Is it possible to have a software watchdog timer kindof thingy that can solve this problem? > > > Thanks, > LFG Another point - i mentioned a watchdog timer in Matlab kind of situation. But, since that is in code as well, wld it also not freeze ? I want it to be independant from the execution of the application, just monitor this execution from the outside/. Or is it possible to generate the reports for each and every line or such , a very verbose report for each iteration? Refards, LFG. "LFG Tech " <vinodkaruvat@gmail.com> wrote in message news:ir0rfr$553$1@newscl01ah.mathworks.com... > "LFG Tech" wrote in message <ir0r0s$3ht$1@newscl01ah.mathworks.com>... >> Hello Friends, >> >> I have written an application(some .m files) in...

"Neural network" redirects here. For networks of living neurons, see Biological neural network . For the journal, see Neural Networks (journal) ...

Parameters estimation of GARCH model. [url_nofollow=http://w3.uniroma1.it/passalac/buffer/GARCH.xls]http://w3.uniroma1.it/passalac/buffer/GARCH.xls[/url] ...

... sent me a pdf with eight dense pages of physics diagrams and systems of equations and notes on derivations. It uses something called the Levenberg-Marquardt ...

Providing researchers with access to millions of scientific documents from journals, books, series, protocols and reference works.

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more. ...

Algebra Applied Mathematics Calculus and Analysis Discrete Mathematics Foundations of Mathematics Geometry History and Terminology Number Theory ...

For a gentle introduction to the Levenberg-Marquardt algorithm, see e.g. K Madsen, H B Nielsen, O Tingleff (2004): Methods for non-linear least ...

joachim wuttke messen und deuten — computing and science science Scientific Computing : application server at Jülich Centre for Neutron Science ...

... User Guide - Univariate and multivariate optimization Optimization L-BFGS and CG Unconstrained optimization. Function gradient is needed. Levenberg-Marquardt ...

... team has taken over hosting and maintenance of the pylevmar package (as of Feb 2009), a small Python wrapper for the levmar Levenberg-Marquardt ...

Resources last updated: 3/31/2016 12:44:22 AM