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

View by

Answered
Is it possible to call parfeval from within a parfor loop
No, that is not possible. See https://www.mathworks.com/matlabcentral/answers/1904941-dual-parfor-from-different-scripts#answer...

ungefär 13 timmar ago | 0

Answered
How can I make my 'x' matrix in scatterplot in 2 different colors??
scatter() can take information about color in the 4th parameter. The color information can be set per-point. xdata = repmat(Tem...

ungefär 14 timmar ago | 1

Answered
How can I make my 'x' matrix in scatterplot in 2 different colors??
A different approach would be to use gscatter xdata = repmat(Temp, 5, 1); ydata = [Bin1; Bin2; Bin3; Bin4; Bin5]; g = 2 * one...

ungefär 14 timmar ago | 1

Answered
Save each loop from getfield command
It is not clear to me why you are using that getfield instead of ffextract = fftrials{1,1}(1,n).df; You have for n=1:size(fft...

ungefär 14 timmar ago | 0

Answered
combine the string and number
Are you referring to combine for augmented image data store? If so then each element you combine, such as bldsTrainT, must be a...

ungefär 19 timmar ago | 1

| accepted

Answered
Efficient code for multiple string replace
If you are going to write something like that, then you should write it in the clearest way you can come up with, because you ar...

ungefär 19 timmar ago | 0

Answered
How to encrypt compilation files for standalone?
https://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html Starting in R2021b, you can obscure the names ...

en dag ago | 1

Answered
is that really necessary to measure and put the weakness of the thesis if it is not scope of the work?
This is not a MATLAB question, so it isn't really appropriate here. In my opinion, the answer is Yes, you need to discuss perfo...

en dag ago | 0

| accepted

Answered
Is my mathematical problem to hard for single GPU computation?
You have one GPU. When you try to use that one GPU from multiple workers, then each time a different worker gets control, it has...

en dag ago | 0

| accepted

Answered
Is it possible to implement a GUI in a Matlab script?
see "App Designer" for a more modern interface, or see "GUIDE" for an older interface (that has much better performance)

en dag ago | 0

Answered
This can be solved
for x=value if x is in a certain range y = appropriate calculation elseif x is in a different range ...

en dag ago | 0

Answered
Isn't it dangerous to allow Comma-Separated-List functionality in indexed assignments?
Consider x = rand(1,10); y = power(max(x),2) %also known as y = max(x).^2 How many outputs does max(x) potentially have? Tw...

en dag ago | 0

Answered
solving a matrix equation
You have 13 equations that you are trying to solve for 12 variables. tic syms thdd1 thdd2 thdd3 q1 q2 q3 xdd ydd zdd thddo1 th...

en dag ago | 0

Answered
Dual Parfor from different scripts
https://www.mathworks.com/help/parallel-computing/nested-parfor-loops-and-for-loops.html it will be accepted but will execute ...

en dag ago | 1

| accepted

Answered
How to solve NLP Optimization problem ?
Please leave the question open as the volunteers have put considerable effort into it.

2 dagar ago | 0

Answered
Where is the User's Manual?
https://www.mathworks.com/help/sps/powersys/ug/thyristor-based-hvdc-link.html appears to be the source of this example, but the ...

2 dagar ago | 0

Answered
Global fitting of two different function with shared parameters on two different data sets
your T is a vector. Your function involves an expression of T, then ^(1/2) . With T being nonscalar, the ^ operator is the Matri...

2 dagar ago | 0

| accepted

Answered
How to pass whole excel sheet to a MATLAB function
You cannot use From Workspace for this purpose. From Workspace is for creating a time-dependent signal. The first column is trea...

2 dagar ago | 0

Answered
how to pass data from a code on Arduino IDE to matlab
Use https://arduinogetstarted.com/reference/serial-println to convert to text to send. Or https://arduinogetstarted.com/referenc...

3 dagar ago | 0

Answered
two data files to plot and compare
readmatrix the files. Then imshowpair -- probably with 'joint' scaling.

3 dagar ago | 0

Answered
Error in Build,deploy android app model using Accelerometer sensor.
Is there a particular reason your last line is not peakno = numel(peaks); ?? I would suggest that you pre-allocate peaks and...

3 dagar ago | 0

Answered
How to extract specific data from a .txt file
filename = 'FILE.TXT'; S = fileread(filename); XY = str2double(regexp(S, '(?<=F[XY]= )\S+', 'match'))

3 dagar ago | 2

Answered
cell2table: Preserve cell type when column contains numbers and strings
x={ 0 'Infinity' 63.5010 "Infinity" 0 8.5239 63.5010 8.5239 0 }; T =...

3 dagar ago | 0

| accepted

Answered
How to read the result of fprintf
See evalc() or sometimes diary() But you would typically be better off using sprintf or compose

3 dagar ago | 0

Answered
Error when generating a gif
Reminder: longitude is *y* data and latitude is *x* data but surf requires x then y

3 dagar ago | 0

| accepted

Answered
Fail to parametrize InitDampling with optimoptions
https://www.mathworks.com/help/optim/ug/view-options.html it is a hidden option

3 dagar ago | 0

Answered
How does matlab choose the order expressions appear in a symbolic equation? Can I change the order?
the order is not documented, and can involve subtle factors. It can be difficult to figure out the logic. For example in divi...

3 dagar ago | 0

Answered
Files added to path won't run unless I rename them first.
How are you creating the new script? If you are creating it outside of MATLAB then check Preferences -> Editor/Debugger -> Auto...

3 dagar ago | 0

Answered
Remove Whitespace & Text From Cell
See https://www.mathworks.com/help/matlab/ref/matlab.io.text.delimitedtextimportoptions.setvaropts.html#d124e755396 for the impo...

3 dagar ago | 0

Answered
Is there any problem with secant method in this code as i am not getting the required plot
Your odes are generating infinite results early on. You are getting NaN for all c values. WIth the below small modification to ...

3 dagar ago | 0

Load more