Community Profile

photo

Walter Roberson


41,342 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 2018
  • Most Accepted 2017
  • 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
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Error: Conversion to struct from single is not possible
Data.Encode.AH.High_Theta.Phases is not a cell array. Instead it is a struct, and phases{ii,jj} is an array of double. The [] o...

약 3시간 ago | 0

Answered
DICOM Image Resize Error
It is not possible to resize an entire imageDatastore. You would need to loop doing readimage() and resize them one by one, or e...

약 4시간 ago | 1

Answered
Creating plot with 2 x axes
Your ax2 is using the default background color, which is white. It is hiding the other axes.

약 4시간 ago | 0

Answered
audiorecorder is "not intended for long recordings". What is?
Yes, audio device reader from Audio System Toolbox is what you should be using for real time processing .

약 5시간 ago | 0

Answered
Conditionally Defining a Variable using ODE45
you need to use three ode45 calls , once for the three cases (before 3, during the range, after 4)

약 5시간 ago | 0

Answered
Need help writing a for loop
assign to qmin(iT) plot(Te,qmin)

약 5시간 ago | 0

Answered
How can I write this C++ script to Matlab?
for k = No_TimeSamples for i = No_Pixels SUM_1 = 0; SUM_2 = 0; for j = 1 : No_Geophones ...

약 9시간 ago | 0

Answered
While loop not performing
When you use if or while with a condition, then MATLAB only considers the condition to be true if all the values being tested ar...

약 10시간 ago | 0

Answered
Update a Line Array in one call?
Xc = num2cell(X,1); Yc = num2cell(Y,1); Zc = num2cell(Z,1); set(AllLines, {'XData','YData','ZData'}, [Xc.', Yc.', Zc.']) set...

약 10시간 ago | 0

| accepted

Answered
What is the best connection to simultaneously capture video from multiple HD cameras?
If you need tight frame synchronization then NI CompaqDaq chassis with video digitizer boards . Either software sync or chain a ...

약 11시간 ago | 0

Answered
fourier curve fitting tool box
when coefficients cross 0 that much, the fitting is having trouble choosing between at least two different configurations. For e...

약 11시간 ago | 0

| accepted

Answered
What does this section of code do?
it tries to solve nonlinear equations numerically over the range of values given in the last parameter .

약 18시간 ago | 0

| accepted

Answered
Conditional function creating with @ handle
@(xx,yy) (xx+yy).*(xx*yy>0) + (xx-yy).*(xx*yy<0) note that this will fail if xx or yy are infinite.

약 19시간 ago | 2

Answered
Am I eligible for a student license?
Tricky. You need to ask Mathworks to rule upon this . My reading of the conditions is that you would need to get a full licens...

약 21시간 ago | 0

Answered
I want to change value of a variable after every 10 iterations
for iter = 1:100 k = 1 + floor((iter-1)/10)

약 23시간 ago | 0

Answered
Convert 2D array rows to follow each other in row vector
reshape(A.',1,[])

약 23시간 ago | 0

| accepted

Answered
variable q and y
you cannot do that . When q does not have a specific value then you cannot do numeric integration . I suggest you search the ...

1일 ago | 0

Answered
adding echo to an audio file
multiply delay in seconds by sampling frequency in samples per second to get number of samples for delay. floor() to get intege...

1일 ago | 0

Answered
my urlwrite does not work for a basic ask
The server does an http 302 redirect to https, but urlwrite() does not process redirects. That said, if I change to https in t...

1일 ago | 0

| accepted

Answered
I want to call my old FIG on screen. and resave them in JPG. Please, write in details: How can I do it?
fig = loadfig('FigFileNameGoesHere.fig'); saveas(fig, 'JPGFileNameGoesHere.jpg');

1일 ago | 0

Answered
Access to GUI plot data using GUIDE
handles.C is not a graphics object so you should not get() it. You should just use the contents directly. You might be accident...

1일 ago | 0

| accepted

Answered
How to avoide image pixel quality whenever i have been resize image ?
In order to avoid problems when resizing to larger, you need to decompose the image into shapes instead of pixels. Then you draw...

1일 ago | 0

| accepted

Answered
How to use precision only when needed with dlmwrite ?
No. dlmwrite only accepts one precision argument . That argument must be an integer (which is used as number of decimal places)...

2일 ago | 0

Answered
Class with static variables in parallel global optimization algorithm
Look again at the link you provided . Notice the point about static data not being saved with an object . The process of sending...

2일 ago | 0

Answered
Can I us prerelease rrial license 2019a after its release?
Not really . The prerelease license expires soon after the scheduled release . However Mathworks seldom grants trial license ...

2일 ago | 0

Answered
Break doesn't break out of endless loop
fgets includes the terminator character . use fgetl instead of fgets

2일 ago | 0

Answered
calculating x when y is > 0
solve(v(x)==1,x)

2일 ago | 0

| accepted

Answered
How to solve a complex equation which has one equation but two real variables?
split the equation into two parts by taking real() and imag() so you end up with two equations in two unknowns .

2일 ago | 0

Answered
Plotting graph with uneven amount of vectors
take the later of the two start times and the earlier of the two end times. linspace some points between the two. interp1 the pr...

2일 ago | 0

| accepted

Load more