Community Profile

photo

Walter Roberson


Last seen: Today 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 T0099000; if you are waiting on a reply from me for an older issue, please send me a reminder.

Programming Languages:
C++, C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English

Statistics

All
  • Roberson Cup
  • Most Accepted 2019
  • Solver
  • First Review
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012
  • Most Accepted 2013

バッジを表示

Content Feed

表示方法

回答済み
Problem running my first program
fsolve(@NL_Syst_HW4, [0,0,0]) Remember that matlab processes arguments before making the calls. The argument NL_Syst_HW4 ha...

23分 前 | 0

回答済み
How do I fix my variance? Can't figure out what wrong with my code because I keep getting NaN for my variance and y. If there anyway I could fix my variance or an easier way.
You had a persistent problem where you were assuming that var() of a vector would give you a result the same size as the vector....

約5時間 前 | 0

回答済み
A faster way to find the similarity between two signals
Maybe. It would not astonish me if parts if it could be rewritten to use an available GPU. However... the algorithm already inv...

約6時間 前 | 0

回答済み
How do I save the output array (y2) for each loop?
Under what circumstance could c be <= 0 such that the if would fail ? amultiple = input(sprintf('Enter multiple locations (0 - ...

約6時間 前 | 0

回答済み
how can I plot 3d in matlab
It would probably be easiest to just draw 3D lines using plot3() . And use grid on

1日 前 | 0

回答済み
How to loop equations and expressions used by Dynare in matlab context?
%%%%%%%%%%%%%%%%%%%%%%%%%%%% rule ={ 'a=x;' 'b=y;' "c=rho+(" + newline + ... "@ # for i in number" + n...

1日 前 | 1

| 採用済み

回答済み
How to solve a double complex ode using ode45 in MATLAB
The infinite boundary condition is a problem for symbolic solution: dsolve() rejects it. The 0 initial time is a problem: you d...

1日 前 | 1

| 採用済み

回答済み
Matlab error using imagesc()
T=Dasdata.Time(channels); Your T is a column vector. dt=T(2:end)-T(1:end-1); That makes dt a column vector, because indexing ...

1日 前 | 0

回答済み
Removing commas between columns in text data
test = {'Sometimes, ,, I, use, commas, .' 'I, like, writing, ,, I, like, reading'}; test = regexprep(test, {'(?<=[^,]),\...

1日 前 | 2

| 採用済み

回答済み
griddata command returns all NaN values
for a = 1:100 X1(a) = (5/100).*a; X1 is linear in a. c = a/50; a is a double precision integer, 1 to 100. c is the inte...

1日 前 | 0

回答済み
Sending four byte commands To serial port
cmd = [0x81 0x12 0x00 0x00]; write(YourPortObject, cmd, 'uint8'); response = read(YourSerialPortObject, 4, 'uint8'); if ise...

1日 前 | 0

| 採用済み

回答済み
Integer eigenvalues in Matlab
Take the symbolic determinant of (matrix minus lambda) . Ask to factor() that. Look for the entries of the form (lambda +/- inte...

1日 前 | 0

回答済み
I can't understand the following MATLAB code documentation
The implication is that the second part is stored in its own file.

2日 前 | 1

回答済み
Count from 1 to 0 with increment of 0.01
You need to use a negative increment to count down from a higher value to a lower value.

2日 前 | 0

回答済み
Equivalent python for a matlab line?
X = Y[z[i, 0:11],0] would be my guess. However, this relies upon the values in z having been changed to index 0 based instead ...

2日 前 | 0

回答済み
What is the difference between [v' 1] and [v', 1]?
v = ((1:3) -(2:4)*1i).' [v' 1] [v', 1] You can see that even for complex numbers, [v' 1] and [v', 1] produce the same results...

2日 前 | 0

回答済み
How can I sum each 3 columns array?
reshape(x, size(x,1), 3, []) now you can sum along the second dimension, and then reshape to remove the now-singular second di...

2日 前 | 1

回答済み
MATLAB Compiler for a .mlapp that have a .m file
https://www.mathworks.com/help/compiler/unsupported-functions.html Functions Not Supported for Compilation by MATLAB ...

2日 前 | 0

| 採用済み

回答済み
Increase number of parallel pools coworker by adding hardware?
Check your Parallel Preferences https://www.mathworks.com/help/parallel-computing/run-code-on-parallel-pools.html And check t...

2日 前 | 0

| 採用済み

回答済み
Datetime doesn't work in uitable
Your reference to handles.file_table tells us that you are using GUIDE and "traditional figures". And in traditional figures, ui...

3日 前 | 0

| 採用済み

回答済み
How can I split time series in a half?
ts1 = timeseries(rand(1,4096)); %official approach. uses indices ss2a = getsampleusingtime(ts1, 1, 2048); ss2b = getsampl...

3日 前 | 0

| 採用済み

回答済み
Symbolic integration of Marcumq.
Using the online tool here, execution can get through the calculation of "outer", but the integrals might take a while. Could y...

4日 前 | 0

| 採用済み

回答済み
give me invalid use of operator at U, why?
U = 0.75*exp(-((xmid-0.5)/0.1). 2)'; my guess is that you wanted U = 0.75*exp(-((xmid-0.5)/0.1).^2)';

4日 前 | 0

回答済み
What should go in a next-generation MATLAB X?
The ability to assign a subset of fields to a struct (array) would be useful. It is common to want to be change a few settings, ...

4日 前 | 0

回答済み
Finding global maxima and minima
Use calculas. The minima and maxima of a function can only occur at: Critical points of the function; or The boundaries that ...

4日 前 | 0

| 採用済み

回答済み
Error in array bounds
"P is 3x2396" No it is not. You assign [] to P.

4日 前 | 0

回答済み
stacking or appending tables with NaN and 'ABC' -- cell vs non-cell
If I understand correctly, you are looping reading multiple files, and want to put the results all into one large table. And tha...

4日 前 | 0

| 採用済み

回答済み
ODE15s Errors defining variable and ODE functions
Your equations involve components which subtract out T0 and P0. When you initialize the boundaries to T0 and P0 that results in ...

4日 前 | 0

回答済み
Polynomial has more than one symbolic variable error
syms m1 m2 J1 s b k1 k2 k3 r1 xi T real t=0:0.5:100; A=[-s^2*m1-s*b-k2, k2, 0; -k2, s^2*m2+k3+k2, -k3; -s^2*J1/r1-s*b/r1, 0, 0...

5日 前 | 0

もっと読み込む