Réponse apportée
vectors must be the same lengths error with subplot
Hi, What size has the vector x? y1 and y2 have the same size as x. But the sizes of x1 and x2 are not the same: len...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Appending a column to a matrix in a for loop.
Hi, (I am writing this while trying to debug your code ;) ) - Your function HilbertMatrix() returns only a zero-matrix. Y...

plus de 11 ans il y a | 0

Réponse apportée
where to find memory limit
Hi, I would rather say that the limits are your OS and your ram memory. You can execute the memory command to fin...

plus de 11 ans il y a | 0

Réponse apportée
out of memory ?? help needed
Hi, I once got an out-of-memory error while using a feature of the report generator. I solved it by allocating more java h...

plus de 11 ans il y a | 1

Réponse apportée
For standard eigenproblem EIG(A), A must be square
Hi, Are your images greyscale or truecolor images? From the Matlab help: A = imread(filename, fmt) If the file conta...

plus de 11 ans il y a | 0

Réponse apportée
Edit text in MATLAB GUI
Hi, here is a link to a very old article. But perhaps you can use it: http://www.mathworks.com/matlabcentral/newsreader/vi...

plus de 11 ans il y a | 0

Réponse apportée
how to process many sequential data using for loop
Hi, does this help you? >> s=['trial','1'] s = trial1

plus de 11 ans il y a | 0

Réponse apportée
Right display of error!
Hi, After I read the Matlab help I think this should work: error('For this Regular working shift, the maximum working ti...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
Attempted to access y(2); index out of bounds because numel(y)=1. Error in ==> dft at 9 z(k)=y(k)+y(i)*(exp(-i*2*pi/n)^k*i);
Hi, You do not define the size of y (I guess the same size as x). So you get for k=1 y(1) but try to access y(2), y(3), ... ...

plus de 11 ans il y a | 0

Réponse apportée
Error ,not enough input arguments line 1
There is no ",", "&" or "|" between your if - arguments. Perhaps this causes the error. This works in the command window: i...

plus de 11 ans il y a | 0

Réponse apportée
what is error actually in my code, any one solve this?
Your problem is that k is not an integer. Matlab considers h as an array and you must use integers to access the entries of arra...

plus de 11 ans il y a | 0

Réponse apportée
creating matrix with iteration
A = zeros(i,2); A(:,1) = 3; A(:,2) = 2:sum;

plus de 11 ans il y a | 0

Réponse apportée
Variable / which matlab does not forget ?
Hi, try this: Declare an array/variable y in the opening function handles.y=0; and update y every time you write a...

plus de 11 ans il y a | 0

Réponse apportée
How to manualy break a for loop but continue with the rest of matlab code execution?
See "break" and "return" in the Matlab help.

plus de 11 ans il y a | 0

Réponse apportée
Undefined function or variable 'x'.
Is it "Undefined function or variable 'x'" or "Undefined function or variable 'x1'"? fsolve(h, x1); I cannot find x1 ...

plus de 11 ans il y a | 0

Réponse apportée
function can not retrive varaible value from other function
I do not understand your code. What should work to let the second function use the first: ans=function2(function1(in...

plus de 11 ans il y a | 0

Réponse apportée
logical indexing please help
You could use the find() command. find(A>0) This gets you the index of every value of A which is greater than zero. ...

plus de 11 ans il y a | 0

Réponse apportée
Delete zero values in works pace variable
a=[1 2 3 0 4 5 0 6 7] a = 1 2 3 0 4 5 0 6 7 >> a=a(a>0) a = ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
getting error in data store memory while using global variable
Does this help you? http://www.mathworks.de/de/help/simulink/ug/using-global-data-with-the-matlab-function-block.html

plus de 11 ans il y a | 0

Réponse apportée
If else if statement problem
This could be due to rounding issues. It is very unlikely that you get the exact value 1 in Matlab.

plus de 11 ans il y a | 1

Réponse apportée
Please explain the error message
I would say that you cannot access the Statistics_Toolbox at the moment (because your colleagues are using it right now and the ...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
how can I apply for loop to process a method 10 times and save different results for each time process runs for different variables.
Assume the types are stored in matrix_types: matrix_types matrix_types(1)='type 1' matrix_types(2)='type 2' and so...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
how can I apply for loop to process a method 10 times and save different results for each time process runs for different variables.
Is it possible to store your 10 types in an array/cell-array? Then you could use the index to call the right type in the for-lo...

plus de 11 ans il y a | 0

Réponse apportée
Global variables inside a Matlab GUI
Found this in the Matlab help: To use a global within a callback, declare the global, use it, then clear the global link from...

plus de 11 ans il y a | 0

Réponse apportée
Global variables inside a Matlab GUI
I am not sure if you really need a global variable to do what you want. You can simply define a new variable in the opening func...

plus de 11 ans il y a | 0

Réponse apportée
Convert cell into double
There is the command cell2mat (from the Matlab help): Combine matrices in the four cells of cell array c into matrix m. ...

plus de 11 ans il y a | 0

Réponse apportée
converting .mat file to .dat file
Load them into the workspace and save them as .dat files: >> A=[ 1 2 3; 4 5 6] A = 1 2 3 ...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
how to correctly prompt user to enter only 1 real number,numeric value,that is within range...?
I use this: x = inputdlg('Please enter an integer between 1 and 4:'); data = str2double(x); if 1...

plus de 11 ans il y a | 0

Réponse apportée
command path and pathdef
As I see it pathdef.m contains all Matlab paths (you can also view them when you click on "Set path" in the "Home"-Tab) and path...

plus de 11 ans il y a | 0

Réponse apportée
image getting deleted in GUI
Did you update the handles structure after importing the images?

plus de 11 ans il y a | 0

Charger plus