Walter Roberson - MATLAB Central

Statistics

All
MATLAB AnswersCodyFrom 01/11 to 05/25Use left and right arrows to move selectionFrom 01/11Use left and right arrows to move left selectionTo 05/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

37 Questions
61,079 Answers

Cody

0 Problems
1 Solution

RANK
1
of 298,512

REPUTATION
138,141

CONTRIBUTIONS
37 Questions
61,079 Answers

ANSWER ACCEPTANCE
48.65%

VOTES RECEIVED
18,750

RANK
 of 20,606

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
119,814
of 161,536

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Most Accepted 2024
  • Most Accepted 2023
  • Solver
  • First Review
  • Most Accepted 2022
  • Most Accepted 2021
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016

View badges

Feeds

View by

Answered
plot a surface from a three variable table
If not the below code, then use meshgrid instead of ndgrid This code takes a long time to execute !! The internal triangulation...

2 hours ago | 0

Answered
latex interpreter greek symbols
https://www.mathworks.com/help/matlab/creating_plots/greek-letters-and-special-characters-in-graph-text.html Use \nabla

14 hours ago | 0

| accepted

Answered
Trouble using container with cell type for key and structure array for values..
struct values are not permitted. keys = 100:110; values = struct('abc', num2cell(1:11)) containers.Map(keys, values)

1 day ago | 0

| accepted

Answered
How to call .dll without header file
The header files is necessary for identifying function "signatures" -- knowing what datatype each function parameter is. So the...

1 day ago | 0

Answered
I cannot find R2023a installer. In the drop-down, there is only R2024b.
That can happen if you do not have a MATLAB license registered against your MATLAB Central account.

2 days ago | 0

Answered
Error using mupadengine/feval_internal Arithmetical expression expected.
According to a previous thread, the problem is that one of the expressions generates NaN

2 days ago | 0

Answered
Not able to get local and absolute max or min of a function or graph symbolically
[num, den]=numden(dy); dy_den=diff(den); % % Case1: If denominator in y' is a constant if dy_den==0 In general, t...

5 days ago | 0

Answered
Failed to convert matlab function to dll
NAN and INFINITY is not constant and they actually identified by compiler as function, which defined in corecrt_math.h In C, th...

5 days ago | 0

Answered
I haven't defined syms x but solve function gives me values depend on x
The solutions are most naturally parameterized by e2, but you have specified that you want to solve for e2. So solve() has to in...

5 days ago | 1

| accepted

Answered
Create a 2D plot with irregular axes
pointsize = 20; scatter(x, y, pointsize, Dataset(:)) This will produce colored round dots at the given locations. Producing s...

6 days ago | 0

Answered
Question about sprintf not handling list{:} properly
X = ["a","b","c"] Y = [1, 2, 3] catinated = [X;Y] Look carefully at the output and notice that it is a string array. The nume...

6 days ago | 1

| accepted

Answered
Using fprintf in a for loop to display the output as a set of coordinate points
The basic problem is that fprintf() consumes all of each argument before going on to the next argument. Combine that with the fa...

7 days ago | 0

Answered
How to ensure Matrixes are matching size
K = zeros(4, 1,n); K is initialized to 4 x 1 by something. K(:,:,n)=P(:,:,n-1)*A.'*inv(A*P(:,:,n-1)*A.'+R); P is 4 x 4 b...

7 days ago | 0

Answered
Format currency in a uitable in app designer
You need to specify the uitable FontName property, supplying a fixed-width font. Your current problem is that spaces in propor...

7 days ago | 0

| accepted

Answered
How can I change timetable to timeseries?
timeseries() does not accept duration or datetime times. "Sample times, specified as a numeric scalar or vector, or a cell arr...

7 days ago | 0

Answered
How do I change default plot colors to green and blue for multiple patternCustom polar plots?
patternCustom() returns an object handle to lines or else to a surface() object. When you are plotting multiple patternCustom()...

7 days ago | 0

| accepted

Answered
How can I pass a variable (numeric) through a callback event when I pressed a key in my figure?
set(gcf, 'KeyPressFcn', {@GetData, calibration}); That code does not bind "calibration" to whatever the then-current value of t...

8 days ago | 1

Answered
Add fixed colorbar to volshow
You cannot do that. volshow() creates a standalone chart object. There is an internal vol_hbt.Parent.Axes property but it is a ...

8 days ago | 0

Answered
optical design add on can't be installed with matlab 2025a.
I am not able to locate a toolbox with the name 'Optical Design and Simulation Library for Image Processing Toolbox' anywhere at...

8 days ago | 0

Answered
Extract consecutive elements from a vector in a sliding manner
A = [1 ;2 ;3 ;4 ;5 ;6]; A_slice = buffer(A, 2) now do things with the columns. buffer() requires the Signal Processing Toolbo...

8 days ago | 0

Answered
How to get real root of a function using fminbnd?
x=-1:0.01:8; y=@(x) (x).^(4/3); yinv=@(x) -((x).^(4/3)); x_1=-1; x_2=8; [xmin, ymin]=fminbnd(y,x_1,x_2); [xmax, ymax]=fminbnd(...

8 days ago | 0

Answered
"I want to use a struct that includes pointers in Embedded Coder."
You may need to use something like coder.ceval() in order to be able to use the pointers. MATLAB and Simulink do not support poi...

9 days ago | 0

Answered
Setting size of a figure
You are not exporting the figures: you are exporting the axes, and the axes are different size. The one without the axes does no...

9 days ago | 1

Answered
Is the Ordering of the Output from combinations() Documented, Repeatable, and Sensible?
The source code for combinations is readable. The output order is not documented. The calculation is determinstic, so the ord...

9 days ago | 0

Answered
Sort vector based on another - How?
l = [ 5 3 2 1] k = [ 2 3 4 1] [l_sorted, l_sortidx] = sort(l); k_sorted = k(l_sortidx); l_sorted k_sorted

9 days ago | 1

| accepted

Answered
3D bar plot, does not show solid bars
You have negative z data. When you set(gca,'ZScale', 'log') then any shape that has a vertex with negative Z cannot be rendered....

9 days ago | 1

Answered
Is it possible to copy/paste myself data ? clipboard ? Shared Memory ?
See https://www.mathworks.com/matlabcentral/answers/534528-how-to-save-serialize-matlab-variables-to-a-byte-string#answer_439768...

10 days ago | 0

Answered
Force quit Matlab Online
You can close the browser tab, and then follow these instructions for killing the session: https://www.mathworks.com/matlabcentr...

10 days ago | 0

| accepted

Answered
Can you use command prompt to input a nifti file?
See uigetfile to prompt for the file name. After you have the file name, you would need to take appropriate importing steps, su...

10 days ago | 0

Answered
How to find correct "feature" name for parallel computing toolbox?
license('test', 'Distrib_Computing_Toolbox') See https://www.mathworks.com/matlabcentral/answers/449314-how-do-features-from-li...

10 days ago | 1

| accepted

Load more