回答済み
Trying to normalize a matrix across all element values.
M=[ 0 54 70 67 18 13 100 18 0 0 89 67 20 37 47 99 0 0 0 38 20 ...

約2ヶ月 前 | 0

| 採用済み

回答済み
How to keep formatting when cutting and pasting to office
The MATLAB command display is a console window while by default Outlook uses HTML. There is no control over the command window ...

約2ヶ月 前 | 0

回答済み
Dealing with Duration format
Just as an alternative to reformat the duration string -- uses a regexrep expression to do the character substitution (yes, I ha...

約2ヶ月 前 | 0

回答済み
My matlab keeps crashing during lanch after i updated suggested updates recently. I keep seeing the app running in the task manager but it never opens in the desktop.
Contact Mathworks at <Product Support Page> -- during normal business hours, call directly and they generally can walk through s...

約2ヶ月 前 | 0

回答済み
Hi Someone please help me , how to use if or while condition with in for loop which contains the condition of integer value
Where did you have a problem, specifically? Show us what you tried and explain more fully what you are trying to accomplish. I...

約2ヶ月 前 | 1

回答済み
Timetables not fully supported by plot tools?
The issue isn't with the timetable itself but in the extensions added to the plotting figure haven't been updated to include the...

約2ヶ月 前 | 0

| 採用済み

回答済み
Saving a matrix with a variable that could take any value
The matrix is undefined unless and until L is defined -- barring symbolic variable. The easiest solution it would appear would ...

2ヶ月 前 | 1

回答済み
Legend on bar chart with two y-axis on UIAxes
The problem is that in order to use the 'grouped' option on the two axes you had to introduce the column of NaN so bar would off...

2ヶ月 前 | 0

| 採用済み

回答済み
Plotting two x axis in one plot, but both at the bottom.
Had a revelation -- the above to create the two axes can be much easier with subplot or tiledlayout. We'll use the venerable su...

2ヶ月 前 | 0

回答済み
Error in close calculation and plotting
That code could never have worked as is if detrend_correl_07_slope_1 was a table. You used the .id variable dot referencing ear...

2ヶ月 前 | 0

| 採用済み

回答済み
Reading in Numerical Data from a Text File
d=dir('*.txt'); % get long name easily l=readlines(d.name); % read as text so [l(1:10); l(e...

2ヶ月 前 | 1

回答済み
Changing the brush color using a color picker - different format
Depends just slightly on whether you want to be able to set the alpha value other than the default 1...this is a good applicatio...

2ヶ月 前 | 0

| 採用済み

回答済み
Creating a Input dlg with the current Format type, with variable number of entries
clfmt=compose('bank',1:cols) is bad syntax. The definput argument must be either a cellstr or string array; for the constant...

2ヶ月 前 | 0

| 採用済み

回答済み
How to use a variable in the mex compiling code sentence?
function mymex(file) % build and execute mex for given input file cmd="GCC='/usr/bin/gcc-11' -I/usr/local/include -L/usr/loc...

2ヶ月 前 | 1

回答済み
How to graph a number line with an interval or ray shown on it?
Nothing like that exists in MATLAB handle graphics and nothing can be drawn in MATLAB other than into a figure axes, so it's unl...

2ヶ月 前 | 1

回答済み
Filtering Sensor Data to Remove Temperature Ramp Effects
load SensorLog_ALLS2 %head(Tall) Tall.Properties.VariableNames=strrep(Tall.Properties.VariableNames,' ',''); % remove blanks ...

2ヶ月 前 | 0

回答済み
How can I calculate the Variance Inflation Factor (VIF) for a linear regression model
That is a very peculiar response from a MathWorks staff person, indeed. stepwiselm documentation doesn't support the use of the...

2ヶ月 前 | 0

回答済み
Writing data to multiple Excel ranges
"...solutions with native MATLAB code, or using the Excel .NET interface." OK, I got curious enough to go looking -- I had prev...

2ヶ月 前 | 0

回答済み
Axes are a different colour from lines plotted using the same Hex values
figure yyaxis left plot((5:15), sin((5:15)/5), 'Linewidth', 2, 'color', [0.2627 0.3882 0.8471]) % blue hex yyaxis right plot...

2ヶ月 前 | 1

回答済み
Writing data to multiple Excel ranges
I don't think the MATLAB functions actually leave the file open but the time between successive calls to the same file may be fa...

3ヶ月 前 | 0

| 採用済み

回答済み
Save data in a double for loop with different dimensions
Guessing the intent; it isn't totally clear what the expected result would be, but in ... for i=1:1:length(A) A=A(i); ...

3ヶ月 前 | 0

| 採用済み

回答済み
Adding a class-related function to appdesigner app
Not that I am aware of or can see an undocumented way -- the closest it allows are private methods that can serve the same purpo...

3ヶ月 前 | 0

| 採用済み

回答済み
fitlm returns pvalues equal to NaN without zscoring
d=dir('median*.mat'); % load the files w/o having to type a zillion characters... for i=1:numel(d) load(d(i).name)...

3ヶ月 前 | 1

| 採用済み

回答済み
"diff" function doesn't work properly with small numbers
X=[ 36 1023.08766260000 37 1023.03861350000 38 1023.01522350000 39 1023.01522350000 40 1022.96080630000]; dx=diff(X) As...

3ヶ月 前 | 0

回答済み
Matalb compiled App crash on plotting while code version runs correctly
This can be a bear, indeed... The first place to look is to be sure you can find any input files needed; figuring out where the...

3ヶ月 前 | 0

| 採用済み

回答済み
How do I generate a multi-page word document using report generator
@Chris, I know this is way too late to do you any good on the actual question, but figured it would be good content for somebody...

3ヶ月 前 | 0

回答済み
Opening an excel file, writing to it and closing it does not
You don't still have some old ActiveX processes hanging around from having crashed Excel when you were trying to use it, by an...

3ヶ月 前 | 0

回答済み
Is There an Inconsistency with How Unassigned Values are Filled After an Assignment into a Table?
It's identically the same as the assignment to the end of a numeric vector or array. x(3)=5 Using the syntax clear x % just ...

3ヶ月 前 | 0

| 採用済み

回答済み
Editor window jumps around when dropping a file to be opened
This undoubtedly is related to the new desktop. Submit such issues officially at <Product Support Page>. Answers isn't an offi...

3ヶ月 前 | 0

回答済み
After creating a folder structure and .m file, I want to write to the file, but the fid keeps coming back as -1. What should i be doing that I'm not?
file = fullfile(outputFilePath, outputFileName); mkdir(file); You created the directory with the fully qualified file name, no...

3ヶ月 前 | 0

| 採用済み

さらに読み込む