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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

Respondida
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]; ...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 3

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

más de 13 años hace | 2

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

Respondida
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)); ...

más de 13 años hace | 1

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

más de 13 años hace | 2

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

Cargar más