MATLAB
How to declare a function with an argument which is an array?
I need to declare a function that has 32 arguments, so it would be handy to put an unique argument: an array of 32 elements.[详细]
2023-04-11 18:34 分类:问答uitable cannot be properly displayed after compilation
I have a uitable embedded in a GUI with cell structure, and it is editable. Everything works fine within Matlab environment, but after compilation, the uitable only displays blank. It is still editabl[详细]
2023-04-11 17:58 分类:问答Storing a matlab file using python
I have a c开发者_JAVA技巧omplex data structure data = {} temp = {} data[\'bigdata\'] = temp; After this I copy \'key\' and \'data\' values from some other data structure into temp, like this[详细]
2023-04-11 17:51 分类:问答Stretching out an multidimensional array
Is there any built in MATLAB command that \"stretches\" out a multidimensional array into a linear array?[详细]
2023-04-11 17:25 分类:问答How to plot function with different color for different interval?
I have a typical scenario in which there is a Vector X and Vector Y. Vector X cont开发者_StackOverflowains increasing values, for example X = [1 1 1 2 2 3 4 4 4 4 4]. Vector Y contains real values of[详细]
2023-04-11 17:18 分类:问答Set elements of matrix to zero with probability using MATLAB
I have a matrix A of size mXn and I would like to set some of it elements to zero depending on the following criteria:[详细]
2023-04-11 16:34 分类:问答event location questions in MATLAB
Suppose in matlab the following: [t, x, te, xe, ie] = ode15s(@myfunc, [tStart开发者_高级运维 tFinal], x0, odeset(\'Events\', @events));[详细]
2023-04-11 15:18 分类:问答Suppressing Output MATLAB
My code output gives me if, exact_answer, and then a vector output with N entries. I am unsure how to suppress that entry. For example, it looks like the following:[详细]
2023-04-11 14:42 分类:问答Finding values that aren't in an array in matlab/octave [duplicate]
This question already has answers here: 开发者_JAVA技巧 Matlab arrays operation (3 answers) Closed 9 years ago.[详细]
2023-04-11 14:32 分类:问答det of a matrix returns 0 in matlab
I have been give a very large matrix (I cannot change the values of the matrix) and I need to calculate the inverse of a (covariance) matrix.[详细]
2023-04-11 14:03 分类:问答