Community Profile

photo

Walter Roberson


Last seen: Today Active since 2011

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

Statistics

All
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • First Review
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011

View badges

Content Feed

Answered
Maintaining links to handle objects after saving to Mat file
When you load() a handle, the handle you get back is not the same as the original handle. This is the case even if the class is ...

6 hours ago | 1

Answered
how to close the previous app window when I have closed the current app window?
With difficulty. toolbox/matlab/uitools/uicomponents/components/+matlab/+ui/+internal/+controller/+platformhost/CEFFigurePlatfo...

6 hours ago | 0

Answered
Issue with addpath files
First of all, you should not addpath() an individual .m file: you should addpath() the folder that the individual .m file is ins...

6 hours ago | 0

Answered
check for integers and positive numbers
while floor(a) ~= a && a > 0 % Consider some examples: Suppose a = -2.5, then floor(-2.5) ~= -2.5 would be true so the first p...

18 hours ago | 1

Answered
Why is colormap not displaying a value of 1 as color #1?
your gb only has two values, 0 and 1. imagesc() sets the color axes bounds to min() and max() of the array, so [0 1] in this cas...

1 day ago | 0

Answered
Issue with Simulink and Arduino Nano 33 IoT
https://itp.nyu.edu/physcomp/introduction-to-the-nano-33-iot/ says that Pin 13 is Reset You might possibly be having difficulty...

1 day ago | 0

Answered
Variables of type "sym" cannot be combined with other models. Please help
The functions in the Control System Toolbox do not use the Symbolic Toolbox, and cannot be mixed with the symbolic toolbox at al...

1 day ago | 0

| accepted

Answered
Matlab Cannot find files or folders matching
outputFolder = fullfile('Project'); rootFolder = fullfile(outputFolder, 'Brain classification'); if ~isfolder(outputFolder);...

1 day ago | 0

Answered
How do I use a log scale for my colorbar in imagesc?
/matlabcentral/answers/100066-how-do-i-create-a-logarithmic-scale-colormap-or-colorbar It cannot be do...

2 days ago | 0

Answered
Error using symengine Unable to prove '2*(c1 + c2 + 1)^(1/2) == 0 & 35 < 5*c1 + 5*c2 + 5' literally.
syms c1 c2 S=50; r=15; mu=5; sigma=2; L=3; m=5; mu_ccLm=(c1+c2+(2*L)-m)*mu sigma_ccLm=((c1+c2+(2*L)-m)^0.5)*sigma ...

2 days ago | 0

Answered
Is it possible to Run 'matlab script .m' and 'simulink model .mdl' independently on same matlab software
No, not typically. Typically the speeds would be affected. But depending on the matlab code and the model and the amount of data...

3 days ago | 0

Answered
i have made a code which finds a specific value 'no' from the excel sheet but it does the job one by one. i want to automate it so it gives all values with 'no' at once.
display = find(data.ap10cl_r=="no"); The output in display will be a column vector of numeric row indices. string() of t...

3 days ago | 0

Answered
ode45 function and solver errors for reactant conversion and temperature change
xO = [FaO TO]; those are both scalars so x0 is a vector of length 2. You have two state variables. dF = zeros(4,1); ...

3 days ago | 0

Answered
filter for frame based system
yes. </help/dsp/ug/compare-speed-performance-in-frame-based-mode-using-simulink-profiler.html> has an e...

3 days ago | 1

Answered
Allowing users to open up specific images during execution of code
imagedir = uigetdir('Select an image directory'); if ~ischar(imagedir); return; end %user cancelled known_extension...

3 days ago | 0

Answered
fitswrite for uint16 array
https://fits.gsfc.nasa.gov/fits_primer.html The image pixels in a primary array or an image extension may have one of 5 suppor...

3 days ago | 0

Answered
Readtable not reading time as expected
Use detectImportOptions() on the file. Then use setvartype() to set variable 8 to datetime instead of duration. Then use setvaro...

3 days ago | 0

Answered
Unrecognized function or variable 'x'.
F = @(x)[3*x(1)*x(2) - x(1)^2 - x(2)^2 - 5; 7*x(1)^2 * x(2)^2 - x(1)^4 - x(2)^4 - 155];

3 days ago | 1

Answered
how to process .cnt and .trg file matlab
https://github.com/sccn/neuroscanio for cnt files

3 days ago | 0

Answered
How can I fix the error in my MATLAB program's objective function, which aims to optimize Simulink model parameters to match simulated data with experimental data (y_exp)?
[optimal_param, optimal_value] = fmincon(objective_function, initialRCParams, lb, ub); bat365-provided functions never look ...

3 days ago | 0

Answered
How to find the list of neighbors?
Let the array be height H and width W. Then for any given point with linear index L, the surrounding points are: (L-1-H) --> po...

3 days ago | 0

Answered
Unable to find explicit solution.
If we assume that x is a function of one variable, t, then the definite integral of an expression involving only x and constants...

3 days ago | 0

Answered
INTEL oneAPI support for linux MATLAB
"I am looking for verified solution, not for hacks ..." The verified solution is that those compilers are not supported for t...

4 days ago | 0

Answered
ERROR: FMINCON requires all values returned by functions to be of data type double.
WW_period_=@(x) 0; You are returning a function handle. You need to return a scalar numeric value instead.

4 days ago | 0

Answered
Unable to find explicit solution.
Well, let us test the hypothesis that the problem is that the same variable is on both sides: syms x(t) y(t) c K = 1072764; e...

4 days ago | 0

Answered
Self organization map (R2018b)
that error occurs if you use an old version of the toolbox with r2014b or later. You should get a newer release from <https://gi...

5 days ago | 0

Answered
Chemical reaction Rates with changing temperature
% let B = H2O2, R = H2O, T = O2, and C = I- (catalyst) % overall reaction: 2B+C -> T+2R % Key reactant is B and Key product is...

5 days ago | 0

Answered
Getting errors in the simulation code for the obstacle avoiding robot using fuzzy logics
for i = 1:length(obstacles) length(obstacles) is defined as: temp = size(obstacles); if any(temp == 0) L...

5 days ago | 1

| accepted

Answered
error in using eig built-in function
Symbolic eig() does not support generalized eigenvalues.

5 days ago | 0

Answered
Undefined function 'mtimes' in line 56
h = 100; h is numeric. M = (m/-dt)-(qdot/(dens*dx*cp))*dx-(h*dx/(dens*dx*cp))*Tinf; You do calculations with h inside the...

6 days ago | 3

| accepted

Load more