Community Profile

photo

Walter Roberson


Last seen: 1일 전 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
  • Most Accepted 2023
  • Most Accepted 2022
  • Solver
  • First Review
  • Most Accepted 2021
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015

배지 보기

Content Feed

보기 기준

답변 있음
I can't comput the following commands
Remove all of the if statements. And convert the && to & A1=sum(total>=90 & total<=100); fprintf('The number of A+ stu...

대략 3시간 전 | 0

답변 있음
How to perform an operation after reading the image?
readimageFcn=@(x) imagenorm(int16(dicomread(x))); There is some uncertainty here, as imagenorm() is not a defined Mathworks fun...

대략 3시간 전 | 0

답변 있음
Will there be a Linux ARM binary?
There is no Linux ARM binary. My personal guess is that Mathworks will go for Windows ARM before going for Linux ARM.

대략 3시간 전 | 0

답변 있음
Append tables with a new variable
T1 = table([1:5].') T2 = table([6:8].', [3;1;4]) vn1 = T1.Properties.VariableNames; vn2 = T2.Properties.VariableNames; new_v...

대략 3시간 전 | 0

| 수락됨

답변 있음
Which version suits AGX Orin?
You cannot install MATLAB on AGX Orin.

대략 7시간 전 | 0

답변 있음
How to calculate and display electricity used in a month using fprintf?
KWH = input('How many KWH this month: '); BILL = 0.066 * KWH; fprintf('Your charge for %f KWH will be $%.2f\n', KWH, BILL)

대략 16시간 전 | 0

답변 있음
How to compute the following questions
You can use nnz(BooleanArray) or sum(BooleanArray) to get the number of selected results.

대략 16시간 전 | 0

답변 있음
"Undefined variable" error even though variable is defined
if frame1 == 1 Background1 = thisFrame1; else This does not define Background1 if frame1 ~= 1

대략 24시간 전 | 0

답변 있음
How do I prevent the command that caused an error being displayed in the command line?
./my_executable xyz: Signal 127 That indicates that ./my_executable could not be found. You are not in the directory you though...

1일 전 | 0

답변 있음
How to create this table/matrix?
ForecastInfo = table(CIV.SYMBOL(1:10,:), ForecastDates', 'VariableNames', {'Symbol', 'Forcecast Dates'});

1일 전 | 0

| 수락됨

답변 있음
str2sym error
Work around: symfun('force(t)', sym('t')) or syms force(t)

2일 전 | 0

답변 있음
writetable or dlmwrite to save an array as a txt file
M = [ 1.0000 -26.2000 -31.7000 2.0000 -27.1000 -33.9000 3.0000 -25.5000 -30.2000 4.0000 -24.4000 -30...

2일 전 | 0

답변 있음
I keep getting the error message that the variables must be of data type double and it is currently of type sym.
%I'm unsure how else to run this code to solve the 10 eqn system where %the answer comes out in the correct form, please help ...

2일 전 | 1

| 수락됨

답변 있음
Hi, this is my code, I want to fit 36 graphs in one graph (36 rays in layout view)
N = 2048; L = 1e4; dx = 4e-3; [x0,y0] = meshgrid((-N/2:N/2-1)*dx); [xL,yL] = meshgrid((-N/2:N/2-1)*dx); [fx,fy] = meshgrid(...

2일 전 | 1

답변 있음
Genetic algorithm gives same result everytime
You have a single variable that is integer constrained between 10 and 100. That is only 91 different values to search, at most -...

2일 전 | 0

| 수락됨

답변 있음
How can I displace x and/or y axes from existing positions?
There is no provided way to do this. You will have to turn axes off, and draw the axes yourself.

3일 전 | 0

답변 있음
Fastest possible prime number detection without using break or return
The fastest possible way of doing any computation depends upon the fine details of your CPU, and upon the fine details of how me...

3일 전 | 0

답변 있음
Processing Multiple Files at once.
[filelist,pathn] = uigetfile('*.*','Please Select a Par File in .dat or .txt', 'multiselect', 'on'); if isnumeric(filelist); er...

3일 전 | 0

| 수락됨

답변 있음
Uploading .mat files that contain nested structs into a datastore
data = matfile(filename, variables{1}); That is the wrong way to use matfile. The proper way to use matfile is matObj ...

3일 전 | 0

답변 있음
How can I skip the rest of an if statement?
if n > 1 while true if a == 1 disp('Haha') break % (Here is where I want to skip the res...

3일 전 | 0

| 수락됨

답변 있음
ginput error in matlab 2020a
Error in contains (line 36) tf = ~cellfun(@isempty, strfind(s, pattern)); ... Except that contains is a built-in function and ...

4일 전 | 0

답변 있음
How to determine if angles match
You would get that behavior if prec1 or prec2 are non-scalar and it does not happen that all of the values pass the tests.

4일 전 | 0

| 수락됨

답변 있음
How to run a function in app designer?
psi = app.EditField_psi.Value; phi = app.EditField_phi.Value; theta = app.EditField_theta.Value; m = app.EditField_m.Value; ...

4일 전 | 0

답변 있음
No sound when playing movie in Matlab2020b
%dispMoviesMatlab - ComputerVision Toolbox audiopath = 'C:\Users\maxab\OneDrive\Desktop\Masters\Experiment\Movies\Chosen'; m...

4일 전 | 0

답변 있음
Where is Shader graphics available in MATLAB
The only access is shading (not very extensive)

4일 전 | 0

답변 있음
vectorized operations on symbolic functions
syms x1 x2 x3; % symbolic variables y = x1^3/3 + x2^2/2 - x3; % symbolic function y X = rand(500,3); % each row representing a...

4일 전 | 0

답변 있음
Slice command for terrain
No. Your data cannot be sliced. Perhaps you might want to contour() the data, and get back the contour matrix, and use somethin...

4일 전 | 0

| 수락됨

답변 있음
Extract color map from png apply to grayscale image
Use rgb2ind() on the colored image, and take the second output as being the color map. [~, cmap] = rgb2ind(TheColoredImage); i...

4일 전 | 1

| 수락됨

답변 있음
how to perform a multi variable optimization on matlab
There are several different minimizers possible. Everything except fzero() -- fzero() is restricted to one variable. The trick ...

4일 전 | 0

답변 있음
Binary GA returns floating point numbers
% Set seed for reproducability rng(42); % Load data and define arrays data = readmatrix('Data/File_S1.xlsx'); X = data(2:e...

4일 전 | 0

더 보기