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 2021
  • Roberson Cup
  • Solver
  • First Review
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012

View badges

Content Feed

View by

Answered
How to use extractBetween command?
Do not do the regexp split until after the extraction

2 hours ago | 0

Answered
how can i fill the region inside the leaf
rgb = reshape(YourImage, [], 3); idx = kmeans(rgb, NumberOfClusters) ; labeled = reshape(idx, size(YourImage(:, :, 1)));...

3 hours ago | 0

Answered
How do I rotate a text object in a 3D plot to appear to be painted on the wall?
Use computer vision toolbox to draw the text into an array. Use warp() to texture map the array as a surface. It will now rotate...

3 hours ago | 0

Answered
How to replace an element with average of surrounding elements excluding that particular element?
If not for boundary conditions, you could use [1 1 1; 1 0 1; 1 1 1]/8 For boundary conditions, consider what happens if...

3 hours ago | 0

Answered
How to Load and Rename a txt File
use uigetfile to get the file name and directory. Check whether the file name variable is numeric: if it is then the user cancel...

3 hours ago | 0

Answered
What CNN algorithms can I use for Denoise Speech?
Data is data. You can reshape it or chop it up however you want. Deep Learning algorithms do not care whether the data was an im...

9 hours ago | 0

Answered
surf can not be drawn/how triple objective function is written in same page with ga solver?
Your question is not clear. nvars = 2; lb = [-3 -3]; ub = [3 3]; %initial population %crossover and mutation options = o...

15 hours ago | 0

Answered
Help iteration for loop and tables vertcat
Don't do this. put the tables in a cell array and use cell indexing instead of dynamic variable names.

17 hours ago | 0

Answered
Why do I receive an error in image write in the imwrite saying I cannot write jpeg file because of signed integer, appreciate it a lot, thanks.
https://petapixel.com/2014/01/22/jpeg-standard-gets-boost-will-support-12-bit-color-depth-lossless-compression/ The maximum b...

18 hours ago | 0

Answered
ode45,ODE23 , force is not a time dependent function
If you have external impulses, then none of the ode* functions can be used for the entire timespan, *unless* the forces can be i...

20 hours ago | 0

| accepted

Answered
How to include a Latex package for MATLAB Latex Interpreter to use?
There is no known way to do this for the last several years, with the exception that it is potentially possible for Report Gener...

20 hours ago | 0

| accepted

Answered
from File and if block conditions error
Transpose your mat data. Timestamps are first *row* not first column.

20 hours ago | 0

Answered
Converting string to function/number
str2sym() matlabFunction is commonly used together with str2sym()

20 hours ago | 0

Answered
I want to build simple multiply function with GUI, but every time a got an error with it, with pushbottom
rename product_Callback to Pushbutton1_Callback And next time use the facilities of Guide to rename controls so that it will ...

21 hours ago | 0

Answered
Computational Time Analysis in Simulink
There is no meaningful solution for continuous time models. Continuous time models use ode solvers that can reject steps in orde...

22 hours ago | 0

Answered
Interactive rectangle on UIAxes for user to choose a region
https://www.mathworks.com/help/images/ref/drawrectangle.html and make sure to pass in the uiaxes

22 hours ago | 0

Answered
Can you use multiple TCP/IP links in parallel on one device?
Do not kill the command prompt from within the worker, you are killing the ones created by the other workers. You should cons...

22 hours ago | 0

Answered
How can I separate the elements of a vector ?
File Exchange, run length encoding. If I recall correctly, contribution is from Jan.

23 hours ago | 0

Answered
I want it to find the solution with the Newton Raphson method with the function entered, but it gives an error and when I copy and paste the codes on another page, it pastes d
fstr = input('Fonksiyon değerini giriniz f(x):', 's'); syms x fsym = str2sym(fstr); f = matlabFunction(fsym, 'vars', ...

23 hours ago | 1

Answered
BUG: Saving plot into png changes the fontsize
Switch to https://www.mathworks.com/help/matlab/ref/exportgraphics.html

24 hours ago | 0

| accepted

Answered
Difference between debug parfor loop and run it
parfor is not always able to automatically determine which functions will be called by workers, especially if eval() or run() is...

1 day ago | 0

Answered
Getting "Unrecognized function or variable 'reshape'" error!!
reshape([1 2 3 4],:,1); Notice the : . : by itself can only appear (a) in comments; (b) in character vectors; (c) in string...

1 day ago | 1

| accepted

Answered
Unsure why heatmaps cannot be produced.
imgetfile() is part of the Image Processing Toolbox. The code would fail if you do not have that toolbox installed and licensed....

1 day ago | 0

Answered
How can I solve dimension problem? Simulink
You need to transpose the data in the file. The first row is the time stamps and rows after that are samples for that time. You ...

1 day ago | 0

Answered
How can I plot this picture!!!?
plot([x, x, repmat([x-delta,x+delta,nan],1,9)], [0, 1,.1,.1,nan,.2,.2,nan,.3,.3,nan,.4,.4,nan,.5,.5,nan,.6,.6,nan,.7,.7,nan,.8,...

1 day ago | 0

Answered
the funcion of "load" might have mistakes while loading the hexadecmial number. The hexadecimal numbers start with "0x".
https://www.mathworks.com/help/matlab/ref/load.html#btm0etn-1-filename ASCII files must contain a rectangular table of number...

1 day ago | 0

Answered
Unable to perform assignment because brace indexing is not supported for variables of this type.
data{iBlob, 1} = features.Centroid(2); data{iBlob, 2} = features.Centroid(1); data{iBlob, 3} = iBlob; data{iB...

1 day ago | 0

| accepted

Answered
Is exp() a Documented Function in the Symbolic Math Toolbox?
There is no doc for it. help sym/exp gives very brief help (nearly useless)

1 day ago | 0

Answered
where are the errors in my code? please help me!!
Your first solve() returns multiple roots. Your vpasolve() is then trying to process all of the roots at the same time . Remem...

2 days ago | 0

Answered
looping through multiple numbers
a_t(i) = A(A(:,2) > avsize(i),:);

2 days ago | 0

| accepted

Load more