回答済み
How can I replace outliers with 2 standard deviation from the mean
Can't do it with filloutliers alone; it for some reason doesn't have the facility to use a function handle as a fill option... ...

5年以上 前 | 1

| 採用済み

回答済み
How to make this function run faster
For starters, try... ... IJ=inv(J); for i = 1:2 for j = 1:2 for k = 1:2 for l = 1:2 AA = IJ*F(i,1)*F(...

5年以上 前 | 0

| 採用済み

回答済み
Generating non-repeating numbers by using a for-loop and break statement
The function doesn't return anything, though...either your original nor mine. I didn't catch that before. If the idea is to re...

5年以上 前 | 0

回答済み
Plotting a curve with just x values
Something like x=[3,3,4,5]; n=histc(x,unique(x,'stable')); v=[1:numel(n)]; m=fitlm(v,n); bar(n); xlim(xlim+[1 -1]*0.5) ho...

5年以上 前 | 1

| 採用済み

回答済み
Expected input number 2, edges, to be one of these types
W/O the Statistics TB, you'll have to resort to some other way to compute the wanted distribution quantities -- a quick look at ...

5年以上 前 | 1

回答済み
3D plot time on x-axis, data from each column on z-axis and # of column on y-axis
waterfall(T,[1:numel(T)].',UH_V) maybe?

5年以上 前 | 0

| 採用済み

回答済み
Maximum value from data
findpeaks uses more logic internally than just height; it will consider points inside the peak width as being part of the larger...

5年以上 前 | 0

| 採用済み

回答済み
How to Fit Points on a Previous Plot
If I understand what you're after from the code that doesn't quite work-- plot(pro(:,1),pro(:,2)) hold on iz=arrayfun(@(z)fin...

5年以上 前 | 0

| 採用済み

回答済み
Convert Table to Matrix
The phone rang...and Chris got back first, but my next response was to be-- opt=detectImportOptions('tex_file.txt','FileType',"...

5年以上 前 | 0

回答済み
How to Fit Points on a Previous Plot
I'm betting you're forgeting your above note that increasing depths are larger negative numbers and have something like the foll...

5年以上 前 | 1

回答済み
How can I change this code to get the line when plotting the graph? Because I tried adding commands related but still there is no line when I am running the codes
You're creating a new animatedline object every time, not adding points to the ones intended...that's not how the examples in th...

5年以上 前 | 1

| 採用済み

回答済み
I want to resize font of the power of ten of plot.
hAx=gca; hYAx=hAx.YAxis; % handle to Y axes numeric ruler object hYExpText=hYAx.NodeChildren(1); % han...

5年以上 前 | 0

| 採用済み

回答済み
How to obtain FRF if sampling frequency for INPUT and OUTPUT data is different?
You'll need to resample one or both to a corresponding time base. This will introduce some error into the estimation; if the sa...

5年以上 前 | 1

回答済み
Avoid exponential values as y-axis label in App Designer
The 'exponent' property is a property of the NumericRuler axis object, not the main axes. app.UIAxes_nomcashflow.YAxis.Exponen...

5年以上 前 | 0

| 採用済み

回答済み
How do I store data that meet conditions of an if statement
Don't need any loops nor the explicity xy array that is duplicate of existing data. data=nan(size(x,1),2); % initi...

5年以上 前 | 1

回答済み
Help with splitting data
>> datetime(extractAfter(c(contains(c,'D_')),'D_'),'InputFormat','yyyyMMdd') ans = 4×1 datetime array 29-Jul-2017 1...

5年以上 前 | 2

| 採用済み

回答済み
Reading specific lines from multiple text files
Ya' gotsa' skip the text to get to the floating point value... ... T=cell2mat(textscan(fid,'%*s%f',1,'HeaderLines',linenum-1))...

5年以上 前 | 0

| 採用済み

回答済み
creating a menu for a .MAT file.
Your data doesn't go into the menu; it is simply a selection mechanism for the user to pick a specific action; one then has to w...

5年以上 前 | 1

回答済み
How do I convert dates from excel into Matlab
tData=readtable('yourfile.xlsx','ReadVariableNames',0); tData.Properties.Variablenames={'Day','Hour','WindDir','Speed'}; tData...

5年以上 前 | 0

回答済み
How can a copy a MATLAB code into word?
See if doc publish leads to joy...

5年以上 前 | 0

回答済み
how to set different xlabels for all subplots in for loop at once?
YLABS=["Fuel/g", "time/s","distance/m", ...]; % define the ylabel strings for i=1:length(DATA1(1,:)) hAx(i)=subplot(4,4,i)...

5年以上 前 | 0

回答済み
Extract Data From Imported Excel Sheet Containing Specific Numeric Values
Rather than duplicating the same data in multiple places, use grouping variables to process the data by the desired categories/g...

5年以上 前 | 0

| 採用済み

回答済み
Improve the performance of a function based on str2double
Variations upon a theme -- this is almost 2X as fast as my previous...here it times out as just a fraction ahead of the original...

5年以上 前 | 1

回答済み
Position of two subplots with bar and plot charts
You're messing with the wrong thing -- it's xlim you want to make the same... ... figure hAx(1)=subplot(2,1,1); ...

5年以上 前 | 0

| 採用済み

回答済み
problem with 'extract' function
What do you get when you type ver at command line? extract wasn't introduced until just now in R2020b so if you have a releas...

5年以上 前 | 1

回答済み
Improve the performance of a function based on str2double
"Deadahead" solution without any attempt to use anything fancy...regular expressions are known to be expensive; I've never compa...

5年以上 前 | 1

| 採用済み

回答済み
extract data from table matlab
That's messy...that they didn't put the data into separate columns makes it rougher...almost do have to separate out the T senso...

5年以上 前 | 1

回答済み
extract data from table matlab
More than likely you don't need to actually build a new table for each; instead use grouping variables to process the column by ...

5年以上 前 | 1

| 採用済み

回答済み
Storing Live streamed data
Open a file before beginning the process and write whatever it is that is wanted...formatted data is simple to read but bulky, s...

5年以上 前 | 0

| 採用済み

回答済み
How to position a table within a figure?
You can retrieve the figure position vector from which you can get the width and height of the figure (3rd and 4th elements, res...

5年以上 前 | 0

さらに読み込む