Answered
output of indices column or row vector
According to the documentation for this function at <http://www.mathworks.com/help/matlab/ref/find.html find>, _ind = find(X...

12 years ago | 0

| accepted

Answered
Cell Array indexing and manipulating
Rick - try the code in steps. Start with A{5} The above returns the fifth element of the cell array *A* as ans = ...

12 years ago | 0

| accepted

Answered
How can I handle camera on GUI(axes) by using imaq.VideoDevice?
The code should be very similar to that for the *videoinput* object. See <http://www.mathworks.com/help/imaq/imaq.videodevice.h...

12 years ago | 0

Answered
MATLAB fails to execute line with uigetfile-- why?
Maria - I get that same error message Warning: Input should be a string. > In strcat at 83 In InputSeaLevel at 4 Wa...

12 years ago | 1

Answered
Modifying files and merge files
Assuming that the file has been opened and all contents read into the matrix *dateData* (see <http://www.mathworks.com/help/matl...

12 years ago | 0

| accepted

Answered
Error when using genetic algorithm
The error message _Failure in user-supplied fitness function evaluation. GA cannot continue_ indicated that there was a problem ...

12 years ago | 0

| accepted

Answered
How to receive cursor data from axes with background image in a GUI?
Daniel - how do you wish to have access to this information? Through another callback of some GUI widget? If so, you could do ...

12 years ago | 0

Answered
Add new window to OpeningFcn of MATLAB gui goes to back of main window when running
Jack - to be clear, you want to launch a second GUI from the first without any user interaction such that the second GUI appears...

12 years ago | 0

| accepted

Answered
Using sound function on Mac? r2014a
Doug - check out the documentation for <http://www.mathworks.com/help/matlab/ref/sound.html sound>, and in particular sound(...

12 years ago | 0

Answered
How to I get this Kalman filter to work for my data?
Thomas - when I ran your code with the EvanRocketDrop1._final.csv file, I observed the following error Index exceeds matrix ...

12 years ago | 0

Answered
How to return output from a function in a set()?
Myrick - you could try saving the the output from *test* to the GUI *handles* structure which will them be accessible in most ot...

12 years ago | 0

| accepted

Answered
how to manage radiobuttons?
Jihad - You can put the two (or more) radios buttons within a <http://www.mathworks.com/help/matlab/creating_guis/add-code-for-c...

12 years ago | 0

| accepted

Answered
What is a good way (other than ~=) to represent that a variable does not contain NaN values in R2013?
Katherine - what do you mean by _contains some threshold of values_? If all values are NaN then obviously there is nothing to d...

12 years ago | 0

| accepted

Answered
How to find the intensity percentage in a gray scale image?
Meshoo - what is the answer that you are getting? 255? From your question, I think it is safe to assume that the data type for...

12 years ago | 0

| accepted

Answered
Help with plotting needed!
Assuming that the intensities are numeric and that each element in the cell array is a matrix of 1x1000 dimension, then why not ...

12 years ago | 0

| accepted

Answered
Error using sym/subsindex (line 1555) Indexing input must be numeric, logical or ':'.
Vu - take a look at the following two lines of code (kPqloop*x11+kPqunloop*(N-x11))*(Kq*x5(1+Kq*x5),... x6*lameI==ki*(x1+x...

12 years ago | 0

Answered
Error Inner Matrix Dimensions must agree?? Help!
Suppose *x* is of dimension *nx2*. Then from ang_position=x(:,1); ang_velocity=x(:,2); both of these vectors are of di...

12 years ago | 0

| accepted

Answered
fminbnd with function that takes multiple inputs
Safis - The documentation for <http://www.mathworks.com/help/matlab/ref/fminbnd.html fminbnd> indicates that _x = fminbnd(fu...

12 years ago | 1

Answered
Can anyone name the encryption algorithm which i have attached here.From where can i get the references for this algorithm?
Given that the same key is used to encrypt and decrypt the image, then the algorithm is symmetric (simple xor with the image and...

12 years ago | 0

| accepted

Answered
Error in saving results
See <http://www.mathworks.com/help/matlab/ref/save.html#inputarg_version save with version> for usage of this command with the _...

12 years ago | 0

| accepted

Answered
Exponentially slow save rate with -v6
To be clear - *savedFrames* is a cell array of 5500 frames, and is one of 30 slots within a greater cell array. Does this mean ...

12 years ago | 0

| accepted

Answered
Is a url valid
The documentation for <http://www.mathworks.com/help/matlab/ref/urlread.html urlread> indicates that you could use the *status* ...

12 years ago | 0

| accepted

Answered
debugging a matlab code
In *fminbnd*, *fu* is set as follows fu = funfcn(x,varargin{:}); where *funfcn* is your function *vf2*. If, as suggested...

12 years ago | 0

| accepted

Answered
Count elements of a cell array based on two conditions
Maria - you can try the following length(find(cell2mat(A(:,3))<25 & cell2mat(A(:,5))>25)) We convert the third and fifth ...

12 years ago | 1

Answered
How to move a plotted line vertically with mouse in a GUI?
Ruben - here is a quick and rough way to do what I think that you want. It makes several assumptions which are hopefully valid ...

12 years ago | 13

| accepted

Answered
How can I read and write serial port immediatly and continuously?
Jack - Perhaps you can make use of the second return parameter from <http://www.mathworks.com/help/matlab/ref/serial.fread.html ...

12 years ago | 1

Answered
Colon input to anonymous function
If you create the above as a function/script, and step through the code, it will reveal something function [v] = test(x,y) ...

12 years ago | 1

| accepted

Answered
repeat a condition from the first iteration of for loop
Hamed - if your *for* loop is something like for k=1:n then you can replace it with a *while* loop and allow the looping...

12 years ago | 3

| accepted

Answered
How to add data( in the form of rows) to an existing table in a GUIDE GUI? The user should be able to add data in the consecutive rows of the table.
If I understand the problem correctly, it seems that only one geo.node is populating the uitable widget at any given time: a new...

12 years ago | 1

Load more