Community Profile

photo

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
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • First Review
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011

View badges

Content Feed

View by

Answered
Why isn't my code iterating more than once?
r1_real=me(1,K); r2_real=me(2,K); b1_real=me(3,K); b2_real=me(4,K); Those are all scalars. x=(r1_real(1,K).^2-r2_real(1,K)....

15 hours ago | 0

Question


convert patch structure to graph() object?
Is there an easier / better way to convert a patch() faces / vertices structure to a graph object? %Where S is a struct with fa...

17 hours ago | 1 answer | 0

1

answer

Answered
calculate volume from iso-surface coordinates (x,y,z).
If you use boundary then it has an optional second output which is the volume. However, I would not expect boundary() to be abl...

19 hours ago | 1

Answered
Accepting multiple values for a function. I want my function to accept multiple values for beta
U(1,[4 5]) = [ alpha-beta, beta ]; when beta is a vector, then you have a problem: you need different 5 x 5 U matrices for each...

20 hours ago | 0

Answered
The function textscan is problematic and has serious bug!
You coded if totalNumFigureBad == totalNumFigureGood disp('The textscan is problematic!'); end and if counterBad == cou...

20 hours ago | 0

Answered
.csv using readtable doesn't make difference between the value 1 and 01
filename = "23_Time Cards_Practice 1.CSV"; opt = detectImportOptions(filename); opt = setvartype(opt, 1, 'string'); opt = ...

22 hours ago | 0

Answered
Is it possible to code png's similar to a grid?
Would it be possible to take a larger (let's say 100 x 100) png, and turn it into a grid so that a smaller (10 x 10) png can be ...

22 hours ago | 0

Answered
Does 2023a release allows FMI 3.0 export (creating FMU 3.0)?
R2023a does not support FMU 3.0 R2023b is already released (a week ago), and it does support FMU 3.0; https://www.mathworks.com...

23 hours ago | 1

Answered
Failure of dimensional analysis for a rule
I am baffled about what unit (grams ^ 0.35) would be. Should that be interpreted as (grams ^ (35/100) so that the unit would be ...

23 hours ago | 0

Answered
A problem that appears in the shell commands what should I do?
If you are using MacOS then see https://www.mathworks.com/matlabcentral/answers/488382-switchng-folder-to-desktop-in-catalina-10...

23 hours ago | 0

Answered
When are previous version of MATLAB at end of life?
https://www.mathworks.com/support/requirements/platform-road-map.html Note: If you have a current subscription to MathWorks So...

1 day ago | 0

Answered
How can I modify a list of existing variables programmatically?
Please read http://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval fo...

2 days ago | 1

Answered
Storing a table in a struct in embedded loops
DATA is a struct, so dynamic field names for it must obey the limitations for struct field names. struct field names must be val...

2 days ago | 0

Answered
Why does the rand function in the assignment statement within the class's property only work once?
Named variables in MATLAB have a symbol table entry that appears to be a fixed size, and which appear to hold little more than t...

3 days ago | 1

Answered
green arrow for current line and variable values not displaying during debug pause at breakpoint
The highlight might not align properly if you edit the file during debugging.

3 days ago | 0

Answered
Code error trying to find the max h
You have I divided by h where I is the size of r. But r and h are row vector of different lengths. If each h has a correspond...

3 days ago | 0

Answered
EEGLAB pop_clean_rawdata function
In https://github.com/sccn/clean_rawdata/blob/master/clean_channels.m we can see that the blocks numbers correspond to the numbe...

3 days ago | 0

| accepted

Answered
Error using sin in my code
The .* operator is element-by-element multiplication. Your code is asking to evaluate the token sin and multiply the result by (...

3 days ago | 0

Answered
I want to gererate pseudorandom integers using randi function, however I want have empty cells between the integers.
It is not possible to have empty positions in a numeric array. You would need to use a cell array, such as N = 3; out = {}; f...

3 days ago | 0

Answered
How to locate a specific point within a grid system?
It sounds to me as if you should have a look at discretize -- which works fine if you can separate the two coordinates. If you ...

3 days ago | 0

Answered
Can I use a school license for the Matlab R2023b pre-release version?
The prerelease license will expire in roughly two weeks, because the official R2023b has been released.

3 days ago | 1

Answered
how to embed the satelliteScenarioViewer object to my app ui?
The only parts of the Aerospace Toolbox that can be compiled are a few functions whose name begin with quant ... or is the ques...

5 days ago | 0

| accepted

Answered
How to apply symsum function for this eqaution
You cannot use symsum() for that purpose. symsum() expects a formula in a symbolic variable as the first parameter. The formul...

5 days ago | 0

Answered
how to show Transfer function in gui static text like in command window
aux = tf(0.01, [0.005, -0.04, -0.1]); T = evalc('aux'); Tcell = regexp(T, '\n', 'split'); Tcell = Tcell(4:6); set(handle...

5 days ago | 0

| accepted

Answered
HTTP error code 12029 when trying to install compiled app
You are probably running into a challenge that most places stopped supporting an older HTTPS encryption. See https://www.mathwo...

5 days ago | 0

| accepted

Answered
Creating 'n' matrices with each one with 'n' in its name
See https://www.mathworks.com/matlabcentral/answers/2020976-i-want-to-store-the-vector-from-each-for-loop-iteration-how-can-i-do...

5 days ago | 0

Answered
Matlab double sum over vectors
Different versions, and their timings. Except... in different runs, the timings especially for the first version varied by more...

5 days ago | 0

Answered
How to write cell array to excel file?
writecell() in later releases. In your release you are either going to need to make a bunch of xlswrite calls or else you are go...

5 days ago | 0

Answered
CANpack code generation Problem for MCU without floating-point math capabilities
roundf has been part of the C standard library since C99. However it expects floating point input and returns floating point out...

6 days ago | 0

| accepted

Answered
Strange warning how to interpret it?
I got the same thing the first time I started r2023b official on my macos ventura intel (I had prerelease before that.) I create...

6 days ago | 1

Load more