Walter Roberson
I do not do free private consulting. If you want to bring my attention to something, send a link to the MATLAB Answers location. I am currently caught up to T0099119; if you are waiting on a reply from me for an older issue, please send me a reminder.
Programming Languages:
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English
統計
All
Feeds
回答済み
Loading hex values from a file vs executing .m file that contains same values
It's a bug. It is processing all d and D as if they were e
Loading hex values from a file vs executing .m file that contains same values
It's a bug. It is processing all d and D as if they were e
約2時間 前 | 0
回答済み
How do I set a read-only class to a specific value
No, there is not. And if there was a way, setting the NumBytesAvailable would confuse the system because it would either lose tr...
How do I set a read-only class to a specific value
No, there is not. And if there was a way, setting the NumBytesAvailable would confuse the system because it would either lose tr...
約3時間 前 | 0
回答済み
Why I am not able to open openExample('simscapefluids/ElectricVehicleThermalManagementExample') ?
If you are using an older version of MATLAB, you might need to use sscfluids_ev_thermal_management The example was renamed in ...
Why I am not able to open openExample('simscapefluids/ElectricVehicleThermalManagementExample') ?
If you are using an older version of MATLAB, you might need to use sscfluids_ev_thermal_management The example was renamed in ...
約3時間 前 | 0
回答済み
HDL Coder Error: HDL code generation does not support variable-size matrix type.
temp_slice(1:16-b+1) = temp(b:16,b); % You do not declare temp_slice before use, so you are growing it within a loop, which...
HDL Coder Error: HDL code generation does not support variable-size matrix type.
temp_slice(1:16-b+1) = temp(b:16,b); % You do not declare temp_slice before use, so you are growing it within a loop, which...
約18時間 前 | 0
回答済み
running matlab exe file results in "Too many input arguments. MATLAB:TooManyInputs error"
You need function main_file(varargin) When you compile an executable, command line arguments are passed as parameters to the m...
running matlab exe file results in "Too many input arguments. MATLAB:TooManyInputs error"
You need function main_file(varargin) When you compile an executable, command line arguments are passed as parameters to the m...
1日 前 | 1
回答済み
Excel headers with symbols
You have to either code the symbols as character constants or else code the unicode to create the symbols. C = [Tag + "_" + L...
Excel headers with symbols
You have to either code the symbols as character constants or else code the unicode to create the symbols. C = [Tag + "_" + L...
1日 前 | 0
| 採用済み
回答済み
Received this error, not sure how to fix
M=1:2:11; N=1:2:11; those are length 6 for i=1:length(M) for j=1:length(N) for mi=1:i for ni=1+j ...
Received this error, not sure how to fix
M=1:2:11; N=1:2:11; those are length 6 for i=1:length(M) for j=1:length(N) for mi=1:i for ni=1+j ...
1日 前 | 0
回答済み
Create contour plot from scatter plot
See https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data
Create contour plot from scatter plot
See https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data
1日 前 | 0
回答済み
Can function [s,h] = silhouette(X, clust, distance, varargin) be run using parfor (parallel computation)?
Sorry, you cannot accelerate it using parallel computation.
Can function [s,h] = silhouette(X, clust, distance, varargin) be run using parfor (parallel computation)?
Sorry, you cannot accelerate it using parallel computation.
1日 前 | 0
回答済み
error in concatenating cells
ft_epoch = cell2mat(reshape(ftData728178E.trial, 1, 1, [])); However, if what you are already doing creates NaN then it means...
error in concatenating cells
ft_epoch = cell2mat(reshape(ftData728178E.trial, 1, 1, [])); However, if what you are already doing creates NaN then it means...
2日 前 | 0
回答済み
What does it mean "/Multiple" after variable name in *.mat file?
The .mat file has been created by an external program not using the official Application Programming Interface. The variable nam...
What does it mean "/Multiple" after variable name in *.mat file?
The .mat file has been created by an external program not using the official Application Programming Interface. The variable nam...
2日 前 | 0
回答済み
Support for NVIDIA RTX A1000
The RTX A1000 has compute capacity 8.6 according to several sites I check. As such, the Parallel Computing Toolbox should be ab...
Support for NVIDIA RTX A1000
The RTX A1000 has compute capacity 8.6 according to several sites I check. As such, the Parallel Computing Toolbox should be ab...
2日 前 | 0
| 採用済み
回答済み
Error in AWGN Using Integers or scalar doubles
lenna = imread('lenna.png'); the result is almost certainly a uint8 matrix. lenna_gray = rgb2gray(lenna); rgb2gray() of a uin...
Error in AWGN Using Integers or scalar doubles
lenna = imread('lenna.png'); the result is almost certainly a uint8 matrix. lenna_gray = rgb2gray(lenna); rgb2gray() of a uin...
2日 前 | 0
回答済み
how to convert text file as it was written .m file to call functions?
SS = fileread(NAME_OF_FILE); eval(SS)
how to convert text file as it was written .m file to call functions?
SS = fileread(NAME_OF_FILE); eval(SS)
2日 前 | 0
回答済み
Error using lassoglm>glmProcessData
If you are passing in Weights, at least one weight must be positive. Otherwise: you need at least one row of X to contain finit...
Error using lassoglm>glmProcessData
If you are passing in Weights, at least one weight must be positive. Otherwise: you need at least one row of X to contain finit...
2日 前 | 0
回答済み
not enough input arguments
You are trying to run the function by pressing the green Run button. When you run the function by pressing the green Run button,...
not enough input arguments
You are trying to run the function by pressing the green Run button. When you run the function by pressing the green Run button,...
3日 前 | 0
回答済み
How to run all the image with format jpg in folder? and save into folder?
dinfo = dir('*.jpg'); filenames = fullfile({dinfo.folder}, {dinfo.name}); nfiles = length(filenames); magnificationFactor = 1...
How to run all the image with format jpg in folder? and save into folder?
dinfo = dir('*.jpg'); filenames = fullfile({dinfo.folder}, {dinfo.name}); nfiles = length(filenames); magnificationFactor = 1...
3日 前 | 0
| 採用済み
回答済み
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
The output of predict(Model2,TeDat_r) will be a vector with the same number of rows as TeDat_r has. But TeDat_r is undefined her...
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
The output of predict(Model2,TeDat_r) will be a vector with the same number of rows as TeDat_r has. But TeDat_r is undefined her...
3日 前 | 0
回答済み
volume calculation from the DelaunayTri(x,y,z) function
DT = DelaunayTri(x,y,z); [~, Volume] = convexhull(DT);
volume calculation from the DelaunayTri(x,y,z) function
DT = DelaunayTri(x,y,z); [~, Volume] = convexhull(DT);
3日 前 | 0
回答済み
Data fiting in Matlab
You have a missing ) in Ypluss . I had to guess about where it goes. y_data = %... U_data = %... B_data = %... mu_data = %.....
Data fiting in Matlab
You have a missing ) in Ypluss . I had to guess about where it goes. y_data = %... U_data = %... B_data = %... mu_data = %.....
4日 前 | 0
| 採用済み
回答済み
How to get map information from jp2 images ?
You need to run an external program that reads EXIF information from the file... and hope that the information is recorded in th...
How to get map information from jp2 images ?
You need to run an external program that reads EXIF information from the file... and hope that the information is recorded in th...
4日 前 | 0
回答済み
How to use Matlab to get georeferencing information of a JP2 image?
You need to run an external program that reads EXIF information from the file... and hope that the information is recorded in th...
How to use Matlab to get georeferencing information of a JP2 image?
You need to run an external program that reads EXIF information from the file... and hope that the information is recorded in th...
4日 前 | 0
回答済み
Stop an app designer callback thread like the debugger does?
"It is evident that whenever the user clicks a button in an app designer app, the callback is called in a new thread." No, the ...
Stop an app designer callback thread like the debugger does?
"It is evident that whenever the user clicks a button in an app designer app, the callback is called in a new thread." No, the ...
4日 前 | 0
回答済み
Warning: Variable appears to change size on every loop iteration (within a script). Consider preallocating for speed.
power = zeros(k, 3); cst = zeros(k, 4); before the while loop.
Warning: Variable appears to change size on every loop iteration (within a script). Consider preallocating for speed.
power = zeros(k, 3); cst = zeros(k, 4); before the while loop.
4日 前 | 0
回答済み
can image tiff convert to grayscale
zipname = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/1674421/sample.zip'; tfile = fullfile(tempdir(), 'sam...
can image tiff convert to grayscale
zipname = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/1674421/sample.zip'; tfile = fullfile(tempdir(), 'sam...
4日 前 | 0
| 採用済み
回答済み
automatic change in variable's value during optimisation
You do not do that. It is a truism that during any one call to the optimization routine, that given any particular set of trial ...
automatic change in variable's value during optimisation
You do not do that. It is a truism that during any one call to the optimization routine, that given any particular set of trial ...
4日 前 | 0
| 採用済み
回答済み
How would I properly go about creating this function?
l = 70*12; %length maxHeight = 12; %maximum height of beam maxWidth = 10; %maximum width of beam minHeight ...
How would I properly go about creating this function?
l = 70*12; %length maxHeight = 12; %maximum height of beam maxWidth = 10; %maximum width of beam minHeight ...
4日 前 | 1
| 採用済み
回答済み
wait for several system calls to finish
You have to use taskmgr (Windows) or ps (MacOS or Linux) to detect whether the processes are still alive. Note: If you are usin...
wait for several system calls to finish
You have to use taskmgr (Windows) or ps (MacOS or Linux) to detect whether the processes are still alive. Note: If you are usin...
4日 前 | 0
| 採用済み
回答済み
How to use enviwrite in matlab?
A compatible envirwrite is at https://github.com/akayasse/ENVI-read-and-write-for-MATLAB
How to use enviwrite in matlab?
A compatible envirwrite is at https://github.com/akayasse/ENVI-read-and-write-for-MATLAB
4日 前 | 0