I'm looking for a way to modify the array editor to represent a specific variable being opened... i.e. For an easier user interface for a program, I want to define each column of a specific array to be a specific variable and show the symbol or term on each column heading. I'd also like to fix the number of columns but still allow the user to modify the number of rows. Sound possible? If so, I'd appreciate a shove in the right direction. Chris wrote: > > > I'm looking for a way to modify the array editor to represent a > specific variable being opened... > i.e. For an easier user interface for a program, I want to define > each > column of a specific array to be a specific variable and show the > symbol or term on each column heading. I'd also like to fix the > number of columns but still allow the user to modify the number of > rows. > Sound possible? If so, I'd appreciate a shove in the right > direction. > > Use a grid object. See my example, Graph_and_Table: <http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=3477&objectType=file> ...

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

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

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

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

I just installed Matlab under Linux (openSUSE 10.2) and setup a desktop icon to more easily launch it. So far everything works fine, but what I would like to do now, if possible, is change the icon image (which currently is some generic one provided by kde) to the actual Matlab "membrane" icon (which all the Windows versions use). The kde desktop actually includes a fairly large catalog of icons to choose from (including the one for Mathematica) but not Matlab surprisingly. Does anyone know if this is available, and if so, where I could find it? I searched online but didn't come across anything. Thanks, -Pat ${MATLABROOT}/X11/icons "Peter Perkins" <Peter.PerkinsRemoveThis@mathworks.com> wrote in message news:f2f9o7$7t6$1@fred.mathworks.com... > ${MATLABROOT}/X11/icons > Thanks Peter! That was easy (which is nice for a change ;^) One other quick question. There were three icon files to choose from (matlab32c_icon.xpm, matlab48c_icon.xpm, matlab64c_icon.xpm). Do you know what the difference is between these? The resolution of the image? On my screen it hard to tell. Thanks again. -Pat Pat Kelecy wrote: > "Peter Perkins" <Peter.PerkinsRemoveThis@mathworks.com> wrote in message > news:f2f9o7$7t6$1@fred.mathworks.com... >> ${MATLABROOT}/X11/icons >> > > Thanks Peter! That was easy (which is nice for a change ;^) > > One other quick question. There were three...

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

Has others seen this problem? I am using Matlab 2010a, on windows. I am making a GUI using GUIDE. I noticed that after about 20 minutes or so of making many changes to the GUI, i.e. moving things around, resizing, etc..., then GUIDE would start becoming slow in response and very shortly after that Matlab and GUIDE would freeze, and I see the CPU running max for Matlab, and see messages likes these on the console: I have to terminate the session, kill Matlab, and I end up losing any changes made to GUI before the last saving. I make sure I save the GUI every 10 seconds now. But GUIDE seems to be not a robust software. --Nasser ------------------------------------------------- Exception occurred during event dispatching: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.windows.WCo...

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

Hello, First, sorry for my english. I have a problem with the Embedded Matlab Editor. I have to use data from an exterior file. So, I try to use the block "From File". In this block, the matrix must contain time values in row one and I do not know why. So, as I only need data, I put 0 in this row and my data are on the other rows and colums. But, I do not know how I can have an access to these data. I call my file.mat : "wall.mat". I do not know if the entry for my embedded matlab editor needs to have the same name. And the variable of my file.mat calls "coor". (Indeed, I created my file.mat from a file.m) But in different cases, I have these errors: 1) If I try to access to my data by: "y = wall(2,2);" for example, I have an error message: "Index expression out of bounds. Attempted to access element 2. The valid range is 1-1" 2) If I try to access to my data by: "y = coor(2,2); for example, I have an error message: "Undefined function or variable 'coor'." But if I type this in the "command windows" from Matlab, Matlab finds the good result. I also try the block "from workspace" and it does not work either. So, I have really no more ideas to solve my problems. If someone can help me, it will be so nice. Thanks a lot for your reply. ...

I have code running that calls a GUI I made ... the GUI allows me to manipulate variables within the mcode and display sonar images I am getting from a sonar which is connected. Here is my problem: I have two while loops going which one monitors a push button to start and stop recording images to a file. The other is just a quit button. The inner loop is the start/stop loop and the outer is quit. pseudo code below ... while QUIT == 0 while STOP == 0 RECORD DATA CHECK STOP VARIABLE end CHECK STOP VARIABLE CHECK QUIT VARIABLE end The RECORD DATA section is actually a fairly long amount of code but outside the inner loop it is literally just two functions (get()). It seems like when it gets in the outer loop it no longer allows the GUI to respond. It's like it is running so fast in the outer loop that it never allows the GUI to get any processing time (and therefore is no longer responsive to my button selections). If I run it with a breakpoint at one of the check variable lines in the outer loop it runs fine since it keeps stopping at the breakpoint. I've shown my code works correctly with the breakpoints but when running real time the GUI becomes unresponsive once I select stop recording and it drops out to the outer loop. Does anyone have a suggestion for this? I thought maybe adding a wait or delay may help the situation but I am not sure how to do it or if it will ...

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

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 - incorporation of a priori knowledge in the identif...

In programming, I frequently write quite long lines, is there a way that when the line goes to 75 columns, the editor automatically add a terminating " ... " and then wrap the line back to automatically continue on the next line while I am trying continuously? I noticed that for "comments" in matlab, it has already implement "automatic line wrapping", but I don't know why for normal programming editing, it does not do this automatically? Anybody knows how to turn on this? I am using Matlab 7.0... (I saw in the "Preference" there is no such option...) Thanks you very much, -Lucy ...

How do I get MATLAB to recognize a new version of perl and not run with the old version shipped with the install? Alternatively, How do I force bioperl to recognize the version of perl shipped with MATLAB (or vice versa really)? Many thanks. ...

Hi, While running matlab 2008 in zsh shell, I found that some commands (ls, copyfile) are reporting following type of errors. Error using ==> ls at 36 which corresponds to 'MATLAB:ls:OSError' which is equivalent to matlab failing to execute unix command. Similar error is produced whenever matlab command (ex. copyfile) invokes unix built in command (lex. cp -rf). I do not see this issue with matlab 2006 and matlab 2011. Please let me know why does it happen for matlab 2008. Regards Supriyo "Supriyo " <supriyomj@gmail.com> wrote in message news:jr4q8e$hc9$1@newscl01ah.mathworks.com... > Hi, > > While running matlab 2008 in zsh shell, I found that some commands (ls, > copyfile) are reporting following type of errors. > Error using ==> ls at 36 which corresponds to 'MATLAB:ls:OSError' which is > equivalent to matlab failing to execute unix command. > > Similar error is produced whenever matlab command (ex. copyfile) invokes > unix built in command (lex. cp -rf). > I do not see this issue with matlab 2006 and matlab 2011. Please let me > know why does it happen for matlab 2008. What does the second output argument of this call say? [status, result] = system('ls') -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com "Steven_Lord" <slord@mathworks.com> wrote in mess...

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

Hi: I tried to solve a 4 order PDE through pdetool, but I found it seemed could solve only 2 order problem. So is there easy way to solve 4 order PDE? Thanks ...

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

Hello Group, When you load 4D data, say of the form data(row,col,slice,time) and then display a particular voxel time series say : >>data(2,14,10,:) (note slice # 10) Then Matlab displays >>data(2,14,1,:), PLEASE NOTE : Instead of 10, it shows 1. Could anyone please tell me if they note this. Thanks Jim ...

undefined ...

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

The 13 possible strict weak orderings on a set of three elements { a , b , c }. The only partially ordered sets are coloured, while totally ordered ...

Get Subway Ordering for California on the App Store. See screenshots and ratings, and read customer reviews.

One-click ordering plus a tiny smartwatch screen leads to unintended consequences.

The United Nations, expressing deep concern, said on Thursday that militant group Islamic State had ordered all girls and women in and around ...

Former Florida Gov. Jeb Bush's (R) presidential...

Q. I run a jewellery business on a lean budget. How do I know how many materials to buy when orders are not steady?

DOMINOS and Ford have joined forces to deliver new in-car pizza ordering technology. And it's awesome.

Ordering coffee can be a grind

The man found murdered, wrapped in plastic and dumped in a Bali rice field with his throat slashed was trying to build a motel in Sanur and was ...

Australian businessman Robert Ellis's womanising and secretive financial transactions caused his wife to instruct that her problems with him ...

Resources last updated: 3/30/2016 12:24:00 PM