統計
Feeds
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
4日 前
送信済み
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 ...
6日 前 | ダウンロード 70 件 |
送信済み
Maximally Distinct Color Generator
Generate maximally-distinct colors in an RGB colormap.
11日 前 | ダウンロード 2336 件 |
How do I reliably extract the date from a string, given that it could be in a number formats and positions?
C = {'368446-SN.24260046-12.08.2026';... '368446-SN.24260046-12.08.26';... '368446-SN.24260046.12-08.26'}; tkn = re...
16日 前 | 0
| 採用済み
Extract individual member fields from h5 file
Inspect the HDF5 layout What does Group actually point to? info = h5info(filename, Group) Look carefully at: info.Datatype ...
18日 前 | 0
| 採用済み
I cant evaluate an expression after integrating using the symbolic toolbox
The main issue is that eval is not the correct way to convert symbolic expressions to numeric values. For symbolic results, use ...
19日 前 | 1
| 採用済み
How can i merge three mat.fig in a single figure as subplots which has multiple axis
The error get thrown because each .fig contains more than one axes object, so ax2 is not a scalar. When you write: ax2.Layout.T...
19日 前 | 0
str2double function for HEX values
C = {'0.123', '0x1a', '0x1A', '0xAB', '0X1a', '0x1e', '12.5'}; V = cellfun(@convertValue, C) function val = convertValue(t...
約1ヶ月 前 | 1
| 採用済み
Question about simscape.getLocalSolverFixedCostInfo returning MaxIterations = -1
Your understanding is basically correct, but there is an important distinction between: The fixed-cost local solver analysis pe...
約1ヶ月 前 | 0
How to use eval(sprintf) without padding?
filename = 'bis_trodes - Copy.txt'; % Read the text file as whitespace-delimited data. % This handles spaces and tabs between ...
約1ヶ月 前 | 0
Help with Saving a Matrix After Each Loop in a For Loop
The 18 matrices correspond to the 18 combinations of ii = 1:6 and kk = 1:3. Therefore, the separate jj loop is unnecessary. Inst...
約1ヶ月 前 | 0
| 採用済み
writecell produces two cells when Range is a sigle cell
Try this: Rng = sprintf('%1$s%2$d:%1$s%2$d', ColmnName{jj}, irow); writecell(Cost, fnameout, 'Sheet', 1, 'Range', Rng); Learn...
約1ヶ月 前 | 0
| 採用済み
What exactly does ε represent in numerical computing
Epsilon is just a letter. Like all letters, epsilon can mean lots of different things, just like the letters "alpha" and "gamma"...
約1ヶ月 前 | 0
Regression Learner App. Model Performance
You are probably not doing anything wrong. The confusion comes from the fact that the Regression Learner App reports multiple pe...
約2ヶ月 前 | 0
| 採用済み
How to ensurethat the sum([0.7 0.2 0.1])==1 return true when testing equivalence relation
"I think the error is caused by the floating number representation error, what is the best practice to compare two floating numb...
約2ヶ月 前 | 2
| 採用済み
送信済み
Daltonizer for Color Vision Deficiency
Simulate and Daltonize Images for Color Vision Deficiency (CVD/colorblind)
約2ヶ月 前 | ダウンロード 22 件 |
Command fscanf does not read zero
This looks correct to me: fid = fopen('test.txt','rt'); mat = fscanf(fid,'%f',[6,Inf]).' fclose(fid); For comprison: type t...
2ヶ月 前 | 0
送信済み
Fun Number Facts
A simple GUI which displays fun, interesting, and (occasionally) thought-provoking number facts. For entertainment purposes only...
2ヶ月 前 | ダウンロード 7 件 |
datetime format with T time demarcation
dt1 = datetime(2023,8,1,11,07,56, "Format","yyyy-MM-dd'T'HH:mm:ss") dt2 = dt1 + minutes(1)
2ヶ月 前 | 0
When does distributing data improve computation time over overhead expense?
Let’s break your three questions down clearly. 1) Yes, syntactically and conceptually, your usage is correct. However, correctn...
2ヶ月 前 | 1
| 採用済み
Overwriting table columns with ()-indexing
I supect that the cause is consistency of behavior. Consider your example but not replacing the entire column, but only from one...
3ヶ月 前 | 1
| 採用済み
Why can't I use "end-2:end" for the meaning of last 2 columns?
"Why can't I use "end-2:end" for the meaning of last 2 columns?" Because that specifies the last three columns. The last two co...
3ヶ月 前 | 2
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 ]...
3ヶ月 前 | 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,...
3ヶ月 前 | ダウンロード 3394 件 |
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...
3ヶ月 前 | 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...
3ヶ月 前 | 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...
3ヶ月 前 | 0
| 採用済み
送信済み
Number to Words
Convert a numeric to a string with the English name of the number value (GB/IN/US).
3ヶ月 前 | ダウンロード 2594 件 |
送信済み
Words to Number
Convert English number name/s written in a string to numeric value/s (GB/IN/US).
3ヶ月 前 | ダウンロード 696 件 |
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 ...
3ヶ月 前 | 0
| 採用済み











