Answered
cut and paste by script (windows 7)
Thomas - why not use the <http://www.mathworks.com/help/matlab/ref/system.html system> function to execute a DOS command to move...

12 years ago | 2

| accepted

Answered
How to read fortran formatted data from a text file? (for example: 0.556802469135838D+00)
Alexander - why not read in the data as strings, replace the *D* with an *E* using either *strrep* or *regexp*, and then convert...

12 years ago | 0

Answered
how to compare different matrix?
Arul - if we assume that your *b* matrix has floating point values (as opposed to integers), then you may have to compare each v...

12 years ago | 0

Answered
How can I concatenate only the contents of the cells in a cell array whose length is more than a specific number?
Quicklearner - iterate over each element in the cell array and check its length. If greater than four, then concatenate it with...

12 years ago | 1

| accepted

Answered
Meaning of s in string
S - I think that the *s* is a mistake and should not be there so just remove it. (It could have been a typo by the author of th...

12 years ago | 1

| accepted

Answered
TIMER still runs after deleting the variable
AA - to stop the timer *T*, call stop(T);

12 years ago | 1

Answered
How can I use edit box(GUI) data in multiple .m files?
Alexandros - consider using the <http://www.mathworks.com/help/matlab/ref/save.html save> function to save your data (as MATLAB ...

12 years ago | 0

Answered
Pairwise Haversine Distance Matrix...Speed Up?
Donald - before considering using something like *bsxfun*, why not try and optimize the code that you already have? For example...

12 years ago | 1

Answered
Using sgtring as argument of save function
Michael - if there is a string input argument to your function, then you can use it in your *save* function as function myFu...

12 years ago | 0

Answered
i want to show my global variables IM and LBP in bae workspace from gui ?????
Wasif - if you want to write your variables to the base workspace, then use <http://www.mathworks.com/help/matlab/ref/assignin.h...

12 years ago | 0

| accepted

Answered
sql query find match
Mark - I suspect that your query could be more like sqlquery = ['select count(*) from db1 '... 'where cname = ...

12 years ago | 0

| accepted

Answered
running a Timer at a specific time
AA - first we need to find the current time (in seconds) which we can do with the <http://www.mathworks.com/help/matlab/ref/now....

12 years ago | 1

| accepted

Answered
Add the absolute value of the entry to the total if negative, or divide the total by it if positive.
For a homework question, tho seems pretty straightforward. Use <http://www.mathworks.com/help/matlab/ref/rand.html rand> to cre...

12 years ago | 0

Answered
POPMENU cb1 and IUTABLE: UITB1
Dany - if you want to fill the uitable with a different set of data given the selection in the popup menu, then you will need to...

12 years ago | 1

Answered
I have converted image into 16*16 block. How can i convert these block into video?
Vidya - consider using the <http://www.mathworks.com/help/matlab/ref/videowriter-class.html videowriter> to write each of your *...

12 years ago | 0

| accepted

Answered
Help with pop up menu in a GUI interface
aurc89 - in your push button callback, use the *handles* structure to refer back to your popup menu object named *popupmenu1*. ...

12 years ago | 1

| accepted

Answered
Run function for paired data?
Fred - if you just want to _loop_ over each unique pair of elements in the matrix, then consider doing something like % assu...

12 years ago | 0

| accepted

Answered
Data import to workspace from multiple .0 files(dot zero files)
Mahesh - the error message is telling you that the *fopen* failed for your input file. So put a breakpoint at the line in the *...

12 years ago | 1

| accepted

Answered
how i use "edit text" as input and "push button" as output in gui
Check <http://www.mathworks.com/discovery/matlab-gui.html> for some details (with videos) on how to build a GUI. In your case, ...

12 years ago | 1

Answered
Error using mex (line 206) Unable to complete successfully.
Ahmad - what is the *mex* call that you are using to build your function? Is it simply mex fmpc_sim.c If so, then you m...

12 years ago | 0

| accepted

Answered
Plotting a table with text inside
George - a quick way to get text in (roughly) the centre of each square is to use the <http://www.mathworks.com/help/matlab/ref/...

12 years ago | 0

| accepted

Answered
how can i write the number of line?
Thodoris - if you want to write the row (or line) that each point corresponds to, try using the <http://www.mathworks.com/help/m...

12 years ago | 0

| accepted

Answered
Displaying Tabular Data with heading in matlab
Chuzymatics - depending upon your version of MATLAB (I think from R2013b and above) why not try and use the <http://www.mathwork...

12 years ago | 1

Answered
function doesn't work in iteration
Fatema - when I run your code with the inputs that you have described, I observe the following error Attempted to access cel...

12 years ago | 1

| accepted

Answered
Serial communication between matlab and arduino problem
Noorhan - try removing the braces, { }, around your code. There are unnecessary (and incorrect) for MATLAB programming which ca...

12 years ago | 1

| accepted

Answered
how can I convert comma with decimal points for a lot of textfiles?
Afrya - if I copy and paste your three line example into a file called data.txt as 0,1 1,2 5,9 0,2 1,8 9,4 0,3 1,9 10,8 ...

12 years ago | 1

Answered
I want to know the difference between audioplayer and sound in matlab.
Seetha - using the audio player object allows you to do much more than just "play" a vector of data at a given sampling rate (wh...

12 years ago | 1

| accepted

Answered
Please answer about this error
Hassan - your *I*, after the call to *detectSURFFeatures(I)*, is no longer an image but a SURFPoints object (see <http://www.mat...

12 years ago | 2

Answered
using eval with 2 variables
Alexandra - why not avoid using *eval* altogether and just store your images in a 1x5 cell array which you can then iterate over...

12 years ago | 1

| accepted

Answered
combination cases using a value more than once
Jack - see Matt Fig's File Exchange submission at <http://www.mathworks.com/matlabcentral/fileexchange/24325-combinator-combinat...

12 years ago | 1

Load more