Feeds
답변 있음
Possible to use box or violin plots, with unequal x and y axis spacing?
Horizontal, stats toolbox: x_positions = [1.2,3.5,7.8]; data = [ randn(50,1)+1; randn(50,1)+2; randn(50,1)+3 ]...
Possible to use box or violin plots, with unequal x and y axis spacing?
Horizontal, stats toolbox: x_positions = [1.2,3.5,7.8]; data = [ randn(50,1)+1; randn(50,1)+2; randn(50,1)+3 ]...
대략 2시간 전 | 0
제출됨
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,...
5일 전 | 다운로드 수: 12 |
답변 있음
What is the main difference between matlab and simlink
MATLAB (MATrix LABoratory) is a programming language and computational environment. What it’s used for: Numerical computing D...
What is the main difference between matlab and simlink
MATLAB (MATrix LABoratory) is a programming language and computational environment. What it’s used for: Numerical computing D...
7일 전 | 1
| 수락됨
Discussion
Rethinking Line Length in Scientific / MATLAB Code
Many widely cited code style guides originate from large-scale software engineering contexts: multi-developer teams, large codeb...
7일 전 | 0
답변 있음
datestr returns erroneous result (MATLAB Version: 9.9.0.2037887 (R2020b) Update 8)
"When I provide datestr with a datenum produced by a format, it does not return the same value" It does when you provide the co...
datestr returns erroneous result (MATLAB Version: 9.9.0.2037887 (R2020b) Update 8)
"When I provide datestr with a datenum produced by a format, it does not return the same value" It does when you provide the co...
8일 전 | 0
| 수락됨
제출됨
Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).
15일 전 | 다운로드 수: 5 |
제출됨
Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).
15일 전 | 다운로드 수: 6 |
답변 있음
How to set a tolerance?
The first rule of debugging: look at the data! data_1 = readmatrix('DataSet2_Test.txt') % much better than LOAD %Characterize ...
How to set a tolerance?
The first rule of debugging: look at the data! data_1 = readmatrix('DataSet2_Test.txt') % much better than LOAD %Characterize ...
18일 전 | 0
| 수락됨
답변 있음
Unexpected size change when assigning a scalar to a 0x0 matrix using (:, :) indexing
As far as I can tell this behavior is not explicitly documented. The rule seem to be something like this: if and only if all non...
Unexpected size change when assigning a scalar to a 0x0 matrix using (:, :) indexing
As far as I can tell this behavior is not explicitly documented. The rule seem to be something like this: if and only if all non...
20일 전 | 1
| 수락됨
제출됨
Custom List / Arbitrary Sequence Sort
Sort a text array into the order of custom lists / arbitrary text sequences. Sort using alphabets that are NOT in ASCII/Unicode ...
대략 1개월 전 | 다운로드 수: 6 |
제출됨
Numeric to Ordinal-String
Convert numeric values to a string array of integers with ordinal suffixes. Fully vectorized!
대략 1개월 전 | 다운로드 수: 2 |
답변 있음
Introduction to Matrix inversion and finite element analysis. Is this code right?
Yes, the code looks correct. Here is a quick sanity-check of each key piece: DOF numbering is consistent throughout: node i own...
Introduction to Matrix inversion and finite element analysis. Is this code right?
Yes, the code looks correct. Here is a quick sanity-check of each key piece: DOF numbering is consistent throughout: node i own...
대략 1개월 전 | 1
답변 있음
persistent variable from previous run is not deleted during a new run of my .m file
MATLAB is not C. The tidiest way to avoid that ugliness is to use nested functions: https://www.mathworks.com/help/matlab/matla...
persistent variable from previous run is not deleted during a new run of my .m file
MATLAB is not C. The tidiest way to avoid that ugliness is to use nested functions: https://www.mathworks.com/help/matlab/matla...
대략 1개월 전 | 2
답변 있음
How to find a rotation vector for use in rotate, if the rotation matrix is rank deficient?
You have two separate problems happening: Wrong solver for homogeneous systems: linsolve and lsqminnorm are for Ax=b with b~=0....
How to find a rotation vector for use in rotate, if the rotation matrix is rank deficient?
You have two separate problems happening: Wrong solver for homogeneous systems: linsolve and lsqminnorm are for Ax=b with b~=0....
대략 1개월 전 | 0
| 수락됨
답변 있음
problem with patch fill color
After x_outer ends at r_max·cos(el_min), your lower_line_x starts at x_inner(1) = r_min·cos(el_min), creating an implicit jump a...
problem with patch fill color
After x_outer ends at r_max·cos(el_min), your lower_line_x starts at x_inner(1) = r_min·cos(el_min), creating an implicit jump a...
대략 1개월 전 | 1
답변 있음
How to print a line of text with multiple variables
%Initial Uncalibrated Meas. p_analog_uncal = [20,40,60,80,100,120]; dV_avg_uncal = [1.246378,1.500449,1.763329,2.015415,2.29...
How to print a line of text with multiple variables
%Initial Uncalibrated Meas. p_analog_uncal = [20,40,60,80,100,120]; dV_avg_uncal = [1.246378,1.500449,1.763329,2.015415,2.29...
대략 1개월 전 | 0
답변 있음
Using timeit() in the debugger causes function speedup until edits are made
This behaviour is almost certainly due to MATLAB's JIT (Just-In-Time) engine: https://blogs.mathworks.com/loren/2016/02/12/run-...
Using timeit() in the debugger causes function speedup until edits are made
This behaviour is almost certainly due to MATLAB's JIT (Just-In-Time) engine: https://blogs.mathworks.com/loren/2016/02/12/run-...
대략 2개월 전 | 1
답변 있음
Want to know the output format of audioread of .wav file captured by hydrophone
Short Answer: the default mode is normalized (dimensionless), NOT Volts or Pascals. MATLAB's audioread in default mode reads th...
Want to know the output format of audioread of .wav file captured by hydrophone
Short Answer: the default mode is normalized (dimensionless), NOT Volts or Pascals. MATLAB's audioread in default mode reads th...
대략 2개월 전 | 1
| 수락됨
제출됨
Customizable Natural-Order Sort
Alphanumeric sort of a cell/string/categorical array, with customizable number format.
2개월 전 | 다운로드 수: 18 |
제출됨
Natural-Order Filename Sort
Alphanumeric sort of filenames or filepaths, with customizable number format.
2개월 전 | 다운로드 수: 113 |
제출됨
Natural-Order Row Sort
Alphanumeric row sort of a cell/string/categorical/table array, with customizable number format.
2개월 전 | 다운로드 수: 8 |
답변 있음
How to correct the grouping variables in splitapply ?
The error is coming from this line: weightpercentages = [app.Callingapp.Osmotisk_data.Weight_percent_best_salt_1 app.Callingapp...
How to correct the grouping variables in splitapply ?
The error is coming from this line: weightpercentages = [app.Callingapp.Osmotisk_data.Weight_percent_best_salt_1 app.Callingapp...
2개월 전 | 0
| 수락됨
답변 있음
plsrectify the error in my code
The error occurs because READTABLE returns a table object, and you cannot extract the content from a table using parentheses lik...
plsrectify the error in my code
The error occurs because READTABLE returns a table object, and you cannot extract the content from a table using parentheses lik...
2개월 전 | 1
| 수락됨
답변 있음
Restarting background data acquisition when going back - multiple mlapp files
dpb has the right idea. Using an explicit polling loop (while/pause) to watch for the closure of the child screen adds unnecessa...
Restarting background data acquisition when going back - multiple mlapp files
dpb has the right idea. Using an explicit polling loop (while/pause) to watch for the closure of the child screen adds unnecessa...
2개월 전 | 1
| 수락됨
답변 있음
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...
2개월 전 | 1
제출됨
Maximally Distinct Color Generator
Generate maximally-distinct colors in an RGB colormap.
2개월 전 | 다운로드 수: 17 |
제출됨
Interactive Regular Expression Tool
Develop and refine regular expressions in an interactive figure showing all of REGEXP's outputs.
2개월 전 | 다운로드 수: 1 |
답변 있음
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...
2개월 전 | 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...
3개월 전 | 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...
3개월 전 | 2
| 수락됨











