Answered
fit function - Incorrect number or types of inputs or outputs for function fit.
@Kevin: you do not have FIT from the Curve Fitting Toolbox listed. Check your licenses online: https://www.mathworks.com/help/m...

1 month ago | 0

| accepted

Submitted


Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).

1 month ago | 3 downloads |

5.0 / 5
Thumbnail

Submitted


Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).

1 month ago | 3 downloads |

0.0 / 5
Thumbnail

Answered
I need my code to work/dont know what is going wrong.
Explanation There are a few clear bugs causing your problems. Let me walk through each one. Bug 1: The function is called twic...

2 months ago | 1

| accepted

Answered
Loss of precision in wave equations
This is expected behavior. By default MATLAB uses IEEE 754 double precision. This has finite precision and cannot exactly repre...

2 months ago | 1

| accepted

Answered
Error when using logical indexing to get a value from a table
"Operator '==' is not supported for operands of type 'cell'." Why are you using a cell array to store scalar numeric data? "I ...

2 months ago | 0

| accepted

Answered
Please help me to run this simple code
You're missing the multiplication operator * in several places. Here's the corrected code with the missing * operators added: p...

2 months ago | 0

| accepted

Answered
How do I include a header file in MATLAB code?
Simple: write a script and call/run that at the top of your code: https://www.mathworks.com/help/matlab/scripts.html https://w...

2 months ago | 0

Answered
Generated "*.m" file could not be real time updated
For performance MATLAB caches executed functions and scripts. To clear that script from the cache call CLEAR: filename = 'a.m';...

2 months ago | 0

| accepted

Submitted


CubeHelix Colormap Generator
Use the cubehelix algorithm to generate colormaps suitable for grayscale conversion

2 months ago | 10 downloads |

4.9 / 5
Thumbnail

Submitted


ColorBrewer: Attractive and Distinctive Colormaps
The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length.

2 months ago | 167 downloads |

4.9 / 5
Thumbnail

Submitted


CIECAM16
CIECAM16 Color Appearance Model and CAM16 Perceptually Uniform Colorspaces

2 months ago | 2 downloads |

0.0 / 5
Thumbnail

Submitted


CIECAM02
CIECAM02 Color Appearance Model and CAM02 Perceptually Uniform Colorspaces

2 months ago | 2 downloads |

0.0 / 5
Thumbnail

Submitted


Hyphenate
Word hyphenation using Franklin Mark Liang's algorithm (aka Knuth-Liang algorithm). Used in TeX and LaTeX

2 months ago | 2 downloads |

0.0 / 5
Thumbnail

Submitted


Espresso4MATLAB
MATLAB wrappers for Espresso truth table minimizer

2 months ago | 6 downloads |

0.0 / 5
Thumbnail

Answered
General Blockproc questions that aren't in the documentation
1) The output placement is always deterministic (each block goes back to its original spatial position). The order in which you...

3 months ago | 0

| accepted

Answered
Dealing with Duration format
F = 'AdaptationTestProva.csv'; H = readtable(F, 'Delimiter',',', 'Range','1:2'); T = readtable(F, 'Delimiter',{',',':'}, 'Head...

3 months ago | 0

| accepted

Answered
Formating strings using named tokens
Given: tokenName.month = '02'; tokenName.day = '20'; tokenName.year = '2020'; expr = '(?<month>\d+)/(?<day>\d+)/(?<year...

3 months ago | 0

Answered
Save variable number in matrix for later iteration
"The problem I'm facing is how to call a variable that contains a value that can change with the current index in the loop. I tr...

3 months ago | 0

Submitted


Round to Electronic Component Values
Round numeric array values to IEC 60063 resistor/capacitor values (E-Series of preferred numbers).

3 months ago | 5 downloads |

5.0 / 5
Thumbnail

Answered
functionSignatures.json : specify filepath
I suspect that you have a slight misconception of what code suggestions and completions are capable of. "How can I specify the ...

3 months ago | 2

Answered
any way of processing callbacks without updating figures?
Callback functions are just functions, there is nothing magical about them: you can call them from other functions, scripts, cla...

3 months ago | 0

| accepted

Answered
Modifying sequential filenames with padded numbers
Use https://www.mathworks.com/help/matlab/ref/string.compose.html Avoid superfluous type conversion, REPMAT, and concatenation ...

3 months ago | 0

| accepted

Submitted


Numeric to Ordinal-String
Convert numeric values to a string array of integers with ordinal suffixes. Fully vectorized!

3 months ago | 1 download |

5.0 / 5
Thumbnail

Answered
imtile does not work with cell array of images
"imtile does not work with cell array of images" Yes, it does: C = {rand(2,4,3),rand(2,4,3)}; I = imtile(C); image(I) The d...

3 months ago | 0

Answered
How Does interp1 Work if the Sample Points are not Monotonic?
INTERP1 automatically sorts the sample points internally if they're not monotonic, and it reorders the corresponding sample valu...

4 months ago | 0

| accepted

Answered
How to plot all but last two columns?
c = b(:,1:end-2); plot(a,c) https://www.mathworks.com/help/matlab/math/array-indexing.html https://www.mathworks.com/help/mat...

4 months ago | 0

Answered
Why does having only one row in table, break dot indexing?
"Why does having only one row in table, break dot indexing?" Short answer: it doesn't break anything, you are not indexing what...

4 months ago | 0

Answered
How to keep indexed colors of patches, when switching to Face-Vertex syntax.
Solution: Use "scaled" in place of "direct": patch("Faces", 1:size(ddata,1), "Vertices", ddata, ... "FaceVertexCData", in...

4 months ago | 0

| accepted

Answered
"Unable to update data tip using custom update function"
Solution One Replace dcm.UpdateFcn = @displayteam; with dcm.UpdateFcn = @(~,~)displayteam(data2); Explanation The property...

4 months ago | 0

| accepted

Load more