Feeds
已回答
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...
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 days 前 | 0
已回答
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...
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 days 前 | 1
已回答
Filtering Sensor Data to Remove Temperature Ramp Effects
load SensorLog_ALLS2 %head(Tall) Tall.Properties.VariableNames=strrep(Tall.Properties.VariableNames,' ',''); % remove blanks ...
Filtering Sensor Data to Remove Temperature Ramp Effects
load SensorLog_ALLS2 %head(Tall) Tall.Properties.VariableNames=strrep(Tall.Properties.VariableNames,' ',''); % remove blanks ...
4 days 前 | 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...
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...
4 days 前 | 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...
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...
6 days 前 | 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...
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...
6 days 前 | 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...
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...
9 days 前 | 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); ...
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); ...
9 days 前 | 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...
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...
13 days 前 | 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)...
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)...
14 days 前 | 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...
"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...
23 days 前 | 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...
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...
28 days 前 | 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...
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...
29 days 前 | 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...
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...
1 month 前 | 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 ...
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 ...
1 month 前 | 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...
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...
1 month 前 | 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...
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...
1 month 前 | 0
| 已接受
提问
Report Generator Table Formatting
I have the following function that works to add the table into a defined hole in an MS Word template; the content is all as expe...
1 month 前 | 2 个回答 | 0
2
个回答已回答
Making polar plots in dB with the most negative value in the center !
<It's a FEX submission>, not Mathworks-supplied in MATLAB There's second there with the title "Polar_db" as well although I did...
Making polar plots in dB with the most negative value in the center !
<It's a FEX submission>, not Mathworks-supplied in MATLAB There's second there with the title "Polar_db" as well although I did...
1 month 前 | 0
已回答
Open Excel file read name of data file, process data file write to six different excel output data files, Repeat in a for loop
for i=1:30 open excel INPUT file read data fle names from Excel INPUT file % internal loop for j=1:6 ...
Open Excel file read name of data file, process data file write to six different excel output data files, Repeat in a for loop
for i=1:30 open excel INPUT file read data fle names from Excel INPUT file % internal loop for j=1:6 ...
1 month 前 | 0
| 已接受
已回答
Opening an excel file, writing to it and closing it does not
You're mixing high-level MATLAB sritecell with code for direct ActiveX/COM interaction with Excel. You don't need ActiveX here,...
Opening an excel file, writing to it and closing it does not
You're mixing high-level MATLAB sritecell with code for direct ActiveX/COM interaction with Excel. You don't need ActiveX here,...
1 month 前 | 1
已回答
AppDesinger Expand UI Tree Node not always working
app.ExpansionTimer = timer( ... 'StartDelay', 1.0, ... % short delay so UI event queue finishes 'ExecutionM...
AppDesinger Expand UI Tree Node not always working
app.ExpansionTimer = timer( ... 'StartDelay', 1.0, ... % short delay so UI event queue finishes 'ExecutionM...
1 month 前 | 0
已回答
q1 what will
Bode Plot The function is which -all bodeplot /MATLAB/toolbox/shared/controllib/engine/@DynamicSystem/bodeplot.m % DynamicSy...
q1 what will
Bode Plot The function is which -all bodeplot /MATLAB/toolbox/shared/controllib/engine/@DynamicSystem/bodeplot.m % DynamicSy...
1 month 前 | 0
已回答
go back to previous if condition from an elseif in for loop
opt = [1 2 3 1]; for t = 1:4 if opt(t) == 3 opt(t) = (rand()>=0.5)+1; % set state from 3 end if opt(t) == 1 ...
go back to previous if condition from an elseif in for loop
opt = [1 2 3 1]; for t = 1:4 if opt(t) == 3 opt(t) = (rand()>=0.5)+1; % set state from 3 end if opt(t) == 1 ...
1 month 前 | 0
已回答
Export setup style replacement
It is irrevocable that Mathworks is committed to the new desktop going forward for good or bad.. That said, submit complaints...
Export setup style replacement
It is irrevocable that Mathworks is committed to the new desktop going forward for good or bad.. That said, submit complaints...
1 month 前 | 0
| 已接受
已回答
HAR using sensor data
https://www.mathworks.com/matlabcentral/answers/2007577-how-i-can-find-the-humanactivitydata-data-set-contains-over-380000-obser...
HAR using sensor data
https://www.mathworks.com/matlabcentral/answers/2007577-how-i-can-find-the-humanactivitydata-data-set-contains-over-380000-obser...
1 month 前 | 0
已回答
How to monitor and control arduino based drone through matlab ?
arduino from the R2025b doc.has <link to supported hardware with capabilities table>
How to monitor and control arduino based drone through matlab ?
arduino from the R2025b doc.has <link to supported hardware with capabilities table>
1 month 前 | 0
已回答
How to import data To Matlab
OK, one more iteration -- I cleaned up the input section significantly and added the ability to choose between the original idea...
How to import data To Matlab
OK, one more iteration -- I cleaned up the input section significantly and added the ability to choose between the original idea...
2 months 前 | 1
| 已接受
已回答
How to import data To Matlab
OK, I had a little time once discovered there was code already there and not just starting from the description. I recast initi...
How to import data To Matlab
OK, I had a little time once discovered there was code already there and not just starting from the description. I recast initi...
2 months 前 | 1
已回答
Why does first calling the function radon and then iradon on the result produce extra rows and columns?
The doc for iradon has the optional input 'OutputSize' which states that if not specified the reconstruction size is calculated ...
Why does first calling the function radon and then iradon on the result produce extra rows and columns?
The doc for iradon has the optional input 'OutputSize' which states that if not specified the reconstruction size is calculated ...
2 months 前 | 0








