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

casi 15 años hace | 1

| aceptada

Respondida
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); ...

casi 15 años hace | 8

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 0

| aceptada

Respondida
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....

casi 15 años hace | 0

| aceptada

Respondida
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,...

casi 15 años hace | 1

| aceptada

Respondida
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 ...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

Respondida
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'); ...

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 4

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
[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!

casi 15 años hace | 2

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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?

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 1

Cargar más