Community Profile

photo

Walter Roberson


Last seen: Today
45,075 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.

Contact

Walter Roberson's Badges

  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • Solver
  • First Review
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012
  • Most Accepted 2013
  • Thankful Level 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4

View all

Contributions in
View by

Answered
Substract two images with different size
You have a few choices: * pad so the two are the same size and appropriately aligned * imresize to a common size * image r...

1 hour ago | 0

Answered
2D plot with 3 var
Pointsize=10; scatter(x(:), y(:), Pointsize, z(:)) And you might need a call to colormap() to get the coloring you want....

1 hour ago | 0

Answered
Accessing field names in struct
F = fieldnames(test) ; F(cell2mat(struct2cell(test)))

2 hours ago | 0

| accepted

Answered
Question on using interpolate function
See ismembertol() The data that is stored corresponding to time 0.20, is not bit-for-bit identical to the representation for ...

3 hours ago | 1

Answered
Change portion of text color in matlab label
xlabel('black, \color{red}red', 'interpreter', 'tex')

5 hours ago | 1

Answered
How to avoid this Warning: Polynomial is badly conditioned?Need Help
Some of your rrr24 values are the same or very close to each other. Using the centering and scaling mechanism might help, but...

6 hours ago | 1

Answered
What is the cause of this weird phenomenon with symbolic variables and nested function?
https://www.mathworks.com/help/matlab/matlab_prog/variables-in-nested-and-anonymous-functions.html Normally if you have an en...

7 hours ago | 0

Answered
Why not adding space between words
https://www.mathworks.com/help/matlab/ref/strcat.html For character array inputs, strcat removes trailing ASCII white-space cha...

8 hours ago | 1

Answered
find strings in excel on different sheets
filename = 'examplesheet.xlsx'; [~, sheets] = xlsfinfo(filename); rows_found = []; sheets_found = {}; for K = 1 : length...

8 hours ago | 0

| accepted

Answered
Output argument 'S1' is not assigned on some execution paths.
When if (Alpha > 0) && (Alpha <= m) is false, then you do not assign any value to S1. There might be other constraints in the...

9 hours ago | 0

Answered
Solving an equation with derivatives in it.
Cx = -5; %Setting the value of x Vequation_1 = 12^2 == (diff(x(t), t))^2 + (v_y)^2; You assigned x a numeric valu...

12 hours ago | 0

Answered
Does MPS 2016a version run on RHEL 6
Yes. https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2016a_Lin...

21 hours ago | 0

| accepted

Answered
How to form a matrix from a given condition?
randi([-1 1], 24, 5)

22 hours ago | 0

| accepted

Answered
Could anyone help me to solve the error in the following code
plotconfusion(categorical(Y),categorical(predictedY)) This will possibly not work if you are still using that old 2015 version ...

22 hours ago | 0

Answered
how to convert the mutiple colum into single colum using colon :
duration(YourData(:,4), YourData(:,5), YourData(:,6), 'format', 'hh:mm:ss.SSSS')

22 hours ago | 0

| accepted

Answered
MEX file for MCC DAQ
https://www.mccdaq.com/daq-software/universal-library.aspx

22 hours ago | 0

| accepted

Answered
How to show first value on axis cuted with xlim?
Altering the xlim is not going to change the automatic tick calculation, which tries for 4 to 5 ticks at nice "round" numbers. I...

23 hours ago | 1

| accepted

Answered
Converting Multiple Dicom Images into Jpeg
input = '/Users/brianngo/Desktop/CT-imaging/'; output = '/Users/brianngo/Desktop/CT-imaging-Jpeg/'; ext = '.png' FileList = d...

24 hours ago | 0

| accepted

Answered
Increasing efficiency of one-hot encoding
catnum = uint8(TheCategorical(:).'); numcat = max(catnum); OH = zeros(NumberOfObservations, numcat); OH(sub2ind(size(OH), 1:N...

1 day ago | 0

Answered
Is there a groot default for xlabel and ylabel HorizontalAlignment and VerticalAlignment?
There does not appear to be a way to specify it down that far. You can get as far as specifying DefaultAxesXLabel which you wou...

1 day ago | 0

Answered
niftiwrite and 'Version' parameter
You are reading the documentation for a newer version than you have. The 'Version' option was added in R2019a.

1 day ago | 0

| accepted

Answered
How to find maximum value of each event present in a series ?
T = readtable('2000.xslx'); Inten = T{:,5}; mask = Inten.' > 0; %row starts = strfind([0 mask], [0 1]); stops = strfind([ma...

1 day ago | 1

Answered
Does "B&R Automation Studio Target" comes with Embedded coder or any other specific tool box we need to install for it ?
No. It is a third party toolbox that appears to be a paid product, and it requires that you have several toolboxes: MATLAB, Simu...

1 day ago | 0

Answered
How to change string name being passed through function argument automatically?
P = Table1.Properties.VariableNames; for k = 1:length(P) Name = P{k}; Value = Table1{:, k}; MyPlot(Name, ...

1 day ago | 0

Answered
Unable to convert expression into double array
Your F21 and F41 involve several variables including w_N_H. You do not assign values to those variables, so you cannot convert t...

1 day ago | 0

Answered
how can I compute distances:
dist() is part of the Deep Learning Toolbox

1 day ago | 0

Answered
Works in App designer but not with the standalone program
MATLAB Compiler and MATLAB Coder cannot be used with Symbolic Toolbox. This is not expected to change any time soon.

1 day ago | 0

Answered
Get ans automatically in console
No.

1 day ago | 0

Answered
Is there a difference between HSL and HSV colour space ?
STOP ASKING. Your question is inappropriate for MATLAB Answers. MATLAB Answers is not a general resource for optical theory: MA...

2 days ago | 0

Answered
Display specific element of MATLAB table in bold?
Not for table() objects, no. For uitable() objects, then for traditional figures, there is a trick of using HTML1.1 wrappers ar...

2 days ago | 0

Load more