Answered
How to plot an array of complex numbers using a For Loop and each point uses a different image/color.
Did you try to run you code? Start with a proper |for| loop: for index = 1:12 Lower "for" and the loop does not run over...

9 years ago | 0

Answered
How to copy tab text in variable editor
I'm not sure what you are doing, but in the variable editor I can simply right click on the name of the tab (name of the variabl...

9 years ago | 0

Answered
Calling back same GUI as previous in a while loop
It sounds like all you need is not to close the GUI but keep it open with using the new values. The description After c...

9 years ago | 0

Answered
Can I create a custom background for a plot?
Which background? Of the axes or the complete figure? This creates a 2nd axes containing a grey ramp behind an invisible axes co...

9 years ago | 0

| accepted

Answered
Please help me with the code
If this is an initial value problem, all you need is a loop over the elements of k: kList = 0.1:0.01:0.2; Now pick a spe...

9 years ago | 0

Answered
Modify GUI textbox from another script file?
You call the function Test() by: Test(hObject, handles); but the definition of the function uses 5 input arguments: ...

9 years ago | 0

| accepted

Answered
1D ODE depending on a parameter: how to have exact same length solutions for every parameter to make a 3d plot of them?
If you define |tspan| with more than 2 elements, the trajectories are exported for the given times only.

9 years ago | 0

| accepted

Answered
Problem w/ SDK 7.1. install
What is the problem? This is not an error message, but a hint only. The contents of this message window is clear: Currently ther...

9 years ago | 0

Answered
4th order Runge kutta to solve a 2nd ODE
Please post the *complete* error message. You showed, *where* the error is, but kept the detail, *what* the problem is as your s...

9 years ago | 0

Answered
saving and loading data
This is a very general question. The implementation depends on the exact requirements. You can use different CELLs, or a single ...

9 years ago | 0

| accepted

Answered
How do I modify cell values of editable Uitable after closed the figure?
The question is not clear: * *When* do you want to save what? *After* the figure is closed, it is closed and the contents is ...

9 years ago | 0

| accepted

Answered
I am looking for the code of VChooseKO function, to use in Matlab 2014
This function does not belong to Matlab, but you can find it in the FileExchange. Asking Google for "VChooseKO" shows you the do...

9 years ago | 0

Answered
How do I improve Numerical Integration Speed?
eta1 = 17; % Guessed fun1 = @(x) exp(-(abs(x)).^(1.73)).*((cos(eta1*x))); tic R1 = integral(fun1,0,inf); toc ...

9 years ago | 0

| accepted

Answered
Failure to open a Figure with a calculated figure number
The error message means, that the *value* must be an integer, not the *class* of the input. So simply omit the |int16()| to crea...

9 years ago | 0

| accepted

Answered
xlswrite many data arrays into excel
You find many threads concerning this problem in the forum. See <https://www.mathworks.com/matlabcentral/answers/304528-tutorial...

9 years ago | 0

| accepted

Answered
info about license and publication on scientific paper
Yes, you can submit all diagrams created by Matlab without any problems. They are your personal property. You could mention, ...

9 years ago | 0

| accepted

Answered
How to make a break in an axis?
It is a good strategy to search in the forum before asking a question. You would find e.g. that this has been asked 3 hours befo...

9 years ago | 0

Answered
Applying Movmedian Within Cell Array
output(:, 1) = cellfun(@(c) movmedian(c, 5, 3), output(:, 1), 'uniform', 0); Remember, that |cellfun| is very nice, but les...

9 years ago | 0

| accepted

Answered
What is the link of audio length with fs, time and how many no of bytes are in 1 sec?
"fs" is the frequency. Per channel the data contain fs values per second. If the data are stored as int8, these are bytes, when ...

9 years ago | 1

Answered
Last few characters of a string
Either consider the filter at obtaining the files already: DirList = dir(fullfile(datapath, '*8250')) Or use <https://ww...

9 years ago | 1

| accepted

Answered
How to make a break on the x axis?
Take a look into the file exchange: <https://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=break+axis> ...

9 years ago | 0

Answered
How do I run a matlab script automatically from an excel input?
A short search in the internet for "Run Matlab script from Excel" reveals: * <https://www.mathworks.com/matlabcentral/answers...

9 years ago | 0

Answered
Can I reduce computation time for the matrix computation (sparse matrices)
Why do you run the firt loop 200 times, although the loop body does not depend on the counter |l|? Simply omit the |for| loop to...

9 years ago | 1

Answered
How can I preserve an image's date time stamp after I read it into MATLAB, process it, and write it to another filename
Under Windows: <https://www.mathworks.com/matlabcentral/fileexchange/24671-filetime FEX: SetFileTime> FT = GetFileTime(File...

9 years ago | 0

Answered
how can I group pairs of numbers that share a common number? Thank you!
Alternative: P = [1,2; 2,4; 5,7; 1,3; 7,8; 10,9]; nP = size(P, 1); % Number of pairs iS = 0; ...

9 years ago | 1

Answered
how can I group pairs of numbers that share a common number? Thank you!
Version 1: Create the stacks as cells and search in them iteratively: P = [1,2; 2,4; 5,7; 1,3; 7,8; 10,9]; nP = size(P,...

9 years ago | 1

Answered
Generating a table with text
I'm not sure what "A(a b c ...,1)" means. Better post some working code, which reproduces the problem. But I think, that there i...

9 years ago | 0

| accepted

Answered
Problems finding exact match for a string
What about |strcmp|: GN = {'EC2020'}; List = {'EC1919'; 'EC2020'; 'EC2020.1'}; index = find(strcmp(List, GN{1})) ...

9 years ago | 5

| accepted

Answered
after downloading the trail software its asking for the activation key ,where will i get this ?
See <https://de.mathworks.com/matlabcentral/answers/97911-how-do-i-update-my-matlab-trial-license> <https://www.mathworks.com...

9 years ago | 0

Load more