Risposto
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...

circa 2 mesi fa | 0

| accettato

Risposto
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...

circa 2 mesi fa | 0

Inviato


Maximally Distinct Color Generator
Generate maximally-distinct colors in an RGB colormap.

circa 2 mesi fa | 20 download |

5.0 / 5
Thumbnail

Risposto
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';...

circa 2 mesi fa | 0

| accettato

Inviato


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

circa 2 mesi fa | 6 download |

4.9 / 5
Thumbnail

Inviato


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

circa 2 mesi fa | 173 download |

4.9 / 5
Thumbnail

Inviato


CIECAM16
CIECAM16 Color Appearance Model and CAM16 Perceptually Uniform Colorspaces

circa 2 mesi fa | 2 download |

0.0 / 5
Thumbnail

Inviato


CIECAM02
CIECAM02 Color Appearance Model and CAM02 Perceptually Uniform Colorspaces

circa 2 mesi fa | 2 download |

0.0 / 5
Thumbnail

Inviato


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

2 mesi fa | 5 download |

0.0 / 5
Thumbnail

Inviato


Espresso4MATLAB
MATLAB wrappers for Espresso truth table minimizer

2 mesi fa | 5 download |

0.0 / 5
Thumbnail

Risposto
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...

2 mesi fa | 0

| accettato

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

2 mesi fa | 0

| accettato

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

2 mesi fa | 0

Risposto
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...

2 mesi fa | 0

Inviato


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

2 mesi fa | 5 download |

5.0 / 5
Thumbnail

Risposto
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 ...

2 mesi fa | 2

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

| accettato

Inviato


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

3 mesi fa | 4 download |

5.0 / 5
Thumbnail

Risposto
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 mesi fa | 0

Risposto
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...

3 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 0

| accettato

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

4 mesi fa | 0

| accettato

Risposto
Mixing subscripts with linear indices
When fewer subscripts are provided than non-singleton dimensions then all trailing dimensions are "folded" into the last subscri...

4 mesi fa | 1

| accettato

Risposto
Why does first calling the function radon and then iradon on the result produce extra rows and columns?
"Why does first calling the function radon and then iradon on the result produce extra rows and columns?" The functions radon a...

4 mesi fa | 0

| accettato

Risposto
How to read a text file with irregular timestamp data using detectImportOptions function ?
The file that you uploaded is tab delimited, not space delimited as you specified. Once you provide the correct delimiter import...

4 mesi fa | 1

| accettato

Risposto
Matlab Datatip Struct - How do I use it!?
mat = vertcat(var.Position); x = mat(:,1); y = mat(:,2); How this works: https://www.mathworks.com/matlabcentral/discussions/...

4 mesi fa | 0

Risposto
The single function is not behaving as expected
"However, it is altering my integers as well." Then use an integer type of sufficient size to store those values; this would us...

4 mesi fa | 1

Carica altro