Answered
How to change the axes position in matlab
Chuzymatics - if you are just trying to move the origin (0,0) to the centre of the figure, then you could try the following whic...

12 years ago | 0

Answered
b=importdata(input('Enter path of image '))
Mangesh - rather than using the *input* function, consider <http://www.mathworks.com/help/matlab/ref/uigetfile.html uigetfile> i...

12 years ago | 0

Answered
Setting popup menu value is not updating the variables in the workspace unless I manually click it
Sunny - the line of code set(handles.popupmenu2,'value',3); will just change the data for *value* but won't call the cal...

12 years ago | 1

| accepted

Answered
How to use a "for" loop to solve n iterations of the newton-raphson method?
Renee - you have to use the Symbolic Toolbox to solve this problem. You could just do away with it altogether, and replace this...

12 years ago | 0

| accepted

Answered
Pls explain This Code Of Image Ecryption For me ???
The attached code is more of an image/pixel scrambling technique based on the Arnold Transformation. See the File Exchange for ...

12 years ago | 1

| accepted

Answered
ERROR IN NETSUM , DON'T KNOW WHAT TO DO ABOUT IT
Gary - I think that you have to define a code. According to <http://www.mathworks.com/help/nnet/ref/netsum.html netsum>, _in...

12 years ago | 1

Answered
How do I set the string of an edit text using a slider and vise versa?
Giann - in order to display the slider value in the edit text widget, you will need a callback. For sliders, a _continuous valu...

12 years ago | 2

Answered
How can I override a value with an input?
Could also just compare the input *variable* to a set of pre-defined "matches" function [output] = test(variable, value) ...

12 years ago | 0

Answered
I have a problem with plotting the data read from the serial port from an Arduino uno board.
Sina - you say that _After some time, the data becomes delayed and it has lagged response to my input_. What exactly of you mea...

12 years ago | 0

| accepted

Answered
Legend and graph doesn't have the same color
Björn - I was able to reproduce the problem with your code (very helpful to post all that). The problem occurs during the plott...

12 years ago | 0

| accepted

Answered
Read and write multiple excel files using ActiveX
Krunal - this was taken from the link I already provided and so will get you started try numSheets = 5; % fi...

12 years ago | 1

Answered
persistent variables are not empty
K0ertis - when you restart the simulation, are you clearing the function so that all persistent variables are reset? According ...

12 years ago | 2

| accepted

Answered
Find intersection point of two datasets
Adam - if the velocity vectors contain integer values only, then you could use the <http://www.mathworks.com/help/matlab/ref/int...

12 years ago | 0

| accepted

Answered
I dont get any value from SigmaNorm_crop(i,j), can anyone help me?
Hana - the problem is with your condition (inc >= ii-0.5 & inc < ii+0.5 & (lc == 2 | lc == 4 | lc == 3)) If you put a bre...

12 years ago | 0

Answered
Add lines to plot
Max - consider renaming your figure handle from *Plot* to (say) *plotFigHandle* or something that is a little different from the...

12 years ago | 0

Answered
how can i draw a circle?
elie - since you do not care about the centres of the circles or the radius for each (but you will when you want to draw them wi...

12 years ago | 0

Answered
How to put some string in a variable?
Hugo - if you just want to update *fichier* at each iteration and then add to the list after, then you could do something like t...

12 years ago | 0

Answered
How does one verify the results of simulation from genetic algorithm
Hi Kah, Five runs without much change could mean either that your code has found the optimal solution or it is just getting s...

12 years ago | 0

| accepted

Answered
Serial Communication in GUI
Pritesh - you will need a timer to do this. See <http://www.mathworks.com/help/matlab/creating_guis/automatically-refresh-plot-...

12 years ago | 0

| accepted

Answered
Why does it say "Subscripted assignment dimension mismatch" ? possibly because of NaN's?
For the case of *t* being equal to ten, it was found that the line of code that was generating the _Subscripted assignment dimen...

12 years ago | 1

| accepted

Answered
How do I get the Histogram datatip in when trying to get "Update Text Update Fcn..."
Amber - you can try the following. It was tested with the first two examples from <http://www.mathworks.com/help/matlab/ref/his...

12 years ago | 1

| accepted

Answered
I need this code working. I am not able to figure out the problem.
Yagyesh - running the code produces the following error message Index exceeds matrix dimensions. Error in encryptImage (...

12 years ago | 2

| accepted

Answered
How to sum data
Since your *raw_headers* does not necessarily contain all headers (in this case, *C* is missing) then you could try the followin...

12 years ago | 1

Answered
Adjusting the numbers in a string
Will - if you know the number of files, and all are named as you described, then you could do the following numFiles = 50; ...

12 years ago | 0

Answered
How can I store y-values in one place after drawing data from different Excel sheets?
Lindsay - if it just the *peakampi* data that you wish to concatenate into a single vector, then you could do something like the...

12 years ago | 0

| accepted

Answered
Pass Data between Gui`s
Max - there are probably several different ways to do this, so here is one. Let's assume that you have two GUIs named *Gui1* an...

12 years ago | 21

| accepted

Answered
Listener ignores some part of the code and creates unwanted figure
deniz - I mocked up a GUI that was similar to yours and did notice some odd behaviour when it came to plotting the data and sett...

12 years ago | 0

| accepted

Answered
How can I access an array from a Buttondown function of an axes in a GUIDE GUI?
In your above callback, what is *src*? Or rather, what is the code that is used to assign the *callbackClickA3DPoint* callback ...

12 years ago | 0

| accepted

Answered
How do i filter sine wave which has noise of random numbers -0.5 to 0.5?
Rohin - is this a homework question? There seems to be three parts to it - plot a sine signal in the interval [0,2pi] with a ...

12 years ago | 0

Answered
How can I divide an audio signal into frames and write the frames into a matrix?
David - what is *N*? Is that the assumed length of the *input*? Probably one of the first things that you want to do is to...

12 years ago | 2

Load more