Community Profile

photo

Walter Roberson


44.294 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

  • 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
  • Thankful Level 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
How do i convert this data
reshape(A.',1,[])

alrededor de 6 horas ago | 1

| accepted

Answered
[Convert from Double to Single]
>> flintmax('single') ans = single 16777216 your 214748368 exceeds that, so you have exceeded the point at which...

alrededor de 8 horas ago | 1

| accepted

Answered
Install matlab from hard drive
In the Windows command prompt, cd to the directory that you extracted the files into, and run the setup.exe that you find there....

alrededor de 8 horas ago | 0

Answered
How can I save multiple pictures via imwrite with the same scale?
If you have R2018a or later, you can use normalize() to rescale the data. Otherwise you can use mat2gray() to rescale data. Or j...

alrededor de 8 horas ago | 0

Answered
How do I plot these for loops?
for k=1:5 y0 = 0; [t,y] = ode45(@(t,y) k*t, tspan, y0); hold on title('Exponential Model') grid on end You are not plotti...

alrededor de 11 horas ago | 0

Answered
how to get struct array field as a vector and compare the two fields
Under the assumption that IM and memorability are scalars for each entry, then IM = [YourStructArray.IM]; memorability = [Your...

alrededor de 11 horas ago | 0

Answered
What is function for quantile regression in Matlab2018b?
https://www.mathworks.com/matlabcentral/fileexchange/32115-quantreg-x-y-tau-order-nboot is a user function. But see also https...

alrededor de 11 horas ago | 0

| accepted

Answered
Problem with the interp function
out_vector = [reshape((reshape(diff(time_vector), [], 1) * (0:factor-1)/factor + reshape(time_vector(1:end-1),[],1)).',1,[]), ti...

alrededor de 11 horas ago | 0

| accepted

Answered
Other alternative than syms for differentiation and integration?
https://www.mathworks.com/help/matlab/ref/polyder.html for the special case of polynomials.

alrededor de 12 horas ago | 0

Answered
How to change the x axis labels of a plot so that they only show integer values
ax = gca; ax.Xticks = unique( round(ax.XTicks) );

alrededor de 12 horas ago | 0

Answered
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
If your x and y are 2D arrays (not vectors) with more than 1 column, then h and p will have one entry per column. Note that tte...

alrededor de 12 horas ago | 0

Answered
How to use uigetfile to open subfolder's file.
[file,filepath] = uigetfile('*.txt'); if isempty(file); return; end %user cancel fullname = fullfile(filepath, file); WISET...

alrededor de 13 horas ago | 1

| accepted

Answered
How to sort and rearrange time series data into random groups?
readtable(). If necessary, add the duration variable corresponding to the time, to the datetime variable for the date -- though ...

alrededor de 13 horas ago | 0

| accepted

Answered
how to pull a single value from excel and use in a calculation in matlab.
Unless you can be certain that the user can only choose values that are present to within round-off error (e.g., that they will ...

alrededor de 13 horas ago | 0

Answered
Display comma as decimal digits separator in simple 2D plots
No, the only way to do that is to build a TickLabels cell array of character vectors, or string object array, containing the cha...

alrededor de 14 horas ago | 0

| accepted

Answered
How to scalean array of data so that the first value is 1
https://www.mathworks.com/help/matlab/ref/double.normalize.html normalize() is R2018a or later and you are using R2017b. For r...

alrededor de 14 horas ago | 0

Answered
Shortcut for open searching panel of editor name?
I am not clear as to what you want, but it might possibly help to know that editors = matlab.desktop.editor.getAll; This is an...

alrededor de 14 horas ago | 0

Answered
how to measure the diameter of a circle
bwareafilt to remove the small noise objects inside the circle. Invert the result so the open area becomes white. bwareafilt for...

alrededor de 15 horas ago | 1

Answered
Trouble running glmnet in Matlab R2019b on Mac Os Catalina 10.15
You need to whitelist the executable; https://bugs.launchpad.net/gcc-arm-embedded/+bug/1832620

alrededor de 16 horas ago | 0

Answered
Can't numerically solve the integral
syms x b = 25; y(x) = 15*((0.2969*sqrt(x/25))-(0.1260*(x/25))-(0.3516*(x/25)^2)+(0.2843*(x/25)^3)-(0.1015*(x/25)^4)); %needs t...

alrededor de 16 horas ago | 1

| accepted

Answered
i am facing this error again and again. can any help me how to solve this problem?
C:\Users\arshadali\Desktop\new dataset\watershed.m needs to be renamed. It is interfering with calling https://www.mathworks.com...

alrededor de 20 horas ago | 0

Answered
Matlab doesn't "Pause on Error" till Infinite recursion
There are some third-party toolboxes that define isrow() and that interferes with MATLAB. Check which -all isrow What you see ...

1 día ago | 1

Answered
Play sounds in background of GUI Matlab
You can use an audioPlayer object with play() method: that defaults to non-blocking. However, it is not all that good at playing...

1 día ago | 0

Answered
Colour of legend doesn't change?
Your a looks to have multiple columns, so S1 would have multiple columns. plot(f,S1,'b'); would generate one line object per ...

1 día ago | 0

| accepted

Answered
How to get all of the roots of a syatem of second order equation ?
It is not possible to use constraints with fsolve() What you can do is fmincon() on the square of your function; when you are l...

1 día ago | 0

Answered
What do these different colors of stem plot indicates?
complex value matrix of size 512x40 stem() applied to real() and imag() of that is going to create 40 different stem plots. The...

1 día ago | 0

Answered
when i use inv to find the inverse matrix of A,i found inv(A)*A is not the identity matrix
H_AB = sqrt(1/2)*[randn(2,7) + j*randn(2,7)] You are building a 2 x 7 matrix. When you then do H_AB'*H_AB then the result has r...

1 día ago | 0

Answered
Run pushbutton automatically as soon as the GUI is visible without pressing the pushbutton
In the OpenFcn callback, create a timer object configured for a single execution, and have the callback for the timer object be ...

1 día ago | 0

| accepted

Answered
is N210 USRP UBX-40 doughterboard supported by matlab
The software support package handles all daughter boards that are compatible with the UHD release being used. https://www.mathwo...

1 día ago | 0

| accepted

Answered
vpa adding ".0" to the end
https://www.mathworks.com/help/matlab/matlab_prog/searching-and-replacing.html regexprep can also be used. I can also offe...

1 día ago | 0

| accepted

Load more