Respondida
How do I insert the comma marker for thousands into large numbers while printing to file or Command Line in MATLAB 7.7 (R2008b)?
Assuming that you have already converted to text: A = '1200387'; F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d{3})...

3 meses hace | 0

Respondida
Inserting a 1000 separator
Assuming that you have already converted to text: A = '11201453.21'; F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d...

3 meses hace | 0

Respondida
how to set 1000 separator for large numbers in GUI MATLAB
No FLIPLR required: F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d{3})+(e|E|\.|\>))', '$&,'); And tested: F('1 1...

3 meses hace | 1

Respondida
Method lookup in multiple inheritance
f(d) class(d) Compare: classdef d < a % what you wrote in your question. classdef d < b & c % what the file actually con...

3 meses hace | 0

| aceptada

Respondida
Weird Behaviour of Parallel Processing when Using BlockProc
I doubt that your example is good use of the parallel toolbox. Parallel code can be slower than serial code due to high communic...

3 meses hace | 0

| aceptada

Enviada


MatPlotLib "Perceptually Uniform" Colormaps
MatPlotLib's default linear lightness colormap VIRIDIS and distinctive line colororder TAB10

3 meses hace | 130 descargas |

4.9 / 5
Thumbnail

Enviada


Next Available Filename
Return the next unused filename, incrementing an integer as required.

3 meses hace | 1 descarga |

5.0 / 5
Thumbnail

Respondida
problem exporting figure to a single channel
plot(rand(7,3)) F = getframe(figure(1)); I = im2gray(F.cdata); imwrite(I,'test.png') size(I) clearvars J = imread('t...

3 meses hace | 0

Respondida
How to find and utilize a "built-in method % static method or namespace function"
Yes, your interpretation is correct. The output: tifflib is a built-in method % static method or namespace function means tha...

3 meses hace | 0

| aceptada

Respondida
Error Saving Fig with complicated filename
"is there a reason why a matlab figure won't save when the filepath is like this" Yes, because colons are not valid in MS Windo...

3 meses hace | 1

| aceptada

Respondida
Extracting from cell arrays using a nested loop
The issue is that subData{c} is being overwritten on each iteration of k, whereas you need to index into both dimensions (c and ...

3 meses hace | 0

| aceptada

Enviada


Number to Scientific Prefix
Convert a numeric value to SI-prefixed text (aka engineering / metric prefix). Bonus: binary prefixes!

3 meses hace | 3 descargas |

4.8 / 5
Thumbnail

Enviada


Scientific Prefix to Number
Convert SI-prefixed text (aka engineering / metric prefix) into numeric values. Bonus: binary prefixes!

3 meses hace | 2 descargas |

5.0 / 5
Thumbnail

Respondida
Question about loading multiple files
"What am I missing?" You are missing the fact that this line FILES= DIR_STR.name defines a comma-separated list: https://ww...

3 meses hace | 3

| aceptada

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

3 meses hace | 0

| aceptada

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

3 meses hace | 1

| aceptada

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

3 meses hace | 1

| aceptada

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

4 meses hace | 0

| aceptada

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

4 meses hace | 0

| aceptada

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

4 meses hace | 0

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

4 meses hace | 0

| aceptada

Enviada


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

4 meses hace | 2 descargas |

4.9 / 5
Thumbnail

Enviada


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

4 meses hace | 144 descargas |

4.9 / 5
Thumbnail

Enviada


CIECAM16
CIECAM16 Color Appearance Model and CAM16 Perceptually Uniform Colorspaces

4 meses hace | 4 descargas |

0.0 / 5
Thumbnail

Enviada


CIECAM02
CIECAM02 Color Appearance Model and CAM02 Perceptually Uniform Colorspaces

4 meses hace | 4 descargas |

0.0 / 5
Thumbnail

Enviada


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

4 meses hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Espresso4MATLAB
MATLAB wrappers for Espresso truth table minimizer

4 meses hace | 1 descarga |

0.0 / 5
Thumbnail

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

4 meses hace | 0

| aceptada

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

4 meses hace | 0

| aceptada

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

4 meses hace | 0

Cargar más