Answered
writing a sequence of images inside a for loop using matix
Jishnu - since your code produces a new image at each iteration of the *for* loop, then you could do something like the followin...

12 years ago | 0

| accepted

Answered
Parsing a cell array
Since any element of your 24x4 cell is a 2x2000 array of doubles, then you could just use an inner loop to populate the temp arr...

12 years ago | 1

| accepted

Answered
I keep getting this error "Undefined function 'vl_sift' for input arguments of type 'single'.".....can anyone explain what this is/
Kotti - where, in your code, are you trying to call this function from? This is not a built-in MATLAB function in the base ...

12 years ago | 1

| accepted

Answered
creating 3d array from images
Xenios - I think that you mean to use *B{2}* in place of *B2* (though I'm not sure how *B1* passed - could you have defined it e...

12 years ago | 0

| accepted

Answered
Problems using mmreader with struct
Bran - you must be using an older version of MATLAB; on R2014a, if I try to run through the example at <http://www.mathworks.com...

12 years ago | 0

Answered
how to put values in a table from a function in matlab gui
Jeena - you can update the table whenever you press the pushbutton named *evaluate*. If we assume that your uitable widget is n...

12 years ago | 0

Answered
How to prevent memory leak when using getframe? (edit: not memory leak)
John - I dont think that you are observing a memory leak, rather just a lot of memory being allocated due to the number of frame...

12 years ago | 0

| accepted

Answered
How to make a video from images
Pranjal - consider using the <http://www.mathworks.com/help/matlab/ref/videowriter-class.html videowriter> to make your movie. ...

12 years ago | 12

| accepted

Answered
Not enough input arguments M-file piecewise function
Note the function signature for *vpiece* is expecting a single input parameter *t* function v=vpiece(t) When you call thi...

12 years ago | 1

Answered
some errors while execute GUI mxArray must be double, char, or cell
Yasser - the error message *Error using set error: mxArray must be double, char, or cell* is indicating that the data that you a...

12 years ago | 0

Answered
How can i execute query with charachter condition with database toolbox R2011b
Yasser - if I build the same SQL string using your code, then the string becomes select LINGUSTIC_NAME from METAKNOWLEDGE_DE...

12 years ago | 0

| accepted

Answered
Help with simple FFT problem
Allyson - there is a thread at <http://www.mathworks.com/matlabcentral/newsreader/view_thread/61073 Matlab wavread and FFT> that...

12 years ago | 0

Answered
running python script in matlab
Xu - how complicated is your python script? Are there many inputs and several output? An interesting solution from <http://sta...

12 years ago | 5

| accepted

Answered
Make GUI Slider behave like iOS frame scroller
John - you can try implementing a _continuous value change_ listener for your slider. That way, as the slider "button" moves, y...

12 years ago | 4

| accepted

Answered
Delete rows of different permutations of same set
Tom - there are probably different ways to implement this, with one solution being to just loop over every row of A and compare ...

12 years ago | 0

Answered
Undefined function 'sum' for input arguments of type 'struct'.
omid - the error message is telling you that the input to your *sum* function is a struct. Either one (or both) of *x* or *dim...

12 years ago | 0

Answered
How do you animate using plots with a fixed marker?
Chace - in the future, please format your code (as written in your question) so that it is readable. Highlight that text which i...

12 years ago | 0

Answered
Error in downloading sequence of txt files
Katerina - are you running the code from the directory where those files are located, or some other directory? Is the directory...

12 years ago | 0

| accepted

Answered
Seperating a colum vector into different cells.
Anders - you can use the function <http://www.mathworks.com/help/matlab/ref/mat2cell.html mat2cell> to break apart your column v...

12 years ago | 1

| accepted

Answered
How to view the values of points on a plot?
Suchita - you could can enable the <http://www.mathworks.com/help/matlab/ref/datacursormode.html data cursor mode> on the figure...

12 years ago | 1

| accepted

Answered
Storing data from FOR loops
Ciuban - you somehow need to use your *j* when updating *B* so that you don't overwrite previously stored data with the data fro...

12 years ago | 0

| accepted

Answered
Using a Matlab GUI Button to Halt a running callback
Michael - I don't think that you can have a button interrupt its own callback through a call to the callback, which is kind of w...

12 years ago | 0

Answered
Is it possible to combine "for" and "if" like this?
Rachuan - when I run the code, the matrix *nodos* is modified. In fact, a seventh column is appended to the original 4x6 matrix...

12 years ago | 1

| accepted

Answered
write a formula for excel
Hossein - just use <http://www.mathworks.com/help/matlab/ref/fprintf.html fprintf> for k=1:100 fprintf('if(A%d=$C%d,1,...

12 years ago | 1

| accepted

Answered
Call a function inside a script from another script
Leonard - I'm pretty sure that you can't do that. If your m-file is named *AllFunctions.m*, then either it is a script that you...

12 years ago | 4

| accepted

Answered
Save files using MATLAB
Siam - <http://www.mathworks.com/help/matlab/ref/uiputfile.html uiputfile> is used for choosing the filename and directory where...

12 years ago | 1

| accepted

Answered
Respond to the left mouse click button in GUI
It is possible to capture left-mouse button events around an edit box, but it is a little clumsy, and like Joseph indicated, it ...

12 years ago | 0

Answered
Need to import CSV file with date and time
Use <http://www.mathworks.com/help/matlab/ref/textscan.html textscan> to grab all of the data from file fid = fopen('Data_LD...

12 years ago | 1

| accepted

Answered
How can you stop live video from playing in the GUI?
Johnny - where is the above code taken from? Is it within a callback (push button?) from your GUI that kicks off the process of...

12 years ago | 1

| accepted

Load more