I'm working on creating a 2 layer neural network with back-propagation. The NN is supposed to get its data from a 20001x17 vector that holds following information in each row:
-The first 16 cells hold integers ranging from 0 to 15 which act as variables to help us determine which one of the 26 letters of the alphabet we mean to express ...
I´m trying to solve this set of equations in MATLAB and I get an empty sym object:
equations = {'I2B+I2EQAB=I22B+I2EQBC',...
'I2A=I2EQAB+I2EQAC+I22A',...
'I2C+I2EQBC+I2EQAC=I22C',...
'I22B=IZB+IC1B',...
'IZB=IC2B+IZBB',...
'I22C=-I2C*Z2C*YC/2+IZC',...
'IZC=IC2...
I'm currently writing some MATLAB code to interact with my company's internal reports database. So far I can access the HTML abstract page using code which looks like this:
import com.mathworks.mde.desk.*;
wb=com.mathworks.mde.webbrowser.WebBrowser.createBrowser;
wb.setCurrentLocation(ReportURL(8:end));
pause(1);
s={};
while isempty(s)...
I am experiencing some very odd timing behavior from a function I wrote. If I wrap my function inside another empty container function, it gets a 3x speedup.
>> tic; foo(args); toc
time elapsed: ~140 seconds
>>tic; bar(args); toc
time elapsed: ~35 seconds
Here's the kicker - the definition of bar():
define bar(args)
...
Following on from this question, regarding accessing a PDF on a web page using Matlab which is originally buried behind a Javascript function. I now have a URL which allows me to access the page directly, this works okay using the Matlab webrowser object (the PDF appears on screen), but to save the PDF for subsequent processing I appear ...
I'm a .NET programmer, and I'm developing a system that collects real time production data and stores it in an Oracle database. The data will need to undergo extensive processing: essentially digital signal processing stuff--looking for mins and maxes of various fields in a datastream and categorizing "chunks" of time accordingly. Appa...
hi guys
does anybody knows hot to set the parameters of a from wave device block in a simulink model?
i.e. i need to set the "samples per frame" parameter. it must be something like ('Model Name/ From Wave Device','Samples Per Frame',1024) ... but it doesnt work like this.
is it even possible to set the parameters of this block???
glob...
Hello, I need some descriptors of MPEG7 in Matlab. The descriptors are dominant color, color layout, color structure, scalable color, edge histogram and homogeneous texture. Do you know where can I find Matlab source code for these descriptors?
Thanks
...
Does anyone know a resource where we can obtain FREE C++ libraries for MATLAB functions? For example, linear algebra problems can be solved using LAPACK and BLAS.
Also, MATLAB in a .NET project is out of the question - I'm talking about direct C++ implementations of popular MATLAB functions (I don't know which functions I need in C++ ye...
Anyone had this run-time error in the past? I make use of Excel Link quite extensively with Matlab 2009a. I have a workbook which used to work fine, and now I get this error for every MLGetMatrix call. Note that MLEvalString, MLPutVar and MLGetVar do work as expected. But as soon as a MLGetMatrix is issued, I get this Run-time error, and...
In Matlab, when a Java exception is thrown by a Java method invoked from M-code, it is converted to a Matlab error or MException, and the Java stacktrace is included in the MException's message. On Windows, the stacktrace is displayed double spaced. Here's an example.
package test;
public class Bummer {
public static void a() { b();...
I'm trying to find a function (or make one) that lists all the dependent functions, including ones that are not on the MATLAB path. I already tried using depfun(fun) along with all of its flags but it does not list the dependent functions that are not on my paths. Any help would be greatly appreciated.
...
What are the best tools (most efficient) available in .NET (C#) for calculating:
integrals
partial derivatives
other non-trivial math
Can people please comment on Mathematica and Matlab and their integration into C#?
...
The put function works fine but the get function does not. Apparently I don't know the trick.
>> X = [ 1, 2, 3];
>> M = java.util.HashMap;
>> M.put(X,1);
>> M.get([1,2,3])
ans = []
I have searched and read many posts but could not find a solution to this problem.
It would be great if someone can let me know the trick.
...
I'm using Real-Time Workshop to auto-generate executables for VxWorks, but I am getting an error at the following command:
J:\Tornado\tests\add\add_tornado_rtw>make -f add.mk GENERATE_REPORT=0 TMW_EXTMODE_TESTING=0 RTWCAPIPARAMS=0 RTWCAPISIGNALS=0 MODELLIB=addlib.lib RELATIVE_PATH_TO_ANCHOR=.. MODELREF_TARGET_TYPE=NONE
add.mk:345: **...
Is there an Emacs major mode for MATLAB and / or Octave files? For those who don't know, MATLAB files generally have a ".m" file extension.
My primary interest is GNU Emacs but XEmacs tips would also be appreciated.
...
Upon some research I found two functions in MATLAB to do the task:
cvpartition function in the Statistics Toolbox
crossvalind function in the Bioinformatics Toolbox
Now I've used the cvpartition to create n-fold cross validation subsets before, along with the Dataset/Nominal classes from the Statistics toolbox. So I'm just wondering ...
I have a matrice of A(369x10) which I want to cluster in 19 clusters.
I use this method
[idx ctrs]=kmeans(A,19)
which yields
idx(369x1) and ctrs(19x10)
I get the point up to here.All my rows in A is clustered in 19 clusters.
Now I have an array B(49x10).I want to know where the rows of this B corresponds in the among given 19 cluste...
Hi everybody
the matlab function cp2tform infers the transformation needed to match two point sets in a 2D space. Refering to my former question (Two sets of 3d points) does anyone know a similar function to infer the transformation for two points sets in 3(n) dimensional space?????
Manually it would be an aproach like that
http://www....
What is the difference between the & and && logical operators in MATLAB?
...