Community Profile

photo

Walter Roberson


Last seen: Today
45,329 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
How to simply the code to reduce elapsed time
Creating an audiorecorder() object is expensive. You should avoid doing that each cycle. Create the object outside the loop and ...

1 hour ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number
You do not assign to the global variables fit or penalty except inside the function main2(). Global variables that are not assig...

4 hours ago | 0

Answered
How to get missing functions in Matlab 2018b about table and timetable operations?
The needed functions are present in r2018a, but were not showing up in the pop-up help because the pop-up help can only pop up f...

8 hours ago | 0

Answered
Error: ()-indexing must appear last in an index expression.
You need to use a temporary variable, or you need to use a helper function, or you need to use the subsref function (which has a...

17 hours ago | 0

Answered
How to print Chinese characters using disp
fread the file *uint8pprecision, instead of fileread. Use native2unicode UTF8 to process the byte sequence into characters. Or i...

21 hours ago | 0

Answered
Script termination via uicontrol call function
You have four options to stop a script without its cooperation: 1) you can quit() MATLAB. Note that if you do this then onCle...

21 hours ago | 0

Answered
How to delete a cell in gui
When you get() a property from more than one graphic object, you get back a cell array in response. You are trying to use num2st...

1 day ago | 0

| accepted

Answered
Trademark or Copyright symbol
https://en.m.wikipedia.org/wiki/Trademark_symbol I am not certain at the moment that you can use the latex that is shown; pos...

2 days ago | 0

Answered
readtable is not reading the time 12:00:00 AM?
Your input format specification should be 'MM/dd/yyyy hh:mm:ss a' to read that. m is minutes not month H is only for 24 hour ...

2 days ago | 0

Answered
Does there exist a QL decomposition?
https://www.mathworks.com/matlabcentral/fileexchange/16536-qr-rq-ql-lq-factorizations

3 days ago | 0

Answered
Read a function in a GUI
fXr = double(subs(Funcion,x,Xr)); fXa = double(subs(Funcion,x,A));

3 days ago | 1

| accepted

Answered
subplot() to alling different sized graphs on the same figure
subplot(2,2,1) plot f subplot(2,2,3) plot g subplot(2,2,[2 4]) plot f and g together The ordering is across, unlike linear...

3 days ago | 1

| accepted

Answered
Non-integer values inside "Randi" function
random_perturbations = randi([e_min e_max],1,R);] That ] should not be there at the end of the line.

3 days ago | 0

Answered
data excel algorithm genetic
Use readtable() or xlsread() to read the data. Once it is read into MATLAB, MATLAB does not care where it came from, so it becom...

3 days ago | 0

Answered
How do I graph an adjacency list?
Easiest way is to convert the adjacency list into an adjacency matrix. For each entry, set the matrix true at the row number cor...

3 days ago | 1

| accepted

Answered
how to convert Fotran format statment in matlab?
Is the format being used to read data, or to write data? If it is being used to write data, then the equivalent would be fmt =...

3 days ago | 0

| accepted

Answered
Is there a danger in renaming a Matlab install folder
The registry would have been configured to use that path . You might be able to use the File Association Fix contribution in th...

3 days ago | 2

| accepted

Answered
Old installation key - new Matlab version?
No. Installation keys have never been valid on newer releases than they were issued for. And even if they were, the format of ...

3 days ago | 0

| accepted

Answered
How to fix the bugs in my matlab code?
http://www.codeforge.com/article/174131 has the source code for gvd_curve_pcf2

3 days ago | 0

Answered
Can't figure out the mistake here. Gives me an error at line 5 and 16
Your z is clearly complex valued numeric, but you are trying to use z as an index into an array named f that you are creating. ...

3 days ago | 0

Answered
How do I get the inverse laplace of this time function?
Use the tf2sym function from https://www.mathworks.com/matlabcentral/fileexchange/10816-ovivero-mimotoolbox Transfer functions...

3 days ago | 0

| accepted

Answered
Borrowing license didn't work
The MATLAB license may need to be borrowed as well, unless you have a LNU (Login Named User) license for it on your system. LNU...

3 days ago | 0

Answered
How to rename field in a struct?
In current releases of MATLAB it is not possible to get numeric field names, not even if you load a file written by third-party ...

4 days ago | 0

Answered
Error using optimization tool bx
linprog() does not permit a function handle as the first argument. linprog is linear programming, which permits the problem to b...

4 days ago | 0

Answered
need help with textscan order
S = fileread(Save_Airfoil.txt); S = regexprep(S, '^.*---\s*$', '', 'lineanchors'); dataBuffer = cell2mat(textscan(S, '%f%f%f...

4 days ago | 0

Answered
interp1 find values at axis zero problem The grid vectors must contain unique points.
The below entry numbers ignore the header line (so they refer to array indices) Entry #102 occurs again at #111 Entry #105 occ...

4 days ago | 1

| accepted

Answered
Indexing and iteration problem. Few lines holding me back. Please, HELP!
Em(a,b) your a and b are floating point numbers which cannot be used as indices. Em(ind_am, ind_Am) It is confusing that...

4 days ago | 0

Answered
How to print contents of nested cell array to uitable?
Astr = cellfun(@string, A, 'uniform', 0); Alen = cellfun(@numel, Astr); maxlen = max(Alen); FirstN = @(V,N) V(1:N); Astr =...

4 days ago | 0

Answered
Rounding numbers below 0.7 to 0.7
Recommended: efficiency_final_array = max(efficiency_final, 0.7); For some reason this code never executes the if statement in...

4 days ago | 1

Answered
How to create an infinite matrix?
You cannot. The maximum array size in MATLAB is 2^48 - 1.

4 days ago | 0

| accepted

Load more