Answered
Matlab ODE45 with parameters which depend on the solution
|var_k(q(1),table)| could mean in interpolation. If this is linear, remember that Matlab's integrators are designed to integrate...

9 years ago | 1

Answered
Why do I get this error?
The error message seems to be clear: Could not open MERRA2_400.inst6_3d_ana_Np.20161001.nc4 for reading. There is an em...

9 years ago | 0

| accepted

Answered
How to integrate integrate by using loop
Please post the code you have so far and explain, which problem occurres. Then suggesting an improvement is much easier. What...

9 years ago | 0

Answered
How can I calculate on GPU?
You have installed the Parallel Processing Toolbox, but do you have a license also? license('inuse') If this is not the ...

9 years ago | 0

Answered
how to use function to output code to control GUIDE
Of course you can use |handles| in a function - when you provide it as input argument. Do not use |eval| to address a field o...

9 years ago | 0

| accepted

Answered
GUI input matrix of any size
As you find in your tags already, a useful solution is the |uitable| command. Your question is very vague currently, therefore I...

9 years ago | 2

Answered
GUI for table input
Please contact the author of this tool. What about using the built-in |uitable|?

9 years ago | 0

Answered
Menu Bar MATLAB IDE ¿invisible or unavailable?
You can try <https://www.mathworks.com/matlabcentral/fileexchange/32005-cmdwintool FEX: CmdWinTool>, but actually the problem sh...

9 years ago | 0

Answered
Selection of rows and columns of a data set.
You have to read all values. fid = fopen(FileName, 'r'); data = fscanf(fid, '%g', [6, inf]); fclose(fid); result ...

9 years ago | 1

| accepted

Answered
how to remove rows have ' - ' in their columns?
index = strcmp(C(:,1), '-') | strcmp(C(:,2), '-'); C(index, :) = []; Or: index = any(strcmp(C, '-'), 2)...

9 years ago | 0

| accepted

Answered
how to get amplitude of mp3 audio file?
The command <https://www.mathworks.com/help/matlab/ref/audioread.html audioread> imports an MP3 or WAV file to a matrix, which c...

9 years ago | 0

| accepted

Answered
Changing numbers in a matrix by checking values
In Matlab >= R2016a: index = (Ende == [1 1 0]); Ende(index, 1) = 0; index = (Ende == [1 1 1]); Ende(index, 2) = 0;...

9 years ago | 0

Answered
Counting repeating element in array
Start with function similar_no = similar_counter(A) The reply will not be unique, because you do not know which element...

9 years ago | 0

Answered
Open new notepad and insert some text without saving it in file
You want to remote control Notepad from Matlab, move some strings from one instance to the other and finally close the instances...

9 years ago | 1

| accepted

Answered
unicode characters in .m file
Please read <https://www.mathworks.com/matlabcentral/answers/262114-why-i-can-not-read-comments-in-chinese-in-my-mfile> . It is ...

9 years ago | 0

Answered
Discontinuous ODE . Why solvers dont reduce step size?
See <http://www.mathworks.com/matlabcentral/answers/59582#answer_72047>. Matlab's integrators cannot handle non-smooth functions...

9 years ago | 0

| accepted

Answered
Matlab recursively add points to a vector
See <http://blogs.mathworks.com/loren/2007/03/22/in-place-operations-on-data/ Lorens Blog: Inplace operations> . Maybe your assu...

9 years ago | 0

Answered
Problem to obtain all possible combinations of up to 50 variables or more.
You think you have to create an array containing 10e15 combinations. Assuming, that storing "50 features" requires 50 Bytes, you...

9 years ago | 1

Answered
How to highlight one line in an image?
It depends on what "highlighted" means. You could increase the brightness of this line, but if this by accident a single very da...

9 years ago | 0

Answered
How to clear memory allocated from functions
Matlab clears all locally created variables, which are not replied or persistent, automatically, if the function is left. Theref...

9 years ago | 2

Answered
how can i use averaging from excel file
Does this problem concern Excel? Are you able to import the data already to a matrix? If not, please ask for importing Excel fil...

9 years ago | 0

| accepted

Answered
How can i use a wildcard to end a string?
You forgot to mention what "doesn't work" exactly means. I think the shown code should work actually. Therefore I cannot guess w...

9 years ago | 1

Answered
Can I install Matlab home on a laptop that issued by my employer?
What exactly is your problem? You have bought a Matlab home license and want to use Matlab for non-commercial and non-educationa...

9 years ago | 1

Answered
How to call callback the code through the selection of push button
After your comment: This is no valid Matlab syntax: if (selectedIndex == 1); else if (selectedIndex == 2); ...

9 years ago | 0

Answered
how to insert a txt file inside a function by using gui
Do not leave the GUI. Select a file inside the GUI, store it in the handles struct (see the bunch of threads concerning "share d...

9 years ago | 0

| accepted

Answered
why i cant save files in my standalone app
mkdir(fullfile(ctfroot, '\output')); save(fullfile(ctfroot, '\output\polygon')); I would not write to the installation f...

9 years ago | 0

Answered
MATLAB precision and output question
Welcome to the world of arithmetics with limited precision. Read the links posted by Stephen to see, that this topic has been di...

9 years ago | 0

Answered
Programming long script gets extremely slow
Of course writing such a huge M-file in Matlab's editor is slow. It is expected to be. Note that the editor performs a syntax ch...

9 years ago | 0

| accepted

Answered
How to run resize.cc on Linux?
The solution might follow exactly the error message: define sdims and ddims as size_t: const size_t *sdims = mxGetDimension...

9 years ago | 1

| accepted

Load more