Community Profile

# Walter Roberson

##### Last seen: Today
46.444 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.

#### Walter Roberson's Badges

View all

Contributions in
View by

Im trying to solve an equation that have variable on left and right side
depth= 1385.33 por=0.153 Qv=0.980 B=3200 Rw=0.265 m=1.86 n=2.2 Rt=4.05 F = @(Sw) (Sw) - ((Rw/((por^m)*Rt*(1+(B*Qv*Rw)/Sw...

1 dag ago | 0

Solve/fsolve system of equations with exp, and multiple variables.
Your d_H_tf_C(tf)==0 turns out to be a differential equation involving x(tf) . You can solve the remaining 4 equations to derive...

1 dag ago | 0

How to compare data from two different data systems y1,x1 and y2,x2?
You can use pdist2() to find the distance from each x1/y1 point to each x2/y2 point, and then use min() . Or you can use knnsear...

1 dag ago | 0

Finding the value of x in vector equations
(-8*x-4)*i + (y+9)j = 9*y*i -7*x*j i and j are independent so you can separate the variables (-8*...

1 dag ago | 0

Creating a Loop with "SAVEAS" after generating Figures
As you generate each figure, store its handle into a vector of figure handles, such as fighandles(). Then index it in your loop....

1 dag ago | 1

Stop loop when first result is hit / loop of comparison bewteen different tbl heights?
overlaps = ... (drug1_data.StartDay <= drug2_data.StartDay.' & drug2_data.StopDay.' <= drug1_data.StopDay) | ... (drug...

1 dag ago | 0

Converting binary characters into a char - Error!
You have 8 bits per character, not 7 bits per character. 255 characters of 8 bits each = 2040 bits.

1 dag ago | 0

Getting "reached maximum number of intervals in use" error message on simple integration
your function has discontinuities at +/- 1.495, which is within the range of integration. Numeric integration is not able to res...

1 dag ago | 0

| accepted

Warning: Function figure has the same name as a MATLAB builtin.
You named your file figure.m which will cause problems. You should rename the file for your code.

1 dag ago | 0

| accepted

transforming mm():mm() to 'yyyy/mm'
datetime(date,'convertfrom', 'excel', 'format', 'yyyy-MM')

1 dag ago | 0

issue when quantifying logo symmetry
regionprops(double(grayimage>0), 'centroid') and observe that the centroid is 1 pixel to the right of where you would expec...

1 dag ago | 0

| accepted

How can I check if a point (x,y) is either inside or outside a shape in a graph created be a set of experimental points
polyshape isinterior() https://www.mathworks.com/help/matlab/ref/polyshape.isinterior.html

1 dag ago | 1

* License Administrators and Technical Contacts for a license can order a set of DVDs or download .iso * Some types of licenses...

2 dagen ago | 0

Boxplot as a Variable
you are using r2014a or earlier and those numbers are the graphics handle identifiers for the line objects that were created for...

2 dagen ago | 0

how can i print numbers like i want
fid = fopen('YourFile.txt', 'wt'); fprintf(fid, '%10g %10g\n', A'); fclose(fid)

2 dagen ago | 0

How to see all Data Types in Performance Chart after training a network in nntraintool
The missing lines are "underneath" the red line. The red line was drawn last, so it is on top. If you look carefully at the cor...

2 dagen ago | 0

using sprintf instead of fprintf
You want to use sprintf() because it does not print to the command window, but then you want to print the result to the command ...

2 dagen ago | 0

Some legend properties are reset to default when printing figure
I think you seeing the effect of InvertHardcopy figure property; https://www.mathworks.com/help/matlab/ref/matlab.ui.figure-prop...

2 dagen ago | 1

Exporting figure to image and being able to zoom in
https://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf

2 dagen ago | 1

i bought Simscape Electrical and smiscape how i can add them to my library

2 dagen ago | 0

How to install 2019a Navigation Toolbox?

2 dagen ago | 1

| accepted

Contourf is plotting weird lines. How to remove them?
Look at n(24,9) and see that it is 1 there, corresponding to x=1.7, y=4.7; n(23,9) is also 1. That is an island of two 1's surro...

2 dagen ago | 0

How to find max and min value of a function ?
a=2; b=2; c=1; e=0.75 ; l=0.5; u_g = @(x, x_e, N)(-0.5*a*x.^2+b*(x-x_e)-c*(N.^l)+e*u_p(x,x_e,N)); funmin = @(xxeN) u_g(xxeN(...

2 dagen ago | 0

How to change the content of file?
filename = 'Document2.txt'; while true Val = load(filename) + 10; if Val > 250; break; end fid = fopen(fi...

2 dagen ago | 0

How do I save only the final state of ode solver?
use options for plotfcn or outputfcn and have it skip updating the plot unless the iteration number mod n is 0.

3 dagen ago | 1

| accepted

Check for missing argument or incorrect argument data type in call to function 'scale' .what is the problem and how to correct it? Based on machine learning on ramp course.
https://www.mathworks.com/help/matlab/ref/polyshape.scale.html scale() is not defined for numeric arrays, only for polyshape ...

3 dagen ago | 0

Matlab system command doesn't work properly on linux platform
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html You have a BASH_ENV or equivalent for your shell, ...

3 dagen ago | 0

How to display stacking circle
stack = char(' ' + zeros(max(array),length(array))); stack(ndgrid(max(array):-1:1) <= array) = 'o';

3 dagen ago | 0

Iterating through each element in a matrix
s = intersect(A, B);

3 dagen ago | 0

| accepted