Community Profile

photo

Walter Roberson


Last seen: Today
47 735 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

  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Solver
  • First Review
  • 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

View all

Contributions in
View by

Answered
Convert to RGB file with colormap defined with different clim
There is a File Exchange contribution named freezeColors https://www.mathworks.com/matlabcentral/fileexchange/7943-freezecolors-...

ungefär 2 timmar ago | 0

Answered
axis equal & off not work for trisurf function
You have not set hold on so the axes NextPlot property is set to replace. When trisurf() is called, it checks the NextPlot prope...

ungefär 2 timmar ago | 0

| accepted

Answered
Pass data between two Matlab?
you can use tcp/ip to send data between distinct processes you can use one MATLAB with two spmd workers, and use labSend and la...

ungefär 2 timmar ago | 0

Answered
Compiling mex files with XCode - Error using mex
/Applications/CompEcon/CEtools/lusolve.c needs to have #include <string.h> added near the top. /Applications/CompEcon/CEtool...

ungefär 3 timmar ago | 0

| accepted

Answered
How can I save the reflectance output that have value range [0-1] to TIF image in Matlab?
https://www.mathworks.com/matlabcentral/fileexchange/30519-export-image-to-tif-or-tiff-file-of-selected-data-type And discussi...

ungefär 16 timmar ago | 1

| accepted

Answered
Error while executing a MATLAB function block.
The supported compilers for your release are listed at https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support...

ungefär 17 timmar ago | 0

Answered
how to install WFDB toolbox in matlab
Create a new folder in any convenient location that you have write access to, and which is not underneath the Windows program in...

ungefär 17 timmar ago | 0

Answered
Can this be arranged to run
In a new file, put in the code f = @(x,y) exp(x) + sin(y); g = @(x,y) exp(x) .* sin(y); x0 = 0; xf = 4; Mx = 20; My = 20; ...

ungefär 17 timmar ago | 0

| accepted

Answered
Plotting a piecewise returns error
t =[0:0.1:2*pi]; delete that line plot(f_1, t); instead fplot(f_1, [0, 2*pi])

ungefär 21 timmar ago | 0

Answered
Will increasing the number of workers in parallel computing matlab harm?
Imagine that each matlab worker required 1 byte of data and instructions. Imagine that you have a petabyte of memory. Clearly af...

ungefär 24 timmar ago | 0

| accepted

Answered
How to add space between vector indices in an output
fprintf('%d ',B(1:end-1)) fprintf('%d]\n', B(end))

en dag ago | 0

| accepted

Answered
Desired object produced but still receive "out of memory error"
you are using https://www.mathworks.com/matlabcentral/fileexchange/29832-n-dimensional-sparse-arrays You need to use nzmax to...

en dag ago | 1

| accepted

Answered
Sorting List of Filenames according to Windows
Windows explicitly does not define a sorting order for files. It leaves it up to the filesystems -- so the sort order for FAT32 ...

en dag ago | 0

Answered
ode solver with unknows coefficients
In some situations, this can be coded as a Boundary Value Problem https://www.mathworks.com/help/matlab/boundary-value-problems....

en dag ago | 0

Answered
How to calculate a constant in your made up formula
Assuming that you have one known t for each known h and d value, and that D and x and y and z are known, then C is mean() of t./...

en dag ago | 0

Answered
Regarding update or reactivation of my Campus-Wide License.
Re-activation of campus-wide licenses is under the control of the university, according to whatever procedures they have in plac...

en dag ago | 0

Answered
Solve (a*B) + (c*D) = E without the Symbolic Toolbox
((a*B) + (c*D)) / E == 1 ((a*B) + (c*D)) == 1 * E a*B + c*D == E a*B == E - c*D a == (E-c*D) / B a == E/B - D/B * c a == (...

en dag ago | 0

Answered
force grid to be on top of patch
If you mean the kind of grid you get from "grid on", then set the axes "Layer" property to 'top'

en dag ago | 0

| accepted

Answered
Bisection method while loop not iterating, only gives the first answer.
if FC*FA>0 c=a; else c=b; end Why are you assigning to c there? You never use c afterwards. If...

en dag ago | 0

Answered
GA algorithm toolbox (define constraint)
This kind of system can be programmed by introducing up to 4 new integer variables, with the logical conditions x1 == x6 * x4 ...

en dag ago | 0

| accepted

Answered
Using savefig in live editor
When loading a figure does not appear to create the figure, but gives no error, then check whether the figure exists but has 'vi...

en dag ago | 0

| accepted

Answered
Computational Complexity of matrix multiplication
The computational complexity is the same. Multiplication of two complex numbers is a constant multiple of operations compared to...

en dag ago | 0

Answered
Cell Conversion Problem when transformed into a matrix form
mask = cellfun(@(M) ~isequal(size(M), [3,3]), YourMatrix); find(mask) You will discover that some elements are not 3x3. ...

en dag ago | 0

Answered
\lVert and \rVert are not rendered on '9.7.0.1190202 (R2019b)', Ubuntu 18.04
Those are amsmath and that package is not included in MATLAB latex.

en dag ago | 0

Answered
How am I gonna do if I just want this to show me only Decoy message: Invalid rescue day . And the changes will not affect other codes?
Before switch C2 insert failed = false; After disp('Decoy message: Invalid rescue day.'); insert failed =...

en dag ago | 0

| accepted

Answered
fmincon optimization in matlab using OutputFcn
https://www.mathworks.com/help/optim/ug/output-functions.html#OutputFunctionsForOptimizationToolboxExample-2 shows an example c...

en dag ago | 0

Answered
Change of boundary condition at inlet from constant to a power law time dependent function
Change Phig=gamma*(Vol+2*C*Leak)-t;Phib=GS(y(:,1),y(:,N),tipVal); to Phig = gamma*(Vol+2*C*Leak) - t; Phib = GS(y(:,1), y(:,...

2 dagar ago | 0

Answered
Detecting an object in binary image and cropping it
maskvert = any(YourBinaryImage, 1); firstcol = find(maskvert, 1, 'first'); lastcol = find(maskvert, 1, 'last'); with obvious ...

2 dagar ago | 0

| accepted

Answered
Can someone tell me how can I create a if statement with mulitple else?
if C2 == 1 disp('Monday'); elseif C2 == 2 disp('Tuesday'); else disp('something else'); end

2 dagar ago | 0

Answered
Find the coefficient of a certain term in an expression
Not directly, no. However, you can coeffs(A,X, 'all') and look in the third last entry (highest degree is first so third last ...

2 dagar ago | 0

Load more