Answered
Sort a matrix in a specific format
Homayoon - will it always be true that you will only have columns of zeros that need to be "pushed" to the end of the matrix? A...

10 years ago | 0

Answered
changing frequency and divide 2 section
Deniz - if I understand your question correctly, for the part one you want the first section (the first 5000 samples) to be gene...

10 years ago | 0

Answered
GRAPHICS FUNCTION CODE ERROR
Varshitha - in your call to *getframe*, you are passing 1. What does this refer to? According to the documentation for R2014a,...

10 years ago | 0

Answered
How do I continuously write to a file by using a loop?
Open the file and write the header outside of the for loop. Then within the loop, write the two elements to file. Then, once a...

10 years ago | 0

| accepted

Answered
putting specific values in an array to zero
Jason - when comparing BIM2==VsortN are you observing an error along the lines of Error using == Matrix dimensi...

10 years ago | 1

| accepted

Answered
Abelian Sandpile Model General Problem
Steven - while I'm sure this problem was solved a year or more ago, the following error is generated when I run the above code ...

10 years ago | 0

Answered
Recursive Abelian Sandpile algorithm won't return final value
Eric - since this algorithm is an example of a cellular automaton, it may be that for each iteration (or generation) you will wa...

10 years ago | 1

| accepted

Answered
Read excel files and write its data after transpose to another folder
Ahmed - are you combining all files into a single file, or are you creating (say) 100 new files in a different folder with all t...

10 years ago | 0

Answered
how to save xcel file in two coloum in matlab using xlswrite
Rohit - what can you tell us about the data in the text and edit fields? Are they numeric or do they contain characters? If a c...

10 years ago | 0

| accepted

Answered
i have a GUI with a button. when the button is pressed the it will plot a graph. How do i make the figure not in the GUI window? how to make it in separate Figure?
Hazman - create a new figure before calling *plot*. For example, figure; plot(x,y);

10 years ago | 0

Answered
Thread closed - question answered
When I try to run the above code, I observe the following error Undefined function or variable "t". tq = [ t.^5; t.^4; t.^3 ...

10 years ago | 0

Answered
Hi, I want to include the correlation coefficient on each of the subplots of GPLOTMATRIX.
Warwick - I don't have the *Statistics and Machine Learning Toolbox* (so can't validate the following), but in your code you do ...

10 years ago | 1

| accepted

Answered
How do I Use a String to Call a value in a Struct?
Dustin - I think that you want to use the open brackets around the string name when trying to access a field within the struct (...

10 years ago | 0

Answered
Is there any way to get this code executed ? Or is there some command for my problem?
John - look closely at the condition in your *if* statement if X(j,:) == 0 Remember that *X(j,:)* is a 1x5 array, so when...

10 years ago | 1

| accepted

Answered
How can I create table of fixed values in MATLAB gui?
Just use a <http://www.mathworks.com/help/matlab/ref/uitable.html uitable>. For example, if your pop-up menu is named *popupmen...

10 years ago | 0

Answered
How do I add data to an already existing text file?
Please describe the contents of the text file (just one column, more, etc.) and show the code that you are using to read the dat...

10 years ago | 0

Answered
Error in reset push button in GUI
Looking at your code, when the *color_segmentation_Callback* function is called, the following line is executed axes(handles...

10 years ago | 0

Answered
Updating a variable(not copying) in gui made in guide
Rik - without having access to all of your code, it is difficult to answer all of your questions. Typically, for variables that...

10 years ago | 0

| accepted

Answered
GUI edit box with the desktop path MAC
Erdem - look closely at the data type for *user_name* user_name = java.lang.System.getProperty('user.name'); class(user_na...

10 years ago | 1

| accepted

Answered
Problems multiplying two variables
Alfie - look closely at your use of <http://www.mathworks.com/help/matlab/ref/input.html input>. You have added the parameter '...

10 years ago | 0

| accepted

Answered
How to edit GUI's uitable data from another .m file?
Youmin - first you need to set two properties of your GUI. Using the property inspector for the GUI figure, ensure that the *Ha...

10 years ago | 0

Answered
Nested loop results in 3d matrix and plot3
Rajeev - why does your code define *r* as r=2.4:0.1:4; and then overwrite the jth element on each iteration of the outer ...

10 years ago | 0

| accepted

Answered
Can you help me find the mistake in my Matlab code?
Requested that Tien verify that the data being read from each column was correct with respect to units and variable descriptions...

10 years ago | 0

| accepted

Answered
Hello ! I have a stupid question. When i run this function i see this error: "rototranslation" requires more input arguments to run. Why?
Alessandro - how are you calling this function? If you don't supply any input parameters and so call the function (from the Com...

10 years ago | 0

Answered
Copy values from a vector to a matrix
sami - if A = [1 1 1 1 1 1 1 1 1 0 0 1 0 0 1 0 ...

10 years ago | 0

| accepted

Answered
how can i crop particular Region of image as a Square, if x and y coordinate value of center of Region and radius of circle enclosing the Region are given. Example: x=595, y=160 and r=68
ranjit - since the circle encloses the square, then let us assume that the four corners of the square intersect with the circle....

10 years ago | 1

Answered
Add a reset option in GUI to clear everything
Praveen - in your menu reset callback, you will just want to clear the data (where appropriate) from each control that you wish ...

10 years ago | 0

| accepted

Answered
How to delete the last character in a file while writing
I don't think that you can delete or undo a write to file after it has been written. So why not just write the '+' at the begin...

10 years ago | 1

| accepted

Answered
i am new to matlab and getting matlab error .The error is Error using + Matrix dimensions must agree. Error in RL_Multilayered (line 30) n1=(Z0*tanh(gamma1*d1))+sqrt(1/ebA);
ezhar - try using the <http://www.mathworks.com/help/matlab/matlab_prog/debugging-process-and-features.html MATLAB debugger> to ...

10 years ago | 1

| accepted

Answered
Changing the colour of individual cells in a table/uitable
Daneil - please take a look at <http://www.mathworks.com/matlabcentral/answers/25038-how-to-change-each-cell-color-in-a-uitable>...

10 years ago | 0

| accepted

Load more