I would be interested in this, especially since it is optimized with vector operations. Thanks, Trey

Hi Shawn, I'm interested! I'm PhD working on reaction/diffusion system and this tool would save me lot of time! Did you release it? Where? With which name? Thanks! Yannick

0 |

5/7/2015 1:01:01 AM

On Thursday, March 22, 2012 at 12:06:25 AM UTC, shawn wrote: > Hiya, > > For my phd thesis, I wrote a custom unstructured finite element (tri / > tet) 2D/3D reaction-diffusion solver in matlab. It uses an adams- > bashforth / trapezoidal predictor-corrector time integrator with a > customised GMRES linear solver (which itself uses matlab's '\' > operator), with adaptive time-stepping based on the Gresho and Sani > depiction in their CFD books. Hence, this thing handles multiple > space and time scales - which I needed for the computational cell > biology modeling I performed. Note, there's no Newton solver in > it...yet? > > Anyway, I'm curious if anyone in the matlab community would find this > tool useful? I'm considering releasing this into the wild (via > sourceforge or mathwokds I'm not sure yet), but that entails writing > documentation and probably making it comprehensible to other human > beings (oh boy! :). Any feedback from you folks I would greatly > appreciate... > > thanks! > > shawn Hi Shawn. My Phd research is also about implementation of reaction diffusion systems in 2d and 3d. So yes it will be definitely helpful. Wakil,

0 |

11/19/2015 10:00:04 AM

Hello All, I'm working with an aplication that use the matlab engine. I made the C++ program and it is working well in my pc with matlab 2007b, but the same very basic program shows an error when I tried to compile it in a pc with matlab R2010b. The error is about the icuuc32.dll. ¿Why is asking this DLL? How can I solve this?. Thanks¡ ...

i want to write Matlab program of gaussian beam (2D or 3D) using helmholtz equation.... if anyone could give the full program, that will help me to do my project work...... thank you :) "Debashis Roy" <deba4u@ymail.com> wrote in message <lhv04i$6sf$1@newscl01ah.mathworks.com>... > i want to write Matlab program of gaussian beam (2D or 3D) using helmholtz equation.... if anyone could give the full program, that will help me to do my project work...... > > thank you :) If anyone could give the full program, they WILL do your project work, not just help. On Tuesday, April 8, 2014 1:30:19 AM UTC+5:30, Debashis Roy wrote: > i want to write Matlab program of gaussian beam (2D or 3D) using helmholtz equation.... if anyone could give the full program, that will help me to do my project work...... > > > > thank you :) ...

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

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

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

Hallo evrybody, I have two VRML file (3d colored point cloud) and I want to align these models. i don't if there are an easy way to ensure this alignment with Matlab. Thx for your reply ...

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 want to show one demo of fourier of signal in 3D figure. So that I ca rotate image and give a better description about time and frequenc relationship. Anyone who can help me or suggest some site for demos . thanks Naveed ...

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

I have a 3D array in LabVIEW that I need to send to a MATLAB script block. The Help file for MATLAB script blocks in LabVIEW says that the "Real Matrix" input type that I'm using is multi-dimensional, however when I wire the 3D array into this input the wire cannot connect - it says the sink is only 2D. Does anyone know how I can get the input to accept 3D data? Thanks, Ian I encounter the same problems, and I believe at the moment the only solution is the simplest I can think of (and use ... :-)) reshape to 2D before passing to matlab script, reshape in matlab back to 3D, and take care of dimension order .... goodluck Wiebe ...

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

I have a pair of files {.hdr, .flt } from USGS website. The .flt is quite large. 1) How to read into Matlab as 3D matrix with 2D-grid defined by (latitude, longitude) and 3rd-dimension = elevation ? I have Mapping toolbox. Hari "Hari Moorthy" <hmoorthy@aclara.com> wrote in message <n8dhro$om2$1@newscl01ah.mathworks.com>... > I have a pair of files {.hdr, .flt } from USGS website. The .flt is quite large. > > 1) How to read into Matlab as 3D matrix with 2D-grid defined by (latitude, longitude) and 3rd-dimension = elevation ? > > I have Mapping toolbox. > > Hari I found it myself at http://www.mathworks.com/help/map/ref/readmtx.html ...

Hi, Notice cross-post, I hope you bear over with me for doing that (and I imagine that some of you also like python in the matlab-group like myself)... ------------------------------------------ Python vs. Matlab: ------------------------------------------ Python: ======== from numpy import matrix from numpy import linalg A = matrix( [[1,2,3],[11,12,13],[21,22,23]] ) print "A=" print A print "A.I (inverse of A)=" print A.I A.I (inverse of A)= [[ 2.81466387e+14 -5.62932774e+14 2.81466387e+14] [ -5.62932774e+14 1.12586555e+15 -5.62932774e+14] [ 2.81466387e+14 -5.62932774e+14 2.81466387e+14]] Matlab: ======== >> A=[1 2 3; 11 12 13; 21 22 23] A = 1 2 3 11 12 13 21 22 23 >> inv(A) Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.067522e-17. ans = 1.0e+15 * 0.3002 -0.6005 0.3002 -0.6005 1.2010 -0.6005 0.3002 -0.6005 0.3002 ------------------------------------------ Python vs. Matlab: ------------------------------------------ So Matlab at least warns about "Matrix is close to singular or badly scaled", which python (and I guess most other languages) does not... Which is the most accurate/best, even for such a bad matrix? Is it possible to say something about that? Looks like python has a lot more digits but maybe that's just ...

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

Hi all, I have used remez function to design a 1D FIR filter and converted it to a 2D FIR filter using ftrans2. However, wat commands in matlab can i use to apply this 2D FIR filter to my image? thks.. On 22 jan, 03:35, "fulltime" <PiaoCh...@gmail.com> wrote: > Hi all, I have used remez function to design a 1D FIR filter and > converted it to a 2D FIR filter using ftrans2. However, wat commands in > matlab can i use to apply this 2D FIR filter to my image? thks.. Hi, you can use the function filter2. In the Matlab help, you can read : Y = FILTER2(B,X) filters the data in X with the 2-D FIR filter in the matrix B. The result, Y, is computed using 2-D correlation and is the same size as X. Matthieu hi mathhieu, thks for your reply. I was wondering after u read in an image using imread, do i need to convert to any particular format b4 i perform filter2? in addition, wats the difference btwn filter2 and conv2? thanks alot. Matthieu Puigt wrote: > On 22 jan, 03:35, "fulltime" <PiaoCh...@gmail.com> wrote: > > Hi all, I have used remez function to design a 1D FIR filter and > > converted it to a 2D FIR filter using ftrans2. However, wat commands in > > matlab can i use to apply this 2D FIR filter to my image? thks.. > > Hi, > > you can use the function filter2. > > In the Matlab help, you can read : > Y = FILTER2(B,X) filters the data in X with the 2-D FIR > filter in the ...

What is the best way to import Excel files, with stock data, into Matlab? I’m using Matlab R2010b (64-bit) I’m trying to import historical prices of stock data. Matlab keeps cutting off the header of each column; it gives me only values. I am thinking that this is a data-type-mixing-issue, or whatever it’s called. I have ‘Dates’ in ColumnA, and ‘MSFT’, ‘PWER’, ‘KO’, and ‘SBUX’, in ColumnB-ColumnE. Basically, if I put the Excel file in my Matlab folder and double-click the file, I see the values in a matrix (no dates and no headers), I hit ‘Next’. Then, I see only one option; one radio button is enabled – ‘Create variable matching preview’. The other two options, ‘Create vectors from each column using column names’ and ‘Create vectors from each row using row names’ – both are greyed out. I’ve seen videos, on YouTube and on the Matlab site, where people import excel data and these options are NOT greyed out. No matter what I do, there options are ALWAYS greyed out. The problem is, when I click ‘Finish’ in my ‘Workspace’ I have a variable named ‘data’ all values in a 575x4 matrix, but I have NO DATES and I have NO HEADERS on the columns. All of this seems to go into another variable, called ‘textdata’; all dates and headers ate in textdata. This is VERY inconvenient. I’m trying to analyze some stock data and I have no headers, so I have no idea which stock is which (I can figure it out, but I think Matlab should do this for me). Also, I have no dates corresponding to ...

This is really meant as the latest in a series I posted over irregular inte= rvals since last summer, in which I'm going to try and explain some of the = tricks used and call out some of the *real* issues that I'd like to tackle = (like reverse "signal demasking" and reverse "layering") These are the demos where some of the tricks are shown off. Bear in mind th= at everything comes from single photos -- no triangulation, no built-in 3D = models, etc. Lighting, coloring, texture, etc. are also inferred from the p= hotos, not built-in or hard-coded. [0] 2D to 3D of a "2D to 3D" video. Trial #2. https://www.youtube.com/watch?v=3DA0mp7hCn5ww We raid someone else's how-to-photoshop photo-to-3D site (it's a cottage in= dustry these days) and turn a snapshot from *it* into a panning 3-D zoom-in= .. It actually zooms inside the video frame. [1] The Beast Stomp Rocks Chicago (literally) https://www.youtube.com/watch?v=3DJdN76XYvvg0 The entire city scape of Chicago rocks in 3D. The cyborg voice in the backg= round morphs from biological to fully robotic. No cityscape model. I left t= he occlusion zones out in the open. [2] Another Pretty Angel Smiles and Flirts https://www.youtube.com/watch?v=3DYKvYir1ldb4 The face in the photo goes from a pout to a flirty smile, while slowly turn= ing and then nods. The photo subject gives ironic twist to the designation = "Artificial Reality" heralded at the end. ...

undefined ...

The Turing, or reaction-diffusion (RD), model is one of the best-known theoretical models used to explain self-regulated pattern formation in ...

Resources last updated: 3/30/2016 1:30:07 PM