Answered
How can I use VS2013 compiler with matlab 2015b?
According to <https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2...

9 years ago | 0

Answered
how can I calculate quickly for the finding the repeated values of two matrixs in the lot of matrixs?
It is a time consuming task to compare 50'000 matrices 10'000 other ones (when I understand your description correctly): 5e8 com...

9 years ago | 0

Answered
Control Slider change multi-image tiff file
Perhaps you want an image stack as in the examples found in the FileExchange: <https://www.mathworks.com/matlabcentral/fileex...

9 years ago | 0

| accepted

Answered
How to get only one checkbox that can be checked
This sounds like a job for radio-buttons, not for checkboxes. See <https://www.mathworks.com/matlabcentral/answers/337573-unchec...

9 years ago | 0

Answered
How can I use the value of a variable stored in a cell as a string without using the eval function?
Do not use 3 distince variables but a single vector: param = [10, 20, 30]; Then |param(1)| is your |a| and the access is...

9 years ago | 0

Answered
I've updated my computer and now can't get into MATLAB. What can I do?
It depends on what exactly "license does not recognize" means. You can deactivate the Matlab license on the old computer and act...

9 years ago | 0

Answered
Unable to find cl.exe while l download matconvnet
The first point in case of troubles is reading the documentation. See |help vl_compilenn|: % Compilation on Windows with M...

9 years ago | 1

Answered
unchecked checkbox when another checkbox was checking
This is a job for radio-buttons, not for check-boxes. See <https://www.mathworks.com/help/matlab/ref/uibuttongroup.html>

9 years ago | 0

Answered
Why does MATLAB show pale colors?
Obviously the default colormap has changed. You can set the colormap manually. See: docsearch colormap

9 years ago | 1

| accepted

Answered
How can I create a cell array whose cells are strings based on a sequence of integers 1:N (for any N)?
C = sprintfc('%d', 1:3) This is not documented, but exists for many years now.

9 years ago | 1

Answered
How to normalize data set in MATLAB. If it is csv file .
You cannot normalize a file. You have to import the data at first, most likely by |csvread| or |readtable|. Then the normalizati...

9 years ago | 0

| accepted

Answered
Basic how to use guidata??
A "handle" is a kind of pointer to address a graphics object. It is replied, when such an object is created: buttonHandle =...

9 years ago | 3

Answered
??? Error using ==> size Not enough input arguments.
The line mx = ordfilt2(harris, size.^ 2, ones(size)); must fail, because "size" is not a defined variable. Then Matlab t...

9 years ago | 0

Answered
use LUT holding non integer numbers
LUT = rand(1, 201); Data = randi([0, 200], 32, 32); Result = LUT(Data + 1);

9 years ago | 0

| accepted

Answered
plotting .mat file......
"plot('spectrum.mat')"?! This tries to plot the char vector 'spectrum.mat'. You cannot plot a file. You have to load the data...

9 years ago | 1

| accepted

Answered
ERROR: MATLAB is selecting SOFTWARE OPENGL rendering.
Is this an error or a warning message? In the latter case you can set the software OpenGL renderer manually to avoid the message...

9 years ago | 2

Answered
get a file name for saving a figure as an mat.file from an edit field
Do you mean: ... get(handles.edit9001, 'String') ... % ^^^^^^^^ instead?

9 years ago | 0

Answered
Changing size of matrix in every iteration
X = [1,2,3,4,5,6] K = [3,4,5,80,7,80] y = 2 M{i} = (X > y) & (K~=80) & (K>y) Because the vectors in M have di...

9 years ago | 0

Answered
Which calculations are running in the background of a function?
You can use the debugger to see, what's going on. You cannot read the code of built-in functions, therefore for some functions y...

9 years ago | 0

Answered
Change the x axis in a figure with time
Did you try |datetick| already?

9 years ago | 0

Answered
Can anyone help me rectifying the error shown while executing this program?
The error message is clear: After Kvals = kernel(S,T)'; |Kvals| contains one column only. Why do you assume that it has ...

9 years ago | 0

| accepted

Answered
Writing N+1 by N+1 Matrix in MATLAB
N = 3; M = diag(2:2:2*N, -1)

9 years ago | 1

| accepted

Answered
How to create random binary matrix with specified number of ones in each row and column?
This will not work in general: You cannot e.g. place 2 elements per row *and* per column in a 5 x 5 matrix: 1 0 0 0 0 % <...

9 years ago | 1

Answered
how can i put the command line in the GUI
You can use assignin('base', 'trainRatio', net.divideParam.trainRatio) to create a variable in the base workspace. This...

9 years ago | 1

| accepted

Answered
Faster way than findobj to find and delete plots in a GUI interface
In your code: for j=1:handles.simulation.plot_index plot_name = sprintf('handles.simulation.plot_%i', j); d...

9 years ago | 1

Answered
How to inherit values from for loop into if else loop?
There is no magic "inheriting" of loop counters. I think the main problem is hiddon in your formulation "if else loop": The |if|...

9 years ago | 0

Answered
What does \\\r\n mean ?
In format specificators e.g. in |sprintf| the backslash is used as _escape_ _character_: the following character get a special m...

9 years ago | 3

| accepted

Answered
How to temporarily stop a script, extract data, and then continue?
What about storing the values in vectors? Then there is no need to _stop_ the loop: n = length(A); P_in = zeros(1, n);...

9 years ago | 1

| accepted

Answered
writetable function doesn't produce any output
You do not have write permissions directly in |C:\Users\|, except if you work with admin privileges. If you do so: note that thi...

9 years ago | 0

Answered
Why do I receive "Not enough input arguments" error message?
In the line pnew = lsqnonlin(optimfunct, p0,[],[],options); the function |optimfunct| is called without inputs. Do you m...

9 years ago | 0

Load more