Answered
SelectionChangeFcn not receiving handles
set(handles.uipanel1,'SelectionChangeFcn',...{@uipanel1_SelectionChangeFcn,handles});

14 years ago | 1

| accepted

Answered
How do I flip (mirror image) an image?
after the imrotate do set(gca,'xdir','reverse') Another example I = imread('onion.png'); I2 = flipdim(I ,2); ...

14 years ago | 8

| accepted

Answered
show symbol in command window
Unfortunatly it's not possible

14 years ago | 0

Answered
gui- new screen
Just do like you do on any other m-file, example code from a callback of a button: figure axes spy

14 years ago | 0

Answered
fft
%Your data 2xN t=1:0.001:10; data=[t;sin(2*pi*50*t)+2*randn(size(t))]; %notice the sin+noise, noise added just for fun ...

14 years ago | 0

| accepted

Answered
Code vectorization problem
nn=sparse(NG,N); k=1:N; nn(sub2ind([NG,N],a(k),k'))=b(k); %Timing for NG = 10000 and N = 10000 %Elapsed time is 0....

14 years ago | 0

| accepted

Answered
Save value from Edit Text box from GUI in a text file and on start load value
By your code we find out that you are using GUIDE but that code is nothing, you just used GUIDE and put one textbox in your GUI,...

14 years ago | 1

| accepted

Answered
problem in importing an audio file
Make sure that the file is accessible by MATLAB. See if the path is on the directories list. You can also put the complete path ...

14 years ago | 0

| accepted

Answered
How does an m-file output appear in GUI axis?
In your GUI tag the axes you want to be used set(gca,'Tag','SueGUIAxes') Wherever you want to execute the code to show the...

14 years ago | 0

Answered
Creating a user interface without GUIDE
you are missing arguments, try like this 'Callback', {@starting,dataqsdk1} and function starting(obj,ev,dataqsdk1) same g...

14 years ago | 1

| accepted

Answered
How do I write into my m-file to use the GUI user-selected pathdirectory?
folder_name = uigetdir(start_path,dialog_title)

14 years ago | 0

Answered
Setting axis limits of a plot
axis(gca,[1,1024,1,1024]) or ax=axes plot(x,y) axis(ax,[1,1024,1,1024])

14 years ago | 0

| accepted

Answered
facing problem in plotting spectrogram.everytym an error occurs irrespective of the correct coding
t=0:0.001:2; subplot(2,1,1); title('Quadratic Chirp'); y=chirp(t,0,1,150); spectrogram(y,256,250,256,250,'yaxis'); ...

14 years ago | 0

| accepted

Answered
Plotting centroid values
<http://blogs.mathworks.com/steve/2011/06/21/advanced-maneuvers-with-regionprops/ Advanced maneuvers with regionprops>

14 years ago | 0

| accepted

Answered
Independence Day weekend puzzler
x=[1 2 3]; %example input xr=num2str(str2num(strrep(num2str(x),' ',''))+1)-'0' %xr =[1 2 3 4]

14 years ago | 0

Answered
title to a table
uitables don't have titles, what you can do is put one static text box above your uitable.

14 years ago | 0

| accepted

Answered
how to read mutliple text files
data=cell(4096-1112,1); for n=1112:4096 filename=['data' num2str(n) '.txt'] %insert the code to get data from the...

14 years ago | 0

Answered
Defining parameters in a function
clf a = 2; b = 3; fun=@(x,a,b)a*x^2+b; [x fval] = fminbnd(@(x) fun(x,a,b),1,10) %lets see if the values are correc...

14 years ago | 0

Answered
logical vector equality
all(vec1==vec2) and if you want to ignore the difference between column and row vectors do all(vec1(:)==vec2(:)) There's ...

14 years ago | 0

| accepted

Answered
Adding functions permanently to matlab
use pathtool to select that folder and save

14 years ago | 4

Answered
how to implement time delay?
<http://homepages.udayton.edu/~rhardie1/ECE203/sound.htm Sound Processing in MATLAB>

14 years ago | 0

| accepted

Answered
Easy way to set camera viewing axis normal to a plane
doc view

14 years ago | 0

Answered
Helping to save matrix in txt file
<http://www.mathworks.com/help/techdoc/ref/fprintf.html fprintf to print the text> <http://www.mathworks.com/help/techdoc/ref...

14 years ago | 0

| accepted

Answered
number from simulink to guide
%Your system must be already open or loaded, if not do it!!!! set_param(gcs, 'SimulationCommand', 'start') %start the simul...

14 years ago | 0

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
How do you guys find the new comments or answers in this big mess without having to inspect all of it? So darn frustrating!

14 years ago | 2

Answered
Bug regarding precedence of variables over functions sharing the same name?
I don't see a bug, in scripts your variables are in the same scope has the command line but inside functions like your doit func...

14 years ago | 0

Answered
Can't Select Command Window While Program Runs
doc drawnow doc pause Any of them should allow you to see what's going on. Try this code: t = 0:pi/20:2*pi; y = exp(s...

14 years ago | 0

Answered
How to detect an circular/ellipse object in an image?
<http://blogs.mathworks.com/steve/2011/06/21/advanced-maneuvers-with-regionprops/ Advanced maneuvers with regionprops> and the o...

14 years ago | 0

Answered
Strange error which appears running on WINDOWS, but not linux
Looks like something is blocking the access to the file, maybe it's some kind of software protection, Antivirus maybe?

14 years ago | 0

Answered
Assigning Value to Concatenated Variable
Please don't create variables like that <http://www.mathworks.com/matlabcentral/answers/143-how-do-i-make-a-series-of-variables...

14 years ago | 1

Load more