Beantwortet
how to connect to database
Hi, the question is not really clear. Do you mean the following? a = 'test'; % input from user, e.g., by GUI or input ...

mehr als 13 Jahre vor | 0

Beantwortet
can MATLAB download files from a website ?
Hi, the function you are looking for is urlread doc urlread Titus

mehr als 13 Jahre vor | 0

Beantwortet
datenum problem in matlab
Hi, my guess is that your data is of the form dd/mm/yyyy, so first the day, then month, then year. But if you omit the date ...

mehr als 13 Jahre vor | 0

Beantwortet
Need help with difference equation (continuous-time system)
Hi, you will need to convert your second order problem to a system of first order equations (by setting y1=y, y2=y'). Then us...

mehr als 13 Jahre vor | 0

Beantwortet
Using the Shooting Method
The first thing to do is independent of the programming: reformulate your second order system by a (larger) first order system. ...

mehr als 13 Jahre vor | 1

Beantwortet
matlab concatenate vectors if cycle
Hi, to grow the xx and yy you would write the following: xx = [xx x(iPeaks1:iPeaks2)]; or xx = [xx; x(iPeaks1:iP...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
interpolation and resampling problems.
Hi Xinqi, Q1: yes. Q2: use a low pass filter (doc filter) to remove the high frequency components. If you have the signal ...

fast 14 Jahre vor | 0

Beantwortet
Help regarding functions and variables
Hi, it looks as if you want to compare the string value? In this case you need to retrieve it first, so if strcmp(get(h...

fast 14 Jahre vor | 1

Beantwortet
Importing a large dataset from Excel into Matlab
Hi Christian, I'm not sure who is to "blame" that it does not work at once. What kind of error message do you get? Does it co...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Converting *.m files from 2004 version to a newer version
Hi, the error message indicates, that MATLAB assumes the file to be ascii (i.e., tries to load as ascii file). But the ".MAT"...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
How to impose multiple inequality constraints on fmincon?
Hi, for the left hand side, you multiply by -1, i.e., -x(i+1) + x(i) <= B And combining is easy: A = [A1; A2]; ...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Why does fclose generates an ans return in the workspace?
Hi, that's because fclose returns a status. From the doc: status = fclose(...) returns a status of 0 when the close operat...

fast 14 Jahre vor | 0

Beantwortet
MATLAB as Java IDE
Hi Alessandro, no, not really. Of course you can edit the java files with the MATLAB editor, and compile them calling the jav...

fast 14 Jahre vor | 0

Beantwortet
Supported and compatible compilers page Release 2012a
Hi Alessandro, both questions: yes. ;-) Yes, you have to install 1.6, java 1.7 and MATLAB don't work well together (yet). An...

fast 14 Jahre vor | 1

Beantwortet
How to multiply the following?
Hi, the error indicates what's wrong: your image and your mask have different types (probably your image is e.g. uint8 and yo...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Matlab Builder NE is missing .NET Assembly Type
Hi, this is usually a problem with installation or license. Type ver to see if the Builder NE is installed... EDIT...

fast 14 Jahre vor | 0

Beantwortet
State flow execution order
Hi Robert, yes it is: since your function calls do_fcnx trigger an atomic subsystem, the atomic subsystem will be simulated (...

fast 14 Jahre vor | 3

Beantwortet
Is it possible to call external matlab functions from a tlc file?
Hi, no, this is not possible. It would not make too much sense anyway: you need the .tlc file for code generation, but you wo...

fast 14 Jahre vor | 2

Beantwortet
include imtool when compiling
Hi, unfortunately the imtool is on the list of the tools that the compiler does not support, see <http://www.mathworks.com...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
[Optimization Tool] Parallelization not working
Hi, I suspect the problem on the external program side: you might try to start manually the external program twice. E.g. can ...

fast 14 Jahre vor | 0

Beantwortet
Send Messages to Java
Hi, "to send a message" is not directly possible, but I could imagine several "workarounds". One suggestion would be to add a...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
how to convert gray image to color image
Hi, what's the value of r? One? Or three? I guess your Image is already an RGB image, only that R, G and B are always equal (...

fast 14 Jahre vor | 0

Beantwortet
Data types and preallocation
Hi Daniel, interesting question, I'll comment on two of the points from my perspective. Regarding the "zeros": here the user...

fast 14 Jahre vor | 1

Beantwortet
Is it possible to run Jar created with 64-bit JA Builder on a 32-bit machine?
Hi, the .jar file is (more or less) platform independent. This should work without problems. The "less" is only when you incl...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
Separable nonlinear concave objective function optimization
Hi Tom, although I admit I don't fully understand the problem, probably fmincon is the solver you are looking for. The con...

fast 14 Jahre vor | 0

Beantwortet
uitable creates 2x16 table when data is specified as 1x16. Can this be fixed?
Hi, you could try to put into your <GUIname>_OpeningFcn the following line set(handles.uitable1, 'data', cell(1, 16)); ...

fast 14 Jahre vor | 1

Beantwortet
How to use files from different folders to the script.
Hi, what about the following procedure: theDates = dir('.\Engine\Vehicle'); for iDate = 1:length(theDates) if th...

fast 14 Jahre vor | 2

| akzeptiert

Beantwortet
Function Running in the Background
Hi, usually such things can be done using the function timer You might think of timer as an "interrupt" called period...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
adding zero column to matrix
Hi, if it's just that you want to enlarge "stateHit", you could do if size(stateHit,2)<size(v, 2) % v has more colu...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
.Net compiled dll not working on another machine
Hi, the error message is saying that the MCR is not installed correctly, see e.g. http://www.mathworks.de/support/solutions/...

fast 14 Jahre vor | 0

Mehr laden