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.

Statistics

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

View badges

Content Feed

View by

Answered
integrating a function using int
Use the techniques I show at https://www.mathworks.com/matlabcentral/answers/890822-how-can-i-integrate-a-function-which-has-thr...

6 hours ago | 0

Answered
how to convert analog signal to bit stream
That is not an analog signal. An analog signal is created by outputing to a hardware device. What you have is a digital signal. ...

6 hours ago | 0

Answered
Save results data to a new table each loop iteration
All_T_Departures = cell(s, 1); for i = 1 : s stuff All_T_Departures{i} = T_Departures; end If you want, at this poi...

7 hours ago | 0

| accepted

Answered
Geoscatter plot with different colors
dot_color = repmat([1 0 0], length(Lock), 1); dot_color(Lock == 3, :) = [0 0 1]; lat = y; long = x; pointsize = 20; scatterm...

8 hours ago | 0

Answered
Split column in table based on character
S = "51∞ 13' 51,6""" str2double(regexp(regexprep(S, ',', '.'),'[\d.]+', 'match')) Is it possible for + or - to appear? How is ...

8 hours ago | 0

| accepted

Answered
Data dimensions must agree error
x and y coordinates for surf() must be either vectors or 2 dimensional, never 3 dimensional. If you have 3 independent variable...

8 hours ago | 0

Answered
how can i integrate a function which has three variables but has to integrate it with respect to only one variable
You do not seem to be able to find a closed form solution with symbolic d or e. Your ilaplace() involves the sum of an expressi...

8 hours ago | 0

Answered
How to replace spaces with underscores in all variable names of a table?
X.Properties.VariableNames = regexprep(X.Properties.VariableNames, ' ', '_'))

9 hours ago | 1

Answered
My function creates a high oscillating unusual plot
The summary of the below investigation is that what you are observing appears to be a bug or limitation in MATLAB. It might be ...

12 hours ago | 0

| accepted

Answered
how do i write this in matlab?
x = sym("x" +(0:10)); syms X E = subs(euler(0:10,X),X,x(:));

14 hours ago | 0

| accepted

Answered
If I buy Matlab and Simulink Student Suite can I instal MatlabBGL library?
MatlabGBL appears to be a (free) File Exchange contribution. I am not aware of any reason that it could not be used by a Student...

18 hours ago | 0

Answered
Is there anyway to Re-grid one dataset to another dataset resolution without interpolating??
origLon=-178.5:3:178.5; origLat=-89:2:89; norlon = length(origLon); norlat = length(origLat); A = rand(norlon,norlat); newLon...

18 hours ago | 0

Answered
Fsolve says 'equation solved at initial point' -- how to fix?
Your xout only involves 544 of the 562 variables. To establish this, change xss = cell2mat(xss); to xss = horzcat(xss{:}); ...

19 hours ago | 0

Answered
convert from Matlab to equation (formula)
syms Y3 [1 5] syms GOD [1 5] for j=1:numel(Y3) if j==1 GOD(j)=Y3(j); else ...

19 hours ago | 0

| accepted

Answered
can we use particleswarm for matrices?
No. Each array element output would be an "objective", but particleswarm() is strictly single objective. You would have to retu...

1 day ago | 0

Answered
how to find minimum of discontinuous symbolic function
%parameters for a capped cylinder centered on z axis R = 0.5; %radius of sphere r = 0.5; %radius of cylinder L = 3; %length o...

1 day ago | 0

| accepted

Answered
can anyone help me run this, or get this running
format long e n=10 ; syms c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 t r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 c0=0; c1=1/11; c2=...

1 day ago | 0

| accepted

Answered
Kindly tell me if the code (MTPA) is wrong for calculating MTPA curve
MATLAB does not use 'RIGHT SINGLE QUOTATION MARK' (U+2019) ’ character: it uses apostrophe U+0027 ' 0+char("'") 0+char("’")

1 day ago | 0

Answered
HOW TO CALCULATE THE TOTAL COUNTS PIXEL USING BINARIZE
total_counts = sum(T1.Area) mean_count = mean(T1.Area) max_count = max(T1.Area)

1 day ago | 0

| accepted

Answered
How do I display numeric values in a struct?
format long g syms m F1 F2 l a1 a2 %Equations eqn1 = F1 + F2 -9.81*m == 0; eqn2 = a1 + a2 - l == 0; eqn3 ...

1 day ago | 0

Answered
find mpg of lightest car
When you load data into the base workspace like you do, then the variable cars will not be sured with the inside of the function...

1 day ago | 0

Answered
roots finding using muller method
Your program only ever tries to find one root. You have a while loop, but that while loop is only dealing with one root. You ha...

1 day ago | 0

Answered
Write a function that checks whether an element occurs in a list.
function Checking(x) if ismember(x, [1,3,5,8,9]) disp('It is an element') else disp('Not an element') ...

2 days ago | 1

Answered
Why is my nested if statement is not working.
elseif (80 <= mark1 < 90) As far as MATLAB is concerned, that means the same as elseif all((80 <= mark1) < 90, 'all...

2 days ago | 0

Answered
How to read .m4a and .wv audio file formats in matlab 2015b ?
R2015b did not directly support reading .m4a files on MS Windows -- only on Linux and Mac. It did, however, say that files sup...

2 days ago | 0

| accepted

Answered
the absolute bleed edge fastest way to strip out bits from 4 bytes of hex
The absolute top dog in speed is to have (y-x+n-m+2) different 8 dimensional lookup tables, each of which is (102 x 102 x 102 x ...

3 days ago | 0

Answered
How to check the symbolic engine of matlab2018?
If you are trying to determine whether you are using maple based symbolic toolbox or the MuPad based one then you cannot use sym...

3 days ago | 0

Answered
Obtain 2x2 regions in an image using sliding window
If all you are doing is "observing" the pixels, then a double-nested loop is probably easiest; the time taken to "observe" them ...

3 days ago | 1

| accepted

Answered
How can I execute the “sound” function in matlab and then execute the rest afterwards? (Blocking)
sound() cannot be made blocking. In your situation, if you have the DSP toolbox then dsp.AudioDeviceWriter https://www.mathwork...

3 days ago | 0

| accepted

Answered
fsolve residue almost zero error, I calculate and find errors
I speculate that you have format short in effect (because it is the default), and that you are taking the 4-decimal-place res...

3 days ago | 0

Load more