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 T0099000; if you are waiting on a reply from me for an older issue, please send me a reminder.

Programming Languages:
C++, C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English

Statistics

All
  • Roberson Cup
  • Most Accepted 2019
  • Solver
  • 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

View badges

Content Feed

View by

Answered
loop for subtracting values
data1 = Dasdata.Strain(channels,1)'; for i = 2:53 data2 = Dasdata.Strain(channels,i); y = data2-data1; plot(y, '...

alrededor de 6 horas ago | 0

Answered
Index in position 3 exceeds array bounds. (Must not exceed 1).
You have a lot of confusion about whether you are dealing with arrays or scalars. Your triple loop structure is the kind of codi...

alrededor de 6 horas ago | 0

Answered
Does cvpartition work with structs?
c = cvpartition({Messages.label}, 'Holdout', 1/3);

alrededor de 10 horas ago | 0

Answered
How to find the I(s) from below equation?
I(s) and the cos() terms are independent of the variable of integration, so the term being integrated is constant and the integr...

alrededor de 19 horas ago | 0

Answered
由两个不同的程序文件可以打开sim卡ultaneously?
If you are using Windows, then it has mandatory locking, and a file that is opened for writing by one process cannot be opened f...

alrededor de 24 horas ago | 0

Answered
Why am I getting an NaN value for my array?
In MATLAB if you test a non-scalar in an "if" statement, then the statement is considered true only if *all* of the outputs of t...

1 día ago | 0

Answered
Why do I get license manager error - 39?
You are using a Network license, probably a Group license. If I remember the messages correctly, the message you are getting ...

1 día ago | 0

Answered
Need help verifying I have the correct polyfit line for my function.
No you should polyfit x and y.

1 día ago | 0

|accepted

Answered
Is there a way to normalizing a probability density function / keep the density values between 0 and 1?
You are fitting a normal distribution, which implies infinite extent. In any case where the standard deviation is greater tha...

1 día ago | 0

Answered
Error using trainNetwork (line 184) Conversion to single from struct is not possible.
When you load() a .mat file and assign the value to a variable, what you get back is a struct with one field for each variable i...

1 día ago | 0

|accepted

Answered
Plot graph not showing
Your code does not call the function that does the plotting.

1 día ago | 0

Answered
Changing lowest values in row to 1 and other values to 0
distX = 0.59; distY = 0.59; distZ = 2.19; weight = [distX distY distZ]; mx = min(weight,[],2); weight1 = bsxfun(@eq,weig...

1 día ago | 1

|accepted

Answered
how can i write attached equation in MATLAB code
syms Delta_P_lo Delta_x phi_lo Delta_P_f x LB UB Delta_P_f = Delta_P_lo * (1/Delta_x .* int(phi_lo.^2, x, LB, UB, 'hold', true)...

1 día ago | 0

Answered
when I did TUTORIAL 19.1PATTERN CLASSIFICATION I got errors like in link below. Actually my windows system is 64 bit and I am using online matlab.Can anyone give?
MATLAB Online does not run on MS Windows: it is Linux based. configuremingw is for configuring MinGW on your Windows systems, ...

1 día ago | 0

Answered
Keep receiving warning sign "undefined variable" while using sim function and plotting graphs
You appear to have an object named out in your workspace, and the tout and simout properties of the object seem to be what you a...

1 día ago | 0

Answered
Why do I receive "Array indices must be positive integers or logical values"?
syms epsr_bar eps_r r That makes epsr_bar into a symbolic scalar variable, not a function. It also creates eps_r and r as scal...

1 día ago | 0

Answered
Error using symengine Invalid operands. Error in sym/privBinaryOp (line 1013) Csym = mupadmex(op,args{1}.s, args{2}.s, varargin{:}); Error in / (line 369)
syms X EI A P R S CM L E=71.7e9;R=2810;Rp=7800;Gc=1e7;e31=-16;EP=5e10;ta=0.46e-3;tb=2e-3;b=0.035;alfa=0.216;beta=6.044e-4;d31=-...

1 día ago | 0

Answered
How can I make a gif using subplots and avoid an error in function wgifc?
Your t==1 test is never successful because your for loop is t=10:10:100 and so starts with 10 instead of 1

2 días ago | 0

|accepted

Answered
How to Plot data in excel sheet using MATLAB ?
创建内部的条形图excel file, you will need to use the ActiveX interface to talk to Excel on MS Windows (will n...

3 días ago | 0

|accepted

Answered
How do I declare a blank column vector of unknown size?
MATLAB does not offer any way of creating blank column vectors of unknown size. Any numeric column must have some numeric valu...

3 días ago | 0

Answered
Why Does "clear all" Impact Prior Commands in a Script?
fplot() operates in two phases. There is some kind of internal preparation first, after which control returns to the program. Th...

4 días ago | 0

|accepted

Answered
Before formatting process do I need to uninstall the matlab and deactivate my license from my laptop to use matlab again on the same device?
No, deactivating is only needed if the host information is changing. On Windows that is sometimes the disk serial number (which ...

4 días ago | 0

Answered
'unrecognized function or variable 'yolov30ObjectDetector'
After I install Computer Vision Toolbox™ Model for YOLO v3 Object Detection in R2021b, then I find yolov3ObjectDetector at ful...

4 días ago | 0

Answered
Load and display bitmap file using Fread
http://www.ece.ualberta.ca/~elliott/ee552/studentAppNotes/2003_w/misc/bmp_file_format/bmp_file_format.htm Pixel Data an array...

5 días ago | 1

|accepted

Answered
Parfor transparency error when using subs to evaluate a symbolic expression.
parfor nn=1:2 Nof_FA=3; Aorig=10; Nseg_full=10*Nof_FA; Lamb=12; ii=1; jj=2; ll=3...

5 días ago | 0

|accepted

Answered
Combine cell array inside a cell array.
Last2 = @(V) V(2:end); B = [A{1,1}, cell2mat(cellfun(Last2, A(2:end), 'uniform', 0))]

5 días ago | 0

|accepted

Answered
Why can't or why shouldn't Matlab "re-shadow" functions after eval() is called?
Check the Language and Programming release notes for R2021a, "eval function". The warning is new transitional behaviour, and in ...

6 días ago | 1

Answered
Extracting values from a 3D surface plot for each iteration
You do not need to do the surf() in order to find the value. And you should probably not be assuming that the exact X and Y coo...

6 días ago | 0

|accepted

Answered
How do I get time in input?????
You have several options: You can use the 's' option for input(), and get back a character vector from input(), which you then ...

6 días ago | 0

Answered
How do you take the absolute value of only the complex number?
NewArray = complex(real(YourArray), abs(imag(YourArray))); or NewArray = real(YourArray) + 1i .* abs(imag(YourArray)); Using ...

6 días ago | 0

Load more