Answered
how do i lopping many data in one folder ?
Did you read the link provided by Image Analyst already? <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files...

8 years ago | 0

Answered
normalization , colums, rows
x = rand(242, 256), xNRow = x ./ sum(x, 2); % Auto-expanding, Matlab >= R2016b xNCol = x ./ sum(x, 1); For older Ma...

8 years ago | 0

| accepted

Answered
How to replace each element of a matrix with different given matrix
This is a Kronecker tensor product. See <https://www.mathworks.com/help/matlab/ref/kron.html doc kron>: A = [2 3; 4 5] C...

8 years ago | 1

| accepted

Answered
matrix dimension must agree on addition
I1 = []; I2 = []; if numel(where) > 1 && header(where(1)+1) == 0 I1 = header(where(1)+2:where(2)-1); ...

8 years ago | 1

Answered
Undefined function 'symsum' for input arguments of type 'double'
The error message is clear: |yij| is a variable of type |double|, but |symsum| needs a symbolical expressions. Please post, what...

8 years ago | 0

Answered
How can I add an image to analog clock in GUI?
By the |image| command?

8 years ago | 0

Answered
Movefile "the system cannot find the path specified" (Windows OS)
If the length of the names matter, use <https://www.mathworks.com/matlabcentral/fileexchange/28249-getfullpath>, which inserts \...

8 years ago | 1

Answered
What is this cdata stands for?
Either . accesses the properties of class objects, or it is used to address fields of a struct. See <https://www.mathworks.com/h...

8 years ago | 1

Answered
Trouble reading '.txt' file
Str = fileread(FileName); Index = strfind(Str, 'LAeq'); Data = sscanf(Str(Index + 5:end), '%f ', Inf);

8 years ago | 0

| accepted

Answered
"Inner matrix dimensions must agree" - but it shouldn't be a matrix
Use the debugger to find out, what the dimensions are. See * <https://www.mathworks.com/help/matlab/debugging-code.html> * ...

8 years ago | 0

Answered
Dock a figure inside another figure with different graphics rendering
Under Windows you can use <https://www.mathworks.com/matlabcentral/fileexchange/31437-windowapi> to create a figure without bord...

8 years ago | 0

| accepted

Answered
What is the function to show 1/2 like below?
fprintf('1\n-\n2\n') But it depends on what you want exactly. Which parts are variable and which are fixed? Do you want to ...

8 years ago | 0

Answered
comparing string with cell from table
What is "data"? What about: TC = zeros(1, size(data, 2)); for YY = 1:size(data, 2) col4 = data{1, YY}(:, 4); ...

8 years ago | 0

Answered
Undesirable figure added to GUI after compile
Without seeing the code it is impossible to suggest, how to modify it. Beside |figure|, the command |gcf| will create a new figu...

8 years ago | 0

Answered
vertcat while filtering data
Do you mean: bob = RPLIDAR(r > 1, :) ? If not, please post a small example of the inputs and the wanted output.

8 years ago | 0

| accepted

Answered
Error using eval Undefined function 'times' for input arguments of type 'table'.
Please read and consider <https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dyna...

8 years ago | 1

| accepted

Answered
How to use of the result for the function "Any" for a virtual keypress in matlab
any( ssx > 0.14 ) This evaluates the |any| command, but does not store the result anywhere. Call |any()| directly in the |i...

8 years ago | 0

| accepted

Answered
Hey everyone, does anyone know how to make a pushbutton in GUI, when it's pushed, change to green or red depending on whether the text/ question on it is right or wrong?
Changing the color of a button can be done in the button's callback: function button1_Callback(hObject, EventData) if Ar...

8 years ago | 1

| accepted

Answered
why my binary image is 3 dimensional?
As far as I understand you get a 3D logical array from a program. This is not a valid "binary image" for the used function. The ...

8 years ago | 0

Answered
unzip a list of urls from txt file
The line C{:}; performs nothing. Delete it. |unzip| needs a file name as char vector as first input, but |element=C(...

8 years ago | 0

| accepted

Answered
change the time range of ode45 makes the integral of postprocess different
when I change ode45 to ode23 or ode23s it is also different Of course it is different. These are 3 different integrators. Do...

8 years ago | 0

Answered
How to count digits of a number in easy way?
Of course log10 is the perfect method. That you are "not allowed to use it" sounds like one of the typical homework questions, w...

8 years ago | 0

Answered
Can anyone help us to find out which method has used in this code?
A function without an exhaustive documentation is nearly useless. If even the author is not mentioned, you can only *guess* what...

8 years ago | 1

Answered
GUI - automatically delete code related to deleted GUI elements
This cannot work reliably and automatically at the same time. Remember that GUIDE cannot know, if a callback is used from anywhe...

8 years ago | 0

| accepted

Answered
Undefined function or variable (Passing data between functions)
How do you call these functions? GI = GUI_INP(hObject, eventdata); [sys,Inp,geom_aircraft] = Z_INP(GI); This should w...

8 years ago | 0

Answered
i have a m file that i got from my lecturer about dynamic program like this
No. All information we have is this line of the comments: % PAR = user defined parameters It is impossible that we can r...

8 years ago | 1

Answered
Is there any way to use multiple tolerances in ODE solvers?
No, there is no way to avoid the application of the small time steps to all components of the trajectory using the ODE integrato...

8 years ago | 1

| accepted

Answered
how to compare every pair of rows and return a matrix?
I guess your matrix is a cell string and you want to find common sub-strings in it. % Assuming your matrix is called "M": ...

8 years ago | 1

| accepted

Answered
'cl.exe' is not recognized as an internal or external command,
vlfeat does not support the MinGW compiler. According to the <https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/...

8 years ago | 0

Load more