matlab - Warning: Infinite or Not-a-Number function valueencountered.
Hello, I'm new on this forum. I've got a question regarding matlab, i'm stuck with this little problem for hours and i can't seem to figure out how to fix it. Here's my following code of importance: function y = opdracht3(n) i = 0; h = 0; f = 0; while i <= n z = inline('exp(x).*(x.^i)'); a = quadl(... 31 Mar 2010 16:34
JMatLink and new version of Matlab
I'm having this same problem while trying to run JMatLink under R2009b. But, the help provided here isn't working for me or I'm not understaning correctly. I've edited my Windows path environment variable to contain 'C:\Program Files\MATLAB\R2009b\bin;C:\Program Files\MATLAB\R2009b\bin\win32;C:\Program Files\MATLAB... 31 Mar 2010 15:27
Creating Simulink blocks from M-file
I have an m-file that contains some code that was easier for me to write than to try to build from simulink blocks. I want to make this into a block so that I can test it in a model. When I try to put it in an embedded matlab function block, I get an error saying that one of my functions (bwareaopen) is not an embedded... 31 Mar 2010 15:27
Random Field Generator
The problem can be efficiently solved in the spatiall frequency domain as demonstrated here: http://matlabdb.mathematik.uni-stuttgart.de/download.jsp?MP_ID=31 ... 31 Mar 2010 12:06
Help!!! Fuzzy logic Simulink
Hello, i have created simulink model for dynamic voltage restorer(dvr) i.e dvr.mdl and to control voltage injection i have used pi controller and my model works fine and i am getting simulation without error. Then i replaced pi controller by fuzzy logic controller and thus form dvr_fuzzy.mdl and also formed dvr_fuzzy.f... 1 Apr 2010 13:29
Remapping a Matrix.
"Sumeer " <zippystokes(a)hotmail.com> wrote in message <hov3he$p5f$1(a)fred.mathworks.com>... Hi Guys, New user to Matlab. I have to write an engineering program in Matlab, & need to remap entries in 3 different 6x6 matrices, to make a large 18x18 matrix. Any suggestions on how I might go about this? regards ... 31 Mar 2010 12:05
netCDF ( .nc ) files in R2010a
Is there a new routine (akin to mexnc) that people are using to read in and operate on netCDF files? I'm looking for a reasonable successor to functions such as 'ncload' and the like. Also, has anyone else encountered any problems when using mexnc and/or nctoolbox while using a version of Matlab put out in the la... 31 Mar 2010 12:05
simple syntax question
I am trying to interpret a section of code that looks like this: for i = 1:6 t_inner = ti + a(i)*h; y_inner = yi; for j = 1:i-1 y_inner = y_inner + h*b(i,j)*f(:,j); end f(:,i) = feval(ode_function, t_inner, y_inner); end I don't think that the code is necessary to answer my question bu... 31 Mar 2010 12:05
Can l use matlab program to write on RFID tag
Good Day ALL, I am a masters degree student working on RFID tag,l just want to know if l can use MABLAB script to write on a tag and how to go about it. Thanks Hilary ... 31 Mar 2010 13:13
Text from excel to matlab
Hello, I am trying to produce a table in Excel and import it into matlab. Now I have the following problem. I want to use another table name in the excel table, but this is imported as a cell named textdata, but I just want a table as double eg.: Ship_prop = [Laden Laden Laden] and Laden = [1, 2, 3, 4, 5, 6 , ... 7 Apr 2010 08:57