Community Profile

photo

Walter Roberson


43 950 total contributions 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.

Contact

Walter Roberson's Badges

  • 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
  • Thankful Level 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Ploting stack of matrices
If you have x being a 100 x 1 matrix, and y being as 100 x 4 x 4 matrix, then plot(x, reshape(y, size(y,1), [])) This would cr...

environ 5 heures ago | 0

Answered
ode45 error **help please**
ode45(@ex3_2ndorder, stuff You probably left out the @

environ 7 heures ago | 0

Answered
I don't have function "deeplabv3plusLayer" in Matlab 2019a
It was introduced in R2019b

environ 7 heures ago | 0

Answered
Where does the getappdata() function save its data?
getappdata returns its output as regular output, same as a+b returns its output. You would want to store the output or use it in...

environ 9 heures ago | 0

Answered
What function fits my data...?
There are an infinite number of functions that explain your data perfectly to within rounding error. It would be the infinity of...

environ 9 heures ago | 0

Answered
Tilde character underneath a letter in Matlab charts
If you do not need latex then use 'a' followed by U+0330. Unicode can be used for interpreter none or tex

environ 14 heures ago | 0

Answered
Create a function that is the sum of an arbitrary number of functions
@(t) sum(cellfun(@(H) H(t), Bi))

environ 15 heures ago | 0

Answered
different version of MATLAB same license server
Yes. Each license server can serve licenses for any older version. Also, each license for a particular version is also valid ...

environ 15 heures ago | 0

Answered
implement first kind bessel function
Not exactly. Although -J1 is the derivative of J0, that does not mean that J1 = -besselj(1,x), it means that J1 = besselj(1,x) a...

environ 16 heures ago | 1

| accepted

Answered
What is the best syntax to use for dVph/dλ?
No, if you are working numerically use gradient() If you are working symbolically then diff(Vph(lambda), lambda)

environ 17 heures ago | 0

Answered
Exported formulas on excel sheets resulted in text which would not be evaluated automatically
That post does not say that the formulas will be executable once written by xlswrite. None of the table based operations such...

environ 17 heures ago | 0

Answered
Using broadcasting array variable values as indexes
In that code you cannot eliminate the broadcast variables. If the arrays are large then there could potentially be a fair ove...

environ 18 heures ago | 0

| accepted

Answered
Simulink Fixed Point vs Fixed point toolbox
https://www.mathworks.com/help/simulink/fixed-point.html Simulation with fixed point requires the Fixed Point Designer Toolbo...

environ 18 heures ago | 0

Answered
How can I pass variables to eval without error suppression ?
sprintf('%g', a, b); This will not work for non-numeric variables.

1 jour ago | 0

Answered
directed diffusion routing algorithm using matlab
Okay, go ahead. Let us know if you encounter any error messages you do not understand.

1 jour ago | 0

| accepted

Answered
How to replace complex numbers in a column vector with 0.000+0.000i ?
Supposing the values are stored in fft_A then fft_A(2:4) = 0; is enough. When you display fft_A afterwards you will see the c...

1 jour ago | 0

| accepted

Answered
Why is the length of these two variables are different?
You do not truncate ACCN down to length c. ACCN had been 11 long because of the previous iterations; now only 10 are needed but ...

1 jour ago | 1

| accepted

Answered
How to maintain NaN after calculations in tables?
T.new(rows) = T.height(rows); nanrows = isnan(T.Age); T.new(nanrows) = nan;

1 jour ago | 0

| accepted

Answered
How to pad empty cells with the last number in the row?
FirstN = @(v,N) v(1:N); PadLastN = @(v,N) FirstN([v, repmat(v(end),1,N)],N); WS = cellfun( @(C) PadLastN(C, maxLengthCell), ...

1 jour ago | 1

| accepted

Answered
Replacing 0 with 8 in Identity Matrix
x(~x) = 8;

1 jour ago | 0

Answered
Finding Complex root for the nonlinear equation with single variable
There is no fzero() command that can work. You have a vector of 3 equations that are inconsistent with each other. And if you we...

1 jour ago | 0

Answered
Adding Hexadecimal numbers?
If there is a possibility that the user might enter hex values with more than 53 significant bits then you should use sscanf wit...

1 jour ago | 1

Answered
how to sum all pixel within a specific distance from each pixel?
conv2 with a mask that is 1 for each pixel to be considered. The exact pattern will depend on which distance measurement you wan...

1 jour ago | 0

Answered
Can Matlab distinguish between meaningful and meaningless strings?
The field of study of rigorously distinguishing between "meaningful" sentences and those that are not, is called Logical Positiv...

1 jour ago | 0

Answered
Could anyone suggest me is there any way of choosing maximum and minimum values together
https://www.mathworks.com/help/matlab/ref/bounds.html [A_min, A_max] = bounds(A)

2 jours ago | 2

Answered
How can I insert a smaller ones matrix into a larger zeros matrix?
A(starting_row : ending_row, starting_column : ending_column) = constant_to_fill_with * ones(number_of_rows, number_of_columns);...

2 jours ago | 0

Answered
How can I fix this code?
fprintf('%-15s%-12s\n', 'PRICE', 'QUANTITY'); fprintf('%-15.2f%-12f', pq1, pq2); This likely to be disconcerting to the users,...

2 jours ago | 0

Answered
How can I save just the values of a structure in a .mat file?
I would like to be sure that I understand what you are asking. You have two structures that happen to have 5 fields each. You w...

2 jours ago | 0

Answered
How to turn NaN values in only numerical columns into -999?
fillmissing(T1,'constant',{-999,-999,-999,'NaN'}) Note that this will use the character vector 'NaN' (three characters) in plac...

2 jours ago | 0

Answered
Finding Complex root for the nonlinear equation with single variable
Your function returns three outputs for each input y, and the three outputs each have two complex solutions. There is no single ...

2 jours ago | 0

Load more