Many of you who post to this newsgroup are also regular contributors to the MATLAB Central File Exchange. Look for your favorite contributors on our File Exchange Author Profile page. You can read their profiles and see pictures: <http://www.mathworks.com/matlabcentral/reports/fileexchange/allProfiles/> In a random drawing, we recently awarded MATLAB jackets to three File Exchange authors with profile pages: Michele Giugliano, Andrey Egin, and Denis Gilbert. You can win a jacket, too. Just submit a new file to the File Exchange or update your author profile by December 2003 for a chance to win one of four MATLAB jackets. See the jacket below: <http://www.mathworks.com/matlabcentral/images/jeff3.jpg> Here are some interesting File Exchange facts: - Since its inception in 2001, visitors have downloaded more than 1.25 million submissions from the File Exchange. - In September 2003 alone, visitors downloaded 80,085 files, an average of 2670 a day! .... what if the prize was a free copy of the next version of Matlab :-) majb Min Poh wrote: ....or an offer for employment... aj "bourassa" <bourassa-m@rmc.ca> wrote in message news:3f9d507d$1@rmcnt03a.rmc.ca... > ... what if the prize was a free copy of the next version of Matlab :-) > > majb > > Min Poh wrote: > ...

I am trying to to some computations and I would like to do it in parallel using parfor or by Opening the matlabpool.. as the current implementations is too slow: result=zeros(25,16000); for i = 1:length(vector1) % length is 25 for j = 1:length(vector2) % length is 16000 temp1 = vector1(i); temp2 = vector2(j); t1 = load(matfiles1(temp1).name) %load image1 from matfile1 t2 = load(matfiles2(temp2).name) % load image2 from matfile2 result(i,j)=t1.*t2 end end It work fine but I would really like to know if there is a way to speed thing up ... Thanks a lot in advance! ...

Is there a variable I can query to discover the version of matlab I am using while running a file. The old code for imhist does not work with the new imhist code (the new code is much better) I would like to have a statement saying IF (MATLAB < 2007) use this ELSE use imhist END Does this exist? thank you Erik wrote: > Is there a variable I can query to discover the version of matlab I am using while running a file. AllVers = ver; ThisVer = AllVers(strcmp({AllVers.Name},'MATLAB')); You can then either look at ThisVer.Release(2:end-1) to get out 'R2007a' (for example), or at ThisVer.Version to get out '7.4' (for example) "Erik " <Idont@wantSpam.co> wrote in message news:gd35ou$l1m$1@fred.mathworks.com... > Is there a variable I can query to discover the version of matlab I am > using while running a file. > > The old code for imhist does not work with the new imhist code (the new > code is much better) I would like to have a statement saying > > IF (MATLAB < 2007) > use this > ELSE > use imhist > END > > > Does this exist? Use VER, VERSION, and/or VERLESSTHAN: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/ver.html http://www.mathworks.com/access/helpdesk/help/techdoc/ref/version.html http://www.mathworks.com/access/helpdesk/help/techdoc/ref/verlessthan.html As the Remarks section of the VERLESSTHAN reference page indicates, if your version of MATLAB doesn&#...

My problem with matlab script node is related to calling function in matlab. I created an m-file function that takes an imput temperature (from DAQ) and defines a material property. My matlab script node doesn't seem to recognize my function. I have placed the function in the folder the vi is currently located, but it doesn't read it. How do I get matlab script node to read the functions I create in matlab? Add the directory to matlab path, or call the .m file with it full name ( D:\..... \myfile.m) Let me clarify, I have pasted my matlab code into the matlab scrip node. In this code, I have called a subfunction that I have created. Example k(n)=k_c(T(n)) where k_c is a subfunction I have created. How do I get my code in the node to sucessfully read the subfunction k_c? As indicated, you need to add the directory where the .m file containing the function resides to the list of paths that are read in. This is your startup.m file. The other option is to do a "cd" command prior to calling your function to change to the directory where the .m file containing the function resides. Thanks for reiterating the information. My matlab script node is working properly. I had never used the "cd" command in matlab. I always set the working directory when I open the program, and put all the m files into t...

Hello everyone, I have a matlab in class exercise due in few days. I am new to matlab and the instructions provided with the assignment is minimal. Can Someone help me with the basic understanding as in how can I map the problem's solution to matlab script ? I am not able to post question here as it is a jpeg file. Please let me know and then we can discuss further. ...

Hi all, I'm building a java swing based GUI for my Matlab application. As such, user input is available as text strings, for example "{[0; 0], [3.5 0; 0 2]}" (mean vector and covariance matrix of a 2D Gaussian). The user input will be passed to the compiled matlab method as a MWCellArray. Problem is how do a convert (parse) the above string into a MWCellArray? From its javadoc http://www.mathworks.com/access/helpdesk/help/toolbox/javabuilder/MWArrayAPI/index.html the following method is available: java.lang.String toString() Returns a string representation of this array, but the reverse method is not. Evidently, parsing a string like the one above is a non trivial task and I'm loath to attempt writing one by myself. I would be very thankful if someone can point me to the required parser implementation. Matlab itself is carrying out this task all the time, perhaps it is possible to access Matlab's own parser. Help much appreciated, Ritesh ...

In MatLab 6.5, the routine above works normal: figure; sem=Average(:,2)./sqrt(Average(:,3)); bar([1:1:7],Average(:,1),sem); ylabel('% of epochs analyzed') xlabel('Frequency Band') title ('Occurrence of Oscillatory Events - Ch X') %Where Average and sem are vectors; But, in MatLab 7.0, the same code cause the following error: ??? Error using ==> xychk Too many input arguments. Error in ==> bar at 53 [msg,x,y] = xychk(args{1:nargs},'plot'); Error in ==> cross_subj_analysis>ok_Callback at 327 bar([1:1:7],Average(:,1),sem); I'd like to know why this occour. Thanks Henrique In article <g7a1j6$l1$1@fred.mathworks.com>, Henrique Amaral <henriquetomaz@uol.com.br> wrote: >In MatLab 6.5, the routine above works normal: >figure; >sem=Average(:,2)./sqrt(Average(:,3)); >bar([1:1:7],Average(:,1),sem); >ylabel('% of epochs analyzed') >xlabel('Frequency Band') >title ('Occurrence of Oscillatory Events - Ch X') >%Where Average and sem are vectors; >But, in MatLab 7.0, the same code cause the following error: >??? Error using ==> xychk >Too many input arguments. >Error in ==> bar at 53 > [msg,x,y] = xychk(args{1:nargs},'plot'); >Error in ==> cross_subj_analysis>ok_Callback at 327 >bar([1:1:7],Average(:,1),sem); >I'd like to know why this occour. When the third argument is numeric, it must be the bar width. barwidth must b...

Hi , I have installed MATLAB 7, now if I want to install 6.5 then how to change the version of MATLAB files which are made in version 7, as some files of newer version may not work in older version? "rajesh " <rajesh.shaw@gmail.com> wrote in message news:ff9e6t$26v$1@fred.mathworks.com... > Hi , > I have installed MATLAB 7, now if I want to install 6.5 > then how to change the version of MATLAB files which are > made in version 7, as some files of newer version may not > work in older version? There is NO version number for your m files when you create them? they are just plain text file. But If you create an .m file which runs ok under version 7, and you want this file to run ok under earlier versions (assuming it does not), then you need to make the necessary changes in your m file to make it run under earlier versions (this is sometimes called backporting). But if your m file calls function(s) that are part of Matlab and those functions only exist in version 7 and not in the erarlier version, then you might be out of luck there. I am not sure why you want to do this. The common practice is to go the other way. Any reason why, if you have version 7 you want to use version 6.5? may be if you give the reason it would help to give you a better advice. Nasser On Oct 18, 10:13 pm, "Nasser Abbasi" <n...@12000.org> wrote: > "rajesh " <rajesh.s...@gmail.com> wrote in message > > ne...

I have used MATLAB for few hours.So I don't know the differences between version 6.5 and 7.0.I want to use some codes of MATLAB 7.0, but they doesn't work in MATLAB 6.5.How to change these codes so that they can work in matlab 6.5.Waiting for your help. Thank you . The codes are like this .I think changing the function findPI may work ,but I don'y know how % PIfun.m % Evaluate a function used to find the PI-line, using Kyle Champley's % method. % % Adam Wunderlich % last update: 5/18/06 function y = PIfun(r,R,h,gamma,x3,sb) temp = R - r*cos(gamma-sb); y = h*((pi - 2*atan(r*sin(gamma-sb)/temp))*(1 + (r^2 - R^2)/ (2*R*temp)) ... + sb) - x3; % find_PI_Line.m % % Find the the parametric interval corresponding to the unique PI-line % passing through the point x for a given helical pitch. % This code implements the method of Kyle Champley. % inputs: P = pitch (cm/turn), R = helix radius, delta_s = s stepsize, x % output: PI = [sb st] % % Adam Wunderlich % last update: 5/18/06 function [PI] = findPI(P,R,delta_s,x) h = P/(2*pi); r = sqrt(x(1)^2+x(2)^2); gamma = atan2(x(2),x(1)); options = optimset('TolX',h*delta_s/100,'FunValCheck','on'); [sb,fval,exitflag] = fzero(@(sb) PIfun(r,R,h,gamma,x(3),sb),... [(x(3)-h*pi)/h,x(3)/h],options); if exitflag ~=1, disp('Error: PI invalid'); end % note that beta=sb in Kyle's formula alphaX = atan(r*sin(gamma-sb)/(R - r*cos(gamma-sb))); st = sb + pi -...

Hi! I opened the matlab script fractal.vi then my antivirus (Kaspersky) ask if I acept the modified te registry of matlab setup, I say "yes" After that when I want open matlab the setup run but inmediatly it's close, why???? Hola: Abri el matlab script fractal.vi y mi antivirus (Kasoersky)me preguntaba si aceptaba una modificacion del registro del setup de matlab yo acepte Despues de eso cuanto abro matlab se cierra inmediatamente porque?? Hola Sa�l Es probable que el problema est� relacionado con el antivirus Kaspersky, trata de deshabilitarlo y correr nuevamente el ejemplo. Si esto no funciona revisa el estado de tus licencias de LabVIEW y de Matlab, probablemente tengas que reinstalar el programa y/o activar las licencias. �Qu� versi�n de LabVIEW y Matlab tienes? �El comportamiento es el mismo con el otro ejemplo?, me refiero al de la siguiente dir: labview\examples\scriptnode\Differential Equation.llb\MATLAB Script - Lorenz Diff Eq.vi Si corres este ejemplo �El antivirus tambi�n te pregunta cambiar lo de los registros?, ser�a bueno contactar a Mathworks para saber c�mo reconfigurar nuevamente los registros de Matlab ...

Dear all, I had a data file with a file head of 4096 characters. I try to use fread to read the file head, however, the results are different in different Matlab version: [FileAsChars, NumChars] = fread(fid,4096,'char'); I used Matlab 7.1.0.246 (R14). service pack 3 and 7.3.0.267 (2006b), it seems the result is not right at 2006b. Anyone can give me some advices? thank you very much! "bin " <binpersonal@gmail.com> writes: > Dear all, > > I had a data file with a file head of 4096 characters. I try > to use fread to read the file head, however, the results are > different in different Matlab version: > > [FileAsChars, NumChars] = fread(fid,4096,'char'); > > I used Matlab 7.1.0.246 (R14). service pack 3 and 7.3.0.267 > (2006b), it seems the result is not right at 2006b. > > Anyone can give me some advices? Did you open the file in binary mode? fopen(filename, 'rb') Otherwise, on some platforms (cough cough Windows) the C library will convert carriage-return/linefeed pairs in the file to linefeeds in your buffer, changing the number of characters. -Peter Thank u, I changed to 'rb', but it didn't seem to work. my original code is: fopen(strcat(UserInput.filepath,UserInput.filename),'r','ieee-le'); FileHeader = []; [FileAsChars, NumChars] = fread(fid,4096,'uchar'); > Did you open the file in binary mode? &...

Hi! I have recently installed Matlab 7.0. I have save my simulation results in .MAT file. However, these MAT files can't be opened using Matlab 6.5.1. I encountered problem as follows: ??? Error using ==> load Unable to read MAT file D:\MATLAB7\work\results.mat File may be corrupt. How can I solve this problem? Thanks. Linda Please see here: <http://tx.technion.ac.il/~perryb/matlab7/mat7.pdf> In short, save again as: The new features and enhancements are described in the "Release notes" of Matlab. A new feature that causes incompatibility with previous versions of Matlab is the new encoding of MAT files. Matlab release 14 writes character and figure data to MAT-files using Unicode encoding by default. Unicode encoded MAT-files are not readable by earlier versions of Matlab. If you intend to load your MAT-files created with Matlab release 14, you must override the Unicode default during the save. You can override the default encoding by using the -v6 switch with save and hgsave: save filename -v6 hgsave filename -v6 Hope it helps Linda wrote: > > > Hi! > > I have recently installed Matlab 7.0. > I have save my simulation results in .MAT file. > However, these MAT files can't be opened using Matlab 6.5.1. > > I encountered problem as follows: > > ??? Error using ==> load > Unable to read MAT file D:\MATLAB7\work\results.mat > > File ma...

Dear Colleagues, I would like to call your kind attention to the updated website of the Soft Computing Research Group at the University of Veszprem (Hungary) http://www.fmt.vein.hu/softcomp/ You can download MATLAB Toolboxes: - Fuzzy Clustering MATLAB Toolbox - Genetic Programming MATLAB Toolbox - Interactive Evolutionary Strategy (EASy) MATLAB Toolbox - Constrained Fuzzy Model Identification for the FMID Toolbox independent MATLAB programs related to: - Data mining * Fuzzy clustering based time-series segmentation * Supervised Fuzzy Clustering for the Identification of Fuzzy Classifiers * Fuzzy Modeling with Multidimensional Membership Functions: Grey-Box Identification and Control Design * Compact TS-Fuzzy Models through Clustering and OLS plus FIS Model Reduction * Inconsistency Analysis of Labeled Data * Star plots - MATLAB files for Graphical Representation of trace elements of clinkers - Process control and monitoring * Feedback Linearizing Control Using Hybrid Neural Networks Identified by Sensitivity Approach * Incorporating Prior Knowledge in Cubic Spline Approximation - Application to the Identification of Reaction Kinetic Models * Identification and Control of Nonlinear Systems Using Fuzzy Hammerstein Models - A Simple Fuzzy Classifier based on manuscripts in PDF about - fuzzy model based process control and monitoring - fuzzy clustering and classification - incorpor...

Dear Colleagues, I would like to call your kind attention to the updated website of the Soft Computing Research Group at the University of Veszprem (Hungary) http://www.fmt.vein.hu/softcomp/ You can download MATLAB Toolboxes: - Fuzzy Clustering MATLAB Toolbox - Genetic Programming MATLAB Toolbox - Interactive Evolutionary Strategy (EASy) MATLAB Toolbox - Constrained Fuzzy Model Identification for the FMID Toolbox independent MATLAB programs related to: - Data mining * Fuzzy clustering based time-series segmentation * Supervised Fuzzy Clustering for the Identification of Fuzzy Classifiers * Fuzzy Modeling with Multidimensional Membership Functions: Grey-Box Identification and Control Design * Compact TS-Fuzzy Models through Clustering and OLS plus FIS Model Reduction * Inconsistency Analysis of Labeled Data * Star plots - MATLAB files for Graphical Representation of trace elements of clinkers - Process control and monitoring * Feedback Linearizing Control Using Hybrid Neural Networks Identified by Sensitivity Approach * Incorporating Prior Knowledge in Cubic Spline Approximation - Application to the Identification of Reaction Kinetic Models * Identification and Control of Nonlinear Systems Using Fuzzy Hammerstein Models - A Simple Fuzzy Classifier based on manuscripts in PDF about - fuzzy model based process control and monitoring - fuzzy clustering and classification - incorporation of a priori knowledge in the identif...

Hi, does anyone know why Fortran-mex files can't be compiled on matlab V5.3 and run on matlab V6? For example: if I compile the example-program (shipped with matlab) timestwo.f on matlab version 5.3 (R11) and try to run it on matlab version 6+ (R12 or R13), I get the error message: "Unable to load mex file: E:\timestwo.dll. The specified module could not be found. ??? Invalid MEX-file" Likewise if I compile it on matlab version 6.1 (R12), I get a similar error message if run on matlab version 5.3 (R11). However, if I run it on matlab version 6.5 it works OK. If I try the same experiment with the corresponding example file written in C, timestwo.c, I get no such problems. Why is that? Per A. Hi Per, usually MEX-files need to be compiled with the MATLAB version you want it later to run with. The reason is, that the code links against the current dynamic libraries (DLLs), which may change from version to version. You may have luck that it works (see your example of timestwo.f), but you should never rely on this. Titus "Per A. Brodtkorb" <Per.Brodtkorb@ffi.no> wrote in message news:eecb303.-1@webx.raydaftYaTP... > Hi, > > does anyone know why Fortran-mex files can't be compiled on matlab > V5.3 and run on matlab V6? > > For example: if I compile the example-program (shipped with matlab) > timestwo.f > on matlab version 5.3 (R11) and try to run > it on matlab version 6+ (R12 or R13), I ...

Dear all, I just upgraded to a Windows 7 64 bit box, multicore, 6GB. I installed the 32 bit as well as the 64 bit version of Matlab 2008b (I'm currently stuck with this version). I checked that both versions are actually able to use multithreading using the following code, which led to the use of 4 cores: a = rand(40000,1); for k=1:20000; b=log(a); end Now I let my real world code (pure Matlab) run on both versions: 1.) The 64 bit version make much less use of multithreading. The exact same code runs in the 32 Bit Matlab on 4 cores, and on the 64 bit Matlab only on 1 core. 2.) For some reason, there is not that much of a speed difference. Both Matlab versions take about the same amount of time running that code. The code is complex and it's hard to provide a good minimized example illustrating these effects. But for example, I'm using fmincon, which should gain a lot from multithreading since the computation of the derivatives can be computed in parallel, does not get much slower on the 64 bit Matlab, although it just uses one core. This also holds similarly for other functions I use, for example lsqnonlin. What is going on here? Can somebody tell me more about this behavior? Thanks in advance... What is going on here? I'm having a very similar problem. The 64 bit version of Matlab uses less cores than the 32 Bit version. PS: Matlab 2009a, Parallel Computing Toolkit is NOT installed Dear Holger, > But for example, I...

undefined ...

Hi, I have purchased a ti6713 dsp kit from texas and i have got a matlab cd with the kit. now when i am trying to install the matlab its asking for a plp number but when I tried for the plp number through net I am not able to get it. Can anyone help me how to get a license and the plp number for the 30 day trial version which has come with the dsp kit Thanks and Regards, Jayesh Hi, read this : <http://www.mathworks.com/support/solutions/data/1-16LU2.html> J�r�me ...

Hi, I am new here; thanks in advance for your patience. Can the Database Toolbox be added to the MATLAB Student Version? If so, is SQL Server 2008 Express supported? Which other versions of MATLAB, if any, support SQL Server 2008 Express? Nicole ...

I installed Matlab 7 on my AMD Sepron 3500+ laptop, i initially had the following problem: When I double click on the Matlab icon,Matlab window opens and on the lower left hand corner "initializing' appears but as soon as this word is gone the window closes and matlab is shutdown. I read through the discussions and changed my BLAS VERSION to c:/ MATLAB7\bin\win32\atlas_Athlon.dll, I located the atlas_Athlon.dll file in my win32 folder to confirm it's there, so Matlab now opens but if i enter guide or try to open an M-file i have errors such as: >> guide ??? Undefined function or variable 'isappdata'. Error in ==> guide at 39 if isappdata(0,'MathWorks_GUIDE_testmode') and when i try to open a M-file i get this error: ??? Function 'eq' is not defined for values of class 'cell'. i have not come across this in any forum or the matlab support website, any help would be much appreciated!, kind regards. ...

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 ...

I purchased this copy from a university bookstore in California and the bookstore employee, as an inducement to purchase, indicated that the necessary permanent password would be forthcoming. He never provided it. In short I was deceived and defrauded and now have an unusable copy of Matlab. How may I resolve this dilemma ? Appreciatively, C.Thomas "Courtney Thomas" <ccthomas@joimail.com> wrote in message news:pan.2005.05.18.13.50.51.891670@joimail.com... >I purchased this copy from a university bookstore in California and the > bookstore employee, as an inducement to purchase, indicated that the > necessary permanent password would be forthcoming. He never provided it. > > In short I was deceived and defrauded and now have an unusable copy of > Matlab. > > How may I resolve this dilemma ? The Student Version of MATLAB shouldn't need a password -- the bookstore employee was probably thinking of the professional version of MATLAB, which does require a passcode or a license file. Chapter 2 of the Learning MATLAB 6 manual, which should have been included in the box, discusses how to install the Student Version. As long as you follow the instructions in that chapter and have your documentation CD in the drive when you start MATLAB, it should work. There is one issue that you may run into if your machine has a Pentium 4 -- see section 27 of this document for instructions on how to avoid this issue. http://www.mathwo...

Hello everyone, I have a question to ask here. I implemented an application into FPGA board. I set up a serial communication connector with MATLAB 7.0.4 and boardand. I send a group of data from Matlab to board and the results send back to Matlab . For the requirement of my project, I need do the same operation for many times. It is no problem for the number of trials is small like 10 or 100 even 1000. If I set the number of trials is 10000, when the 10000 trial finished, the Matlab indicator will always show 'busy' and never goes out. Does anybody see the same thing before? Could you explain it for me? Many thanks. Quan ...

hi all any one help me with tis matlab error due to less memory. any solution for tis. am usin MATLAB (R2008a). Unexpected error status flag encountered. Resetting to proper state. thanks kirthi "kiruthiga " <kirthi.chandrasekar@gmail.com> wrote in message news:ii5jtf$hv3$1@fred.mathworks.com... > hi all any one help me with tis matlab error due to less memory. any > solution for tis. am usin MATLAB (R2008a). > Unexpected error status flag encountered. Resetting to proper state. I think you're more likely to receive some constructive suggestions if you post to the newsgroup some code with which you can reproduce this problem. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com ...

In mathematics, discrepancy theory describes the deviation of a situation from the state one would like it to be. It is also called theory of ...

... seem a little off, it’s because there’s been a bug affecting those figures. Facebook admitted to many page owners today that there is a discrepancy ...

The flawed "nineteenth century" Australian health system is neglecting one third of Australians cancer patients.

A lawyer who worked with Julia Gillard in the 1990s says there is a two-and-a-half-year discrepancy in her explanation of when she knew about ...

... or charges have been proven in court.Privy Council Office spokesman Raymond Rivet wouldn't say whether officials flagged the address discrepancy, ...

China, US unveil report on trade data discrepancy People's Daily Online ... 26, 27, 28, 29, 30, 31. Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, ...

Yahoo just released a statement that its board will “review” today’s disclosure that the bio of its CEO Scott Thompson contained an error related ...

Peter Bright at Ars Technica, on mobile web browser market share across the whole web ( as reported by Net Market Share ): In mobile, iOS users ...

... One odd bit is where Broder tries to explain away his memory about speeds compared to the Tesla data dump : "I cannot account for the discrepancy, ...

Intel’s manufacturing maestro William Holt laid out how Intel’s scaling down of its transistor dimensions along three dimensions continues to ...

Resources last updated: 3/30/2016 12:39:57 PM