Answered
how to control the position of an image inside another one?
Youssra - suppose that you have a red and a blue image redImg = uint8(zeros(256,256,3)); redImg(:,:,1) = uint8(25...

11 years ago | 0

Answered
Invoking parent GUI function from child GUI.
Alexantrou - see <http://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s> which provides an example of ho...

11 years ago | 0

| accepted

Answered
GUIDE layout of growable grid of images
If you want your axes controls to be scaled appropriately as the GUI is resized, then take a look at <http://www.mathworks.com/h...

11 years ago | 0

| accepted

Answered
How to put matrices with different sizes together?
Ha - consider using a <http://www.mathworks.com/help/matlab/cell-arrays.html cell array> to store the differently sized matrices...

11 years ago | 0

| accepted

Answered
How to sepeperate a set of data to a new matrix from two set of matrix
Ravi - try the following A = [1 2 3 4 6 7 8 9; 10 11 12 13 14 15 16 17; 17 18 19 20 21 22 23 24]; B = [9 1; 17 1; 24 2]; ...

11 years ago | 0

Answered
" Undefined function 'wavedec2' for input arguments of type 'uint8'.",
Sana - the <http://www.mathworks.com/help/wavelet/ref/wavedec2.html wavedec2> function is part of the *Wavelet Toolbox*. Check ...

11 years ago | 0

Answered
I need help please !! Newton method
Thierry - in order to calculate this new value, you will need to save the data from the previous iterations. So outside of the ...

11 years ago | 0

| accepted

Answered
Problems in accessing 2nd column of matrix
Mich - what are the dimensions of the array that the *interrp* function is returning? The error message *Subscripted assignment...

11 years ago | 0

Answered
Creating GUI using MATLAB guide command
Junho - I think that you can safely ignore the *eventdata* parameter for callbacks of this type. If you have a key press callba...

11 years ago | 0

Answered
How to get value from axes?
Kate - please clarify what you mean by _to get values from axes in GUI Matlab_. You can view the list of property name and valu...

11 years ago | 0

Answered
How do I plot this data set like this image?
Japoe25 - if you want your output to look like something similar to the images, the first thing that you should do is to get you...

11 years ago | 0

| accepted

Answered
Creating a function to calculate median
You may want to consider renaming your variable *median* which isn't the "median" but the number of elements in your sorted arra...

11 years ago | 3

| accepted

Answered
see i am executing the code below
Tina - <http://www.mathworks.com/help/matlab/ref/length.html length> is a built-in MATLAB function so please don't use this as a...

11 years ago | 0

| accepted

Answered
Figures close after running script
João - put a <http://www.mathworks.com/help/matlab/ref/pause.html pause> call at the end of your code to temporarily halt the ex...

11 years ago | 0

Answered
Is there a way to change the active figure without making it visible?
Will - rather than calling *figure* to set "focus" to the figure that you wish to update with the new call to *plot*, just tell ...

11 years ago | 1

| accepted

Answered
Function to convert RGB to grayscale
Silvia - look at the algorithm used by <http://www.mathworks.com/help/matlab/ref/rgb2gray.html rgb2gray> which creates the grays...

11 years ago | 0

Answered
Multi level cell multiplication
Sushma - what are the elements of your cell array? If all of them are numeric arrays, then you could use <http://www.mathworks....

11 years ago | 1

| accepted

Answered
How can I rotate the axis for a polar plot?
See the answer at <http://www.mathworks.com/matlabcentral/answers/93690-how-do-i-rotate-or-flip-a-polar-plot> which changes the ...

11 years ago | 1

| accepted

Answered
Finalizing my Code for taylor series, gets error
Japoe25 - the error message is telling you that the assignment at xl(n+1,:) = ((x.^n)/factorial(n)); is failing due to tr...

11 years ago | 0

| accepted

Answered
hello friends, see I am executing a simple code . I want your little help in it.
Tina - if you want your function to return a string (rather than writing it to the Command Window with *fprintf*) the first thin...

11 years ago | 0

Answered
Custom Triangle with up/down slopes , help
Manolis - it seems that you just need two vectors. One for all elements along the x-axis and one for the elements along the y-ax...

11 years ago | 0

| accepted

Answered
How to select specific frames (ex. every 10th frame) out of a video for further analysis?
Rebecca - look closely at the line where you write the image to file imwrite(i,combinedString); The code is writing out ...

11 years ago | 0

| accepted

Answered
how to draw real time plot in guide matlab
raki - rather than using a *while* loop in your start button callback, consider using a timer to read data from Arduino. See an...

11 years ago | 0

| accepted

Answered
Deleting data in Plotting
Oscar - at which point do you want to delete the data? Once the inner *for* loop has completed or on every iteration of the inn...

11 years ago | 0

Answered
Query in GUI MATLAB
Affy - it sounds like you may want to use a <http://www.mathworks.com/help/matlab/creating_guis/interactive-list-box-in-a-guide-...

11 years ago | 0

Answered
copying arrays from one variable to another .
Pradeep - if you want to copy the first three elements of *a* into *b*, then just do a = [22 23 43 0 0 0 0]; b = a(:,1:3);...

11 years ago | 1

| accepted

Answered
How to link Radio button and Push button (Matlab GUI)
Abraham - the easiest way to implement this GUI is through GUIDE using a callback for the push button. See the tutorials that c...

11 years ago | 2

| accepted

Answered
Error using matrix dimensions
Venkata - the error message is Error using .* Matrix dimensions must agree. Error in *** (line 20) px = (a3.*(c2.*...

11 years ago | 0

| accepted

Answered
static variables in matlab?
Pradeep - if you are using GUIDE to create your GUI, then you can use the *handles* structure, with the appropriate calls to <ht...

11 years ago | 0

| accepted

Answered
int8(3) vs int(3)
Galen - *int* is not a built-in MATLAB function. In the Command Window, type which int -all and you will see the message...

11 years ago | 1

Load more