Community Profile # Walter Roberson

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

#### 통계

All
• • • • • • • • • • • • 배지 보기

#### Content Feed

보기 기준

답변 있음
Code runs but no graphical output
E = 200000; % Young's Modulus in N/mm^2 I = 416.667; % Moment on Inertia in mm^2 P = 600; %Applied force in N Q = 1200; %Appl...

36분 전 | 1

| 수락됨

답변 있음
Arrays have incompatible sizes for this operation.
% Number of points on the ellipse N = 8; % Parametric representation of the ellipse theta = linspace(0, 2*pi, N); x = cos(th...

대략 1시간 전 | 0

답변 있음
Why do I receive error stating that function needs to appear at the end of the file? MATLAB Differential Equations Help
It is just a Fact Of Life with MATLAB. You have some non-function statements, then you define a function, then you end the funct...

대략 3시간 전 | 0

답변 있음
How do I get normal numerical answers using solve or vpasolve?
Use sym(pi,'d') instead of pi Or... use sympref to set floating point output on Or... Use vpa Or... Use double. For examp...

대략 12시간 전 | 0

| 수락됨

답변 있음
Good evening. If possible, I would like a comprehensive explanation of cell-free technology in 6G. If there is a MATLAB code available with it, I would be very grateful.
An explanation of cell-free technology is a large topic that is beyond the scope of MATLAB Answers. Providing MATLAB code for a...

대략 13시간 전 | 1

답변 있음
Can I upload excel input and output data in PSO to define objective
Yes. It is inefficient to do this for inputs; you should instead read the data once before the pso() call and use function para...

대략 13시간 전 | 0

답변 있음
error: Undefined function 'on' for input arguments of type 'double'. How can i fix this error (i use matlab app designer)?
typefunction = app.TypefunctionEditField.Editable; fxi=str2func(typefunction); typefunction contains something that includes...

대략 13시간 전 | 0

답변 있음
I have 4 inputs (P,T,V,H) and 1 output (TS). I want to optimize for TS (maximize in this case). Can I use PSO for this purpose
Yes you can. You might find it easiest to use Problem Based optimization.

대략 13시간 전 | 0

| 수락됨

답변 있음
I code a bisection method on MATLAB app designer, how can I fix this error ?
fxi=str2func(['@(x)'typefunction]); You need a space or comma, like fxi=str2func(['@(x)' typefunction]);

대략 14시간 전 | 0

답변 있음
Ode45, Events error: SWITCH expression must be a scalar or a character vector
I have seen this before when the person had a third-party version of lower in their MATLAB path. Please show which -all lower ...

대략 15시간 전 | 0

답변 있음
Generate specific binary combination
N = 4; for K = 0 : 2^N - 1 thiscombo = dec2bin(K,N); stuff end

대략 21시간 전 | 1

| 수락됨

답변 있음
selected cell in table app designer
https://www.mathworks.com/help/matlab/ref/matlab.ui.control.table-properties.html#mw_1135e93c-c65f-4439-9112-dc80ae0d6d65 Selec...

1일 전 | 0

| 수락됨

답변 있음
I don't know how to solve the error it is producing
fun = @(b, t) cost(db, tb, P, E, H, rho, numIters, segments); fun is a function that expects two parameters, and ignores both o...

1일 전 | 0

답변 있음
Need to simulate a keypress in a matlab script
https://www.mathworks.com/matlabcentral/fileexchange/28603-inputemu-keyboard-mouse-emulator-v1-0-1 https://www.mathworks.com/m...

1일 전 | 0

| 수락됨

답변 있음
Issues with surface plotting using a large table of data
surf(vector_of_length_54, vector_of_length_12, Your_12_by_54_data) Remember that horizontal (rows) corresponds to Y axes, and v...

1일 전 | 0

답변 있음
LDPC encoding using MATLAB encoder
I = randi([0 1],43200,1); % INFORMATION BITS H = dvbs2ldpc(2/3); l = comm.LDPCEncoder(H); codeword = l(I);

1일 전 | 1

| 수락됨

답변 있음
Why these two path strings are different? (manual string vs. pwd + fullfile)
You will find that on MacOS and Linux (including here on MATLAB Answers) that fullfile uses / separators

1일 전 | 0

답변 있음
Direct calculations on tables - elementwise mean of n-tables
cellfun table2array, cat(3) the expansion of the resulting cell, mean() across the third dimension. array2table the results givi...

1일 전 | 0

답변 있음
Is there a uicontrol to let user rearrange rows of strings?
No there is no uicontrol for that purpose.

1일 전 | 0

| 수락됨

답변 있음
Why I can not start the parpool? I just upload the MATLAB and Toolbox, is this question related to the Lenovo system?

1일 전 | 0

답변 있음
That does not happen in current releases, so it must have beeen fixed between R2020b and R2023b format short e u = symunit; ...

2일 전 | 0

답변 있음
Is there a way to capture the user click on a LiDAR plot?

2일 전 | 0

답변 있음
syms u(t) y(t) sigma omega_n dy = diff(y,t) d2y = diff(dy, t); eqn = d2y + 2*sigma * omega_n * dy + omega_n^2 * y == omega_n^...

2일 전 | 0

답변 있음
I need to plot a graph for this physics problem and I don't know how to do it.
By knowing the cutoff height you can calculate the radius of the circular opening. By knowing the cutoff height you can calcuat...

2일 전 | 0

답변 있음
is there a way to perform this task w/o using loops?
The more general vectorized strategy would probably be to set up cell arrays of values, and then use the fact that when you stru...

2일 전 | 0

답변 있음
trouble making a firfilter to remove a tone out of a wavefile
The error is correct, in that the documentation lists specific filter specifications, none of which include Fc https://www.math...

2일 전 | 0

답변 있음
Changing color of plotting points according to number
Create a small colormap scatter(x, y, [], INDEX) caxis([1, size(YourMap, 1)]) colormap(YourMap)

2일 전 | 0

답변 있음
Overlay two images using transparency
figure(); FA(FA == 0) = NaN; % I want NAN values to be transparent A = imagesc(flipud(T1w')); % Back...

2일 전 | 0

답변 있음
Why am I unable to add these elements to an array?
noteLength = durations(randi(durationOption)); A duration is randomly selected note = @(t,freq,oct) sin(linspa...

2일 전 | 0

| 수락됨

답변 있음
How to display a saved .fig file in uiaxes appdesinger?
You cannot do that. A fig file is a saved figure or saved uifigure. Saved figures and uifigures are windows with attached behavi...

3일 전 | 1

| 수락됨