Answered
Clearing functions selectively, excluding ones with persistent vars
Stephanie - try creating the cell array as funcsToClear = setdiff(inmem,pers_fList); and then clear it with clear(fun...

12 years ago | 0

| accepted

Answered
Reorder table variables / columns
Alan - you can try the following to move the 20th column to the second position CUTable = [CUTable(:,1) CUTable(:,20) CUTabl...

12 years ago | 7

| accepted

Answered
Clearing a subplot array of images on a canvas of GUI
Jason - do you wish to clear the image from each subplot, or remove the subplots from the canvas/figure? One way (for eithe...

12 years ago | 1

| accepted

Answered
Using writeVideo command & result...
Julia - the default frame rate for the *VideoWriter* object is 30 frames per second (see <http://www.mathworks.com/help/matlab/...

12 years ago | 8

| accepted

Answered
audioread doesn't read wave files that wavread reads. (Matlab R2014a)
Dennis - check out the Sean de Wolski's answer to *<http://www.mathworks.com/matlabcentral/answers/50001-error-with-audiowrite-i...

12 years ago | 0

| accepted

Answered
can pushbutton work without a function ????
Jules - use *Callback* instead of *ButtonDownFcn* to detect when the button has been pressed. Try something like the following ...

12 years ago | 0

| accepted

Answered
gui, image plot, ticks, y axis
Jason - you can change the y-ticks on the axes as follows % create the image h = imagesc(stdmap,[100,500]); % get the ...

12 years ago | 1

Answered
How to plot FFT of time domain data?
Nelson - it may be helpful to include what you have tried so that others can see what the problem may be and offer advice. Fo...

12 years ago | 0

Answered
i am trying to create a gui which includes one table (containing editable columns ) and a push button. i want to get the data which a user enters in the table to a variable when the push button is clicked. how can i do this ?
Rashmi - if you have created your GUI with GUIDE, then use the *handles* structure that is the third input to the push button ca...

12 years ago | 0

| accepted

Answered
can someone help me to plot in audio plocessing?
Alejandra - consider plotting time along the x-axis (in your plots) rather than samples. This may produce results that convince...

12 years ago | 0

Answered
Problem with mex setup for FORTRAN
Durga - This is more of a _*Fortran for Mac*_ answer, but as the behaviour is like yours, I think that you will have to do somet...

12 years ago | 0

Answered
Please how can I use this fitness function "@sumk^dj(1+wj)" in optimization tool without getting errors like undefined function or variable 'dj'
Ibrahim - look closely at the error message: *undefined function or variable 'dj'*. It is telling you that your code is trying ...

12 years ago | 0

Answered
Having issue after downloading tabular data from web.
Ron - perhaps try using *<http://www.mathworks.com/help/matlab/ref/regexprep.html regexprep>* instead as b=str2double(regexp...

12 years ago | 0

| accepted

Answered
how to import a lot of data files
Aliaa - try the following for k=1:21 filename = sprintf('aae201001%02ddmin.min',k); load(filename); end The...

12 years ago | 0

| accepted

Answered
Creating a mask using mod()
Kratos - your question seems to be a homework one. Here's a hint - what can you say about all even numbers? They are all divisi...

12 years ago | 0

Answered
I want to input a piecewise function but getting problem in line to that "NOT ENOUGH I/P ARGUMENT"
See the resolution to <http://www.mathworks.com/matlabcentral/answers/153957-not-enough-input-arguments-m-file-piecewise-functio...

12 years ago | 0

Answered
Frame will not update with Live Video Tacking
John - once you start the camera, does the camera axes (in your GUI) update/refresh with new images periodically, or does the im...

12 years ago | 0

| accepted

Answered
Vectorizing a for loop
Rob - is the matrix sorted on column 17? And can you quantify what you mean by _really, really slow_ - does it take seconds, mi...

12 years ago | 1

| accepted

Answered
Reading txt file in streaming
Paolo - without knowing the details of your text file (are there any header rows? is it a comma-separated file? does each row h...

12 years ago | 0

Answered
convert negative zero of matrix into zero
Suma - what do you mean by you _tried l(l < 0 )=0 but i don't know if it working because i still get errors_? What errors are y...

12 years ago | 1

Answered
Matlab GUI: Referencing Pop-up Menu hObject outside of callback funciton
Colin - you've added the tag *guide* to your question so you must be using GUIDE to develop your GUI. In your push button callb...

12 years ago | 0

Answered
Find FFT from time domain in excel
Nelson - you can use the <http://www.mathworks.com/help/matlab/ref/csvread.html csvread> to read your data from file data = ...

12 years ago | 0

Answered
How to automatically scroll a textbox to end of line?
Niko - if you go to the MATLAB File Exchange and download the submission <http://www.mathworks.com/matlabcentral/fileexchange/14...

12 years ago | 0

| accepted

Answered
Error Using * Inner Matrix Dimensions Must agree Questions
Sharif - if you breakpoint at the line r=A*[x10;x11]'-b; and then run the code, you can observe the dimensions of the mat...

12 years ago | 1

Answered
Prevent MEX Memory Persistence
Andrew - the way I understand how MEX works (and I could be off) is that by calling the MEX function, you are loading it into me...

12 years ago | 0

Answered
How can I orbit a plot3 via mouse while updating it?
Dereck - how is your code updating the figure at each iteration? Is it re-plotting all 3D data with the addition of some new po...

12 years ago | 1

| accepted

Answered
Why does lla2flat() return a negative altitude?
Dereck - check the _Algorithms_ section from <http://www.mathworks.com/help/aerotbx/ug/lla2flat.html lla2flat>: _The flat Earth ...

12 years ago | 1

| accepted

Answered
imwrite function and permission error
bkshn - I get the same error message if trying to do something similar. But look closer at the error message Unable to op...

12 years ago | 1

| accepted

Answered
Why does the error message invalid input 'c' keep occuring?
Richard - your above code should be formatted so that it is readable. Highlight the code portions and press the *{} Code* butto...

12 years ago | 0

Answered
How to open HTML Link in uitable directly
Song - the uitable just displays string (or numeric) information in the cell. So while you may have formatted with HTML code to ...

12 years ago | 1

Load more