Answered
FCN error using compiler..
What do you find in this file in the given line? The error message seems to be clear: The term "FCN" was not defined before. The...

9 years ago | 0

| accepted

Answered
graphing the paths of multiple particles in the same 3d cube?
data = rand(20, 20) + 1:20; % Matlab >= 2016b, or bsxfun(@plus, rand(20, 20), 1:20) plot3(data, 1:20, 1:20); view(3)

9 years ago | 0

Answered
how can i delete unnecessary rows in a dataset?
With some guessing: filename = 'G:\Albania\SIC\DS1\RPM10.txt'; delimiter = ',:'; formatSpec = '%s%s%s%s%s%*s%*s%s%...

9 years ago | 0

Answered
the cause of crush Matlab ?
I'm convinced that nobody can tell you, what's going wrong based on the stack trace only. "win64\hg.dll+02304993 set_control_nam...

9 years ago | 3

| accepted

Answered
Why do I get a permission denied error in regards to classpath.txt or pathdef.m when starting MATLAB?
Better change the permissions for the |pathdef.m| and |classpath.txt| files only, or at least only |<matlabroot>\toolbox\l...

9 years ago | 1

Answered
script is slower than command window
Start with vectorizing the determination of the min and max values: function color = rg2hue(data) color = zeros(size(da...

9 years ago | 0

Answered
How to use a Sgolayfilter?
This question cannot be answered reliably, because the term "best" is not uniquely defined. It depends on what you are looking f...

9 years ago | 0

Answered
How to select an array without element i
While I prefer Stephen's or Andrei's vectorized solutions for the productive use, the actual question can be solved in a loop al...

9 years ago | 2

Answered
Different results using .* on two computers
The elementwise multiplication of a 1x1001 and a 5x1001 works since Matlab 2016b with the implicite auto-expanding. The result i...

9 years ago | 2

| accepted

Answered
ode45 orbit glitch
I believe the initial conditions are not being sent Fortunately you do not have to believe anything in Matlab, but you can u...

9 years ago | 1

| accepted

Answered
Cell array Strings help
Since Matlab 2013a: strsplit('hi harray potter') And modern Matlab versions suggest: split('hi harray potter') w...

9 years ago | 0

Answered
Using polifit in matlab
Using the center point of a polynomial fitted to the surrounding points is a Savitzky-Golay filter. Either use Matlab's |sgolayf...

9 years ago | 1

| accepted

Answered
Implement a routine to compute the divergent rotational of any vector function
I do not think, that a vector will help you. F is a vector *function*, a "field". Try it manually: What is div [1,2,3].' ...

9 years ago | 0

Answered
plz, help me in solving imread error in my code at line 68 (not pointing to the folder_no \img_no,as recognized_index is consecutive)
The error message is clear: File "C:\Users\Amir\Desktop\face\orl_faces\33.pgm" does not exist. This is nothing, which can...

9 years ago | 0

Answered
Touchscreen inputs may be too transient to be captured by repetitively checking mouse status ?
Using a callback of the underlying object will be a much better approach than a polling loop.

9 years ago | 0

Answered
I don't know what is the meaning ite>100, is it just an assumption or what? I set the ite<=1000
Without knowing anything about the code or the context, it is impossible to explain this reliably. Therefore a bold guess only: ...

9 years ago | 0

Answered
Filtering a table containing Hex data
Perhaps: Msg = data(strcmp(data{:, 20}, 'F0F0'), :); If you post the input data, we could test the suggestions.

9 years ago | 0

Answered
Reference to non-existent field error occurring
As mentioned in your other thread, your code would be much easier to read, if you use the auto-indentation. The are some bugs...

9 years ago | 0

Answered
Load and write multiple txt-files - Interruption without error message
Do not start a function with the darn clear all. This removed all loaded functions from the memory and is a massive waste of tim...

9 years ago | 0

| accepted

Answered
fipref class for matlab version 6.5
The class |fipref| belongs to the Fixed Point toolbox, see <https://www.mathworks.com/help/fixedpoint/ref/fipref.html>. It was i...

9 years ago | 0

Answered
How can I generated an audio sequence from segmentes of an audio sample?
Do not create a bunch of variables with an index hidden in the name. Using indices as indices is much easier and better. t ...

9 years ago | 0

Answered
String Replacing for a DNA sequence
Imagine that you worked out how to get a cell string containing the sub-strings: C = {'GTTA', 'TTAG', 'TAGC', 'GTTA', 'GTTA...

9 years ago | 0

Answered
Placing UIPanel on Figure in OpeningFcn
Inside the OpeningFcn: bp = uipanel('Units','pixels','Position','[8 41 490 500], ... 'Tag','BackgroundPanel...

9 years ago | 0

| accepted

Answered
MATLAB return me this internal error but i don't know how to fix it since is internal
The crash happens in |libcasadi_integrator_cvodes.dll| . Is this an official Matlab function? If so, follow the suggestion in th...

9 years ago | 1

Answered
Manipulating multidimensional array cell elements
Data = load('Project Data.mat'); C = cell(1, 9); for k = 1:9 C{k} = Data.(sprintf('Fx%d', k))(:, 2); end A...

9 years ago | 0

Answered
code relates to matrices
The question sound like a homework. Beside the suggested hankel function, there is a simple solution using elementary arithmetic...

9 years ago | 0

Answered
Delete every n rows if less than x
Assuming that m is a multiple of 24: DataM = reshape(Data, 24, [], 14); Match = (DataM(14, :, 5) >= x); Result = re...

9 years ago | 0

| accepted

Answered
How to load a structure as a handle?
FileData = load('structure.mat'); handles.Dlg = FileData.Dlg; I'm not sure, but perhaps tmp_val can be obtained easie...

9 years ago | 0

| accepted

Answered
matching with data in cell array
found = any(strcmp(TheNumber, TheListOfNumbers))

9 years ago | 0

Answered
In "new" MATLABs, the marker in the plot is not precisely located.
Does the problem concern the display on the screen or the export to vector graphics? Perhaps this helps: <https://www.mathworks....

9 years ago | 0

Load more