Community Profile

photo

Walter Roberson


Last seen: Today
46.825 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 can I copy figure to UIAxes?
Use imhandles() on the figure that is showing the gramm object. You can now copyobj() the resulting handle(s) to a uiaxes that...

alrededor de 6 horas ago | 0

Answered
convert csv file and write to another .m file
filename = '100Cr6.csv'; S = fileread(filename); S = regexprep(S, {',', ';'}, {'.', ','}); mdata = cell2mat( textscan(S, '', ...

alrededor de 6 horas ago | 0

Answered
hello everyone, i have this urgent problem
I discus one of the techniques in https://www.mathworks.com/matlabcentral/answers/496730-how-to-start-and-stop-parallel-timer-de...

alrededor de 14 horas ago | 0

| accepted

Answered
Error using matlab.ui.control.internal.model.AbstractNumericComponent/set.Value (line 111) 'Value' must be a double scalar.
app.EditField.Value = double(x3) ;

alrededor de 15 horas ago | 0

| accepted

Answered
Is there any discrete mathematics solver for symbolic equations ?
you will need to use evalin or feval into the symbolic engine, and use rec() to build the recurrence equation and then solve() t...

alrededor de 17 horas ago | 0

Answered
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
[bestpar, resnorm, residual, exitflag, output, lmd, jacobian] == lsqnonlin (@ fz_costo_sana, startpar [0.01 0.01; .01] [10 10 ...

alrededor de 18 horas ago | 0

Answered
Keeping command line programs open while inputting and outputting text files
You should be using .Net processes https://blogs.mathworks.com/loren/2010/12/07/using-microsoft-net-to-expand-matlab-capabili...

1 día ago | 0

Answered
run .exe file with matlab in unix
exe files are Windows executables that are not directly usable in Unix. If you have a windows emulator such as wine you might...

1 día ago | 0

Answered
matlab conersion code needed
Change the endif to end Change the endfor to end I did not see anything else at the moment

1 día ago | 0

Answered
how to find a exact word in a string?
length(regexp(str, '\<talk\>'))

2 días ago | 0

Answered
How to solve this system of nonlinear equations composed of symbolic variables
F=@(x,y)[eqn3;eqn4;eqn5]; Okay, F takes two arguments and ignores them and returns an array of items based on symbolic x ...

2 días ago | 0

| accepted

Answered
How to compute arccos for a matrix?
It depends what you are trying to calculate. Using the formulas at https://en.wikipedia.org/wiki/Arccos_(trigonometry)#General...

2 días ago | 0

Answered
Replace string with another value
S = {'13 Jon Walker', '23 skidoo', '0 infinite way blvd'}; upper(regexprep(S, '^.*\s+(...).*', '$1'))

2 días ago | 0

Answered
How can I do implicit differentiation
Example syms y(x) DY eqn = acot(x^2+x*y) - asin(x+y) == y^3-x; dy = diff(y); deqn = diff(eqn,x); Deqn = subs(deqn, dy, DY);...

2 días ago | 0

Answered
How to insert special symbol into plot label?
DSQ = char(hex2dec('211a')); qval = randn(); mylabel = sprintf('%s factor = %g', DSQ, qval); xlabel(mylabel) Note: this will...

2 días ago | 0

| accepted

Answered
how to delete a row in a cell array
[~,idx] = sort(cell2mat(A(2:end,3))); A(idx(1:2)+1,:) = [];

2 días ago | 0

Answered
Is that possible to view the codes of standalone application?
" Is there any way that someone views the codes through using .exe files?" Yes. Mathworks could do this. The reports I have s...

2 días ago | 1

Answered
How to make a structure to be input of a function and then its updated version to be output of the function?
s = struct(); for K = 1 : 10 s = updatestruct(s); end for K = 1 : 10 s = updatestruct2(s); end disp(s) f...

2 días ago | 1

Answered
Who could get all the data in the attached file by the matlab?
filename = 'tem-001.txt'; S = fileread(filename); SS = strjoin( regexp(S, '^\s*-?\d.*$', 'match', 'lineanchors', 'dotexceptnew...

2 días ago | 0

Answered
merging date and time columns in a timetable
tt = table2timetable( YourTable, 'RowTimes', datetime(YourTable.Date) + duration(YourTable.Time) );

3 días ago | 0

| accepted

Answered
Error while Diagonalizing the Matrix
Do not use P^(-1), which is also known as inv(P), if you can avoid doing so. The calculations have too much numeric difficulty. ...

3 días ago | 0

Answered
Downloading text files from Matlab causes them to be corrupted
Don't use Notepad. Use Notepad++ or any editor created in the last 20 years. Notepad is so old it is only able to properly handl...

3 días ago | 0

| accepted

Answered
Don't simplify while using 'latex'
In some of the earlier releases, it was possible to ask to, for example, latex('3*x - 5*x') It would not be unreasonable to wa...

3 días ago | 0

| accepted

Answered
Not got the ordered student suite license
Today is a holiday in the USA; it might be a few days before your order is processed.

3 días ago | 0

| accepted

Answered
fast fourier tranform gives unequals amplitudes for frequencies with initially (before the fft) the same amplitude
sin(2*pi*(900*10^-9)^-1*t) (900*10^-9)^-1 is 1111111.11111111 Hz. But your sampling frequency is 32768. You have about 33.9 cyc...

3 días ago | 0

Answered
How to create an underline in text
https://www.mathworks.com/matlabcentral/answers/95028-how-can-i-create-a-latex-table-from-a-matlab-array shows the latex code ...

3 días ago | 2

Answered
Is an infinite for loop infinite?
No, if you use for i=1:inf then MATLAB will stop after 9223372036854775806 iterations. That number is 2^63 - 2 On my system,...

4 días ago | 1

Answered
A year containing a date or not
year = 2050; month = 1; has_sunday30 = weekday(datetime(year, month, 30)) == 1;

4 días ago | 0

Answered
Undefined function or variable in my simple project
Your code only has alamatfile as a local variable to btnBrowse_Callback . You are not saving it for use in other functions. htt...

4 días ago | 0

| accepted

Load more