Feeds
답변 있음
write different data types to excel sheet
"It appears to be stored as cell data" It is clearly stored as a string array: S = load('Variable.mat') S.line0 T = array2ta...
write different data types to excel sheet
"It appears to be stored as cell data" It is clearly stored as a string array: S = load('Variable.mat') S.line0 T = array2ta...
3일 전 | 1
제출됨
Maximally Distinct Color Generator
Generate maximally-distinct colors in an RGB colormap.
5일 전 | 다운로드 수: 21 |
제출됨
Interactive Regular Expression Tool
Develop and refine regular expressions in an interactive figure showing all of REGEXP's outputs.
7일 전 | 다운로드 수: 12 |
제출됨
Convert between RGB and Color Names
RGB to color name. Color name to RGB. Supports many palettes: CSS, dvips, HTML, MATLAB, RAL, SVG, X11, xcolor, xkcd,...
7일 전 | 다운로드 수: 18 |
답변 있음
Matrix 10x10 with same number in each row by column.
Method 1: REPMAT: M = repmat(1:10,10,1) Method 2: MTIMES: M = ones(10,1)*(1:10) Method 3: MAX M = max(zeros(10),1:10) Meth...
Matrix 10x10 with same number in each row by column.
Method 1: REPMAT: M = repmat(1:10,10,1) Method 2: MTIMES: M = ones(10,1)*(1:10) Method 3: MAX M = max(zeros(10),1:10) Meth...
7일 전 | 2
| 수락됨
답변 있음
Trying to solve for a number of variables in a matrix. Getting a structfun error.
You have 9 equations but only 8 unknowns (u2–u9). Since u1=0 is already substituted in, MATLAB's solve sees an overconstrained s...
Trying to solve for a number of variables in a matrix. Getting a structfun error.
You have 9 equations but only 8 unknowns (u2–u9). Since u1=0 is already substituted in, MATLAB's solve sees an overconstrained s...
12일 전 | 0
답변 있음
Efficient overlapping block processing with nested sub blocks (similar to im2col with stride)
Your reshape/permute chain is working backwards: you're extracting in the "wrong" order and then correcting it. The cleaner appr...
Efficient overlapping block processing with nested sub blocks (similar to im2col with stride)
Your reshape/permute chain is working backwards: you're extracting in the "wrong" order and then correcting it. The cleaner appr...
15일 전 | 2
| 수락됨
답변 있음
Nested tiledlayout: can parent tiles have different widths depending on number of child tiles?
I don't think there is an automatic way to do this, but you could specify the TileSpan to achieve (approximately) equal sizes. ...
Nested tiledlayout: can parent tiles have different widths depending on number of child tiles?
I don't think there is an automatic way to do this, but you could specify the TileSpan to achieve (approximately) equal sizes. ...
18일 전 | 0
답변 있음
Reading a string & sorting it into usable variables
Create demo file: writelines({'Layup: [45/-45/0/90/90/0/-45/45]','Ply thickness: [0.18/0.18/0.18/0.18/0.18/0.18/0.18/0.18]','El...
Reading a string & sorting it into usable variables
Create demo file: writelines({'Layup: [45/-45/0/90/90/0/-45/45]','Ply thickness: [0.18/0.18/0.18/0.18/0.18/0.18/0.18/0.18]','El...
18일 전 | 0
답변 있음
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})...
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})...
18일 전 | 0
답변 있음
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...
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...
18일 전 | 0
답변 있음
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...
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...
19일 전 | 1
답변 있음
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...
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...
20일 전 | 0
| 수락됨
답변 있음
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...
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...
20일 전 | 0
| 수락됨
제출됨
MatPlotLib "Perceptually Uniform" Colormaps
MatPlotLib's default linear lightness colormap VIRIDIS and distinctive line colororder TAB10
25일 전 | 다운로드 수: 103 |
제출됨
Next Available Filename
Return the next unused filename, incrementing an integer as required.
26일 전 | 다운로드 수: 6 |
답변 있음
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...
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...
대략 1개월 전 | 0
답변 있음
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...
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...
대략 1개월 전 | 0
| 수락됨
답변 있음
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...
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...
대략 1개월 전 | 1
| 수락됨
답변 있음
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 ...
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 ...
대략 1개월 전 | 0
| 수락됨
제출됨
Number to Scientific Prefix
Convert a numeric value to SI-prefixed text (aka engineering / metric prefix). Bonus: binary prefixes!
대략 1개월 전 | 다운로드 수: 6 |
제출됨
Scientific Prefix to Number
Convert SI-prefixed text (aka engineering / metric prefix) into numeric values. Bonus: binary prefixes!
대략 1개월 전 | 다운로드 수: 6 |
답변 있음
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...
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...
대략 1개월 전 | 3
| 수락됨
답변 있음
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...
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개월 전 | 0
| 수락됨
제출됨
Custom List / Arbitrary Sequence Sort
Sort a text array into the order of custom lists / arbitrary text sequences. Sort words using alphabets that are NOT in ASCII or...
대략 1개월 전 | 다운로드 수: 7 |
제출됨
Customizable Natural-Order Sort
Alphanumeric sort of a cell/string/categorical array, with customizable number format.
대략 1개월 전 | 다운로드 수: 22 |
제출됨
Natural-Order Filename Sort
Alphanumeric sort of filenames or filepaths, with customizable number format.
대략 1개월 전 | 다운로드 수: 157 |
제출됨
Natural-Order Row Sort
Alphanumeric row sort of a cell/string/categorical/table array, with customizable number format.
대략 1개월 전 | 다운로드 수: 13 |
제출됨
Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).
대략 1개월 전 | 다운로드 수: 5 |
제출됨
Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).
대략 1개월 전 | 다운로드 수: 3 |











