Community Profile # 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
• • • • • • • • • • • • #### Content Feed

View by

How to convert values of 0 to NaN
Leave them the way they are now, but set the axes color to white. Tell imagesc() tol make NaN values transparent, so those locat...

2 hours ago | 0

Index in position 1 exceeds array bounds. Index must not exceed 1.
V = [1.05, 1.05, 1.05, 1.05, 1.05, 1.05]; % Initial guess Row vector. V(i) = (1/Y(i, i)) * (conj( S(i) / V(i) ) - Y(i,...

3 hours ago | 0

Grid_style plot
( it only shows var1:var19 but i want the actual names on the plot) That is what it is plotting. 387×19 table ...

4 hours ago | 0

Is Conv2 based on direct convolution?
Historically, MATLAB implemented several different cases according to size and data type (and matters such as complex-valued or ...

5 hours ago | 0

My function to read data from three csv files is only reading one file and storing it in 'ans' instead of the variable K.
[K, K_sub, Q] = inputData(); You have to store the outputs into variables. When you invoke a matlab Function with named output...

6 hours ago | 0

How to pass a variable with latex interpreter in the legend?
lgd = legend(["$M>3$", "$\tau =$ " + r_Fit], 'interpreter', 'latex'); This will convert r_Fit according to internal (and seemi...

19 hours ago | 1

| accepted

Why am I receiving the error?
DuDx is 4 x 1. It is used to calculate s3, so s3 is 4 x 1. s3 is used as the third component of s, so s ends up length 1 + 1 + 3...

19 hours ago | 0

| accepted

Can someone explain why my graph is not generating any lines. I copied my code from this video https://www.youtube.com/watch?v=vaMiCkrRC6Q
clear clf %All Constants Used G = 6.67408e-11; M = 5.9722e24; m = 1000; %Changing Variables r = [6.67e6, 0 , 0]; %Radius...

21 hours ago | 0

Finding real and imaginary part of an equation
You extracted the real part into a variable but you plot() the complex variable. syms U P P = sqrt((((20*U^2) -15) + sqrt((400...

1 day ago | 0

How to convert a differential equation str to a equation for dsolve to work with
So there is no way of doing this with a textfield? No, there is not. The problem is not the uitextarea or uieditfield: the prob...

1 day ago | 2

How can I stop App Designer UITable from displaying all numbers as complex?
Only if you convert all of the entries to string or characters Formatting on a uitable is strange. For example if you have fo...

1 day ago | 1

| accepted

Can Genetic Algorithm in MATLAB Return a 3D Matrix as an Optimal Solution?
No. If you call ga directly then the function must expect a vector and must return a vector. You can reshape() first thing you d...

1 day ago | 1

How to count number of terms in a symbolic expression?
syms x y z=x*y+cos(x*y)*x+x*sin(x)+sin(x)*cos(x)-x-y+2; terms = children(z) nterms = length(terms) terms{3} children(z, 3)

2 days ago | 1

How is the Riemann-Liouville fractional order integral code in MATLAB?
syms alpha t s real syms f(s) Iaf(t) = 1/gamma(alpha) * int((t-s)^(alpha-1) * f, s, 0, t) %example subs(Iaf, {f}, {sin(s)}...

2 days ago | 0

How do I open .bin file and transform data to .txt file

2 days ago | 0

Getting "not a valid name" error
mdl = 'WaterTank' ; Leave out the extension in that context

2 days ago | 0

| accepted

error is not showing but plot is not generating
The Jacobian is singular if y(4) = dv/dx = 0, which it is because of your boundary conditions. That said, even if I change the ...

3 days ago | 0

How can I send data from a GUI Window to a table in another GUI Window in AppDesigner?
Create a uifigure(). Create a uitable() within the uifigure. Set the Data of the uitable to be a table() containing the values y...

3 days ago | 0

For loop function help
You are not displaying any results, and you are overwriting all of a each iteration. syms t x; x_t = (t.^2)/(t-1); y_t = (t...

3 days ago | 0

I want a trial version of whatever will allow me to use smithplot on R2009b. If not I need to purchase the toolbox.
smithplot was introduced in R2017b as part of the RF Toolbox. You would therefore need a trial of MATLAB R2023b and RF Toolbox...

3 days ago | 0

I'm using matlab 2019a. i want to link my account with license? how can i do it?
At the top right of this page, there is a search box "Search Answers", and to the right of that there is a selection box that no...

3 days ago | 0

Array not saving correct number after IF function
differences = zeros(length(raininches),1); % Creates and array with a column to store the values of differences^ for n = 2:len...

3 days ago | 0

loop not recording array
for n = 2:length(raininches) n will be a scalar inside the loop. differences = raininches(n) - raininches(n - 1); scalar ...

3 days ago | 1

Why does UIaxes handle is deleted when calling a function and taking inputs as UIaxes handle in MATLAB webapp ?
You are constructing your report by copying existing graphics object into a new uifigure that will act as the report holder. Wh...

3 days ago | 0

i am facing invalid bounding boxes while training faster rcnn on multiclasses

3 days ago | 0

Trouble with For Loop
If you need to compute different field names for a struct, or different property names for objects, you can use dynamic field na...

3 days ago | 0

How to set boundary for solutions in vpasolve?
There does not appear to be a solution between 1.3 and pi/2 radians. Tp = 1 ; Tg = 1.3 ; Te = 1 ; Vp = 480 ; Vg = 587 * (...

4 days ago | 0

| accepted

All three of those toolbox can be purchased for a student license https://www.mathworks.com/store/link/products/student/SV?s_ti...

4 days ago | 0