Community Profile

photo

Walter Roberson


43,626 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
How do I add row and column separators, and a border in a table so it looks like a real table?
You cannot do any of those things in r2019a. As of R2019b it is possible to use variable names that are not matlab identifier...

2 hours ago | 0

Answered
Find minimum of an n variable function, n is like 800+
No. With 800 variables and non linear curv, it is unlikely that a global minimizer will find the global minimum. Especially so ...

2 hours ago | 1

Answered
Is it possible to select an m-file for a "MATLAB function" block in Simulink?
No, you cannot load files into MATLAB Function Block. You can use the MATLAB Function Block as a very thin wrapper that just...

3 hours ago | 0

Answered
How to show tf function to text box?
sys_char = evalc(sys); sys_cell = splitlines(sys_char); sys_cell = sys_cell(2:end-2); %some useless empty lines set(handles...

12 hours ago | 0

Answered
Is it possible to restore a deleted mat file?
Sorry, not through any method provided by Mathworks. Your operating system or third-party utilities might provide undelete meth...

13 hours ago | 1

| accepted

Answered
is there any way to put two plots in one legend entry?
That happens automatically unless you do one of the following: call legend with a single legend entry, such as inside a loop or...

13 hours ago | 0

Answered
How do I remove leading characters from a string?
segments = regexp(dummy{1,1}{i,1}, '\t', 'split'); Perhaps you could have used readtable() on the ascii file: it would like...

13 hours ago | 0

| accepted

Answered
Block Error, Singularity in Solution?
What I had to do to get your model to execute without error message, was to uncomment the saturation block that feeds the 1D loo...

13 hours ago | 0

Answered
How to reference a variable saved as .mat file to execute code
t = cyc_mph(:,1); Vmph = cyc_mph(:,2); for tidx=2:length(t)-1 a = (Vmph(tidx+1)-Vmph(tidx-1))/(2*(t(tidx+1)-t(tidx-1)));...

17 hours ago | 1

| accepted

Answered
Help needed: empty plot when plotting for loop
Do not assign to Pw. Instead assign to Pw(i-1)

20 hours ago | 1

| accepted

Answered
How to use webcam given in our systems?
If the camera is built in to your system then you need https://www.mathworks.com/matlabcentral/fileexchange/45183-image-acquisit...

24 hours ago | 0

Answered
feval error in GUI implementation
You have function uipanel1_CreateFcn(hObject, eventdata, handles1) function Reader1Correct set(handles1.uipanel1, 'Back...

1 day ago | 0

| accepted

Answered
How to filter certain parts of a string.
S = char(wdoc.Content.Text); x = regexp(S, '^Introduction:.*?(?=^\nSummary:)', 'match', 'lineanchors');

1 day ago | 0

Answered
re-insall MATLAB because of changing to a new computer
https://www.mathworks.com/matlabcentral/answers/142388-how-do-i-transfer-a-student-or-home-license-to-a-new-computer#answer_145...

1 day ago | 0

Answered
How do I replace multiple strings in text file at the same time?
S = fileread('YourFileNameHere.txt'); newS = regexprep(S, {'C-C', 'A-A'}, {'D-D', 'C-C'}); This replaces C-C with D-D everywhe...

1 day ago | 1

| accepted

Answered
Communication Toolbox comm.GeneralQAMTCMDemodulator Question
No. It is a .p file and cannot be editted.

1 day ago | 0

Answered
Why I am getting "Constraints are not satisfied within constraint tolerance." from using "gamultiobj"?
Infeasible individuals are present in the final population. This means that not enough feasible locations were found to displa...

1 day ago | 0

Answered
gui uitable choice list linkage
This cannot be done with a uitable for traditional figures. uitable for traditional figures implement menus by setting the ent...

1 day ago | 1

Answered
How to set the volume of beep sound and save it as wav?
You forgot to mention that you are using Psychtoolbox 3. audiowrite('NameOfWavFile.wav', beepWaveform, 44100); However, it is ...

1 day ago | 0

| accepted

Answered
help me debug this script!
n = 1:35 dataset_pfc_tar_57_n = dataset_pfc_tar_57(n,:) With n being a vector of length 35, dataset_pfc_tar_57_n is going to h...

1 day ago | 0

| accepted

Answered
Why does the resolution become extremely bad when increasing the linewidth when using the the circle as marker.
OpenGL has no built-in markers. All that it has are built-in square points. Therefore in order to create the markers, MATLAB has...

1 day ago | 0

Answered
Index exceeds matrix dimensions
num_padding = round(length(temp_x)*0.5);% padding number length is defined as: temp = size(TheInput) if any(tem...

1 day ago | 0

Answered
How to iterate through a Matrix using for loops?
The code does go through all of the different theta values. However, your for el loop writes to the same places in KG for each d...

1 day ago | 0

Answered
using improfile in 2D image.
surf(my_image, 'edgecolor','none')

2 days ago | 0

Answered
how can i set random number generation limit?
You will need to use https://www.mathworks.com/help/stats/prob.normaldistribution.truncate.html to truncate the probability dist...

2 days ago | 1

Answered
Why does ode45 generate different sized vectors depending on how output is defined?
https://www.mathworks.com/help/matlab/ref/ode45.html#d117e989842 sol = ode45(___) returns a structure that you can use with dev...

2 days ago | 1

| accepted

Answered
I am getting a blank graph when I try to plot a while loop. I am not sure why. My code is below. Thank you MATLAB
You are plotting one point at a time but you have no marker specified. MATLAB never deliberately joins points from different ...

2 days ago | 1

Answered
How to use scatter function with different marker, markerFaceColor?
You will need to get a job or internship with Mathworks with the goal of extending the scatter object to handle multiple markers...

2 days ago | 0

Answered
Drawing shape from coordinates
Computer Vision Toolbox insertShape function

2 days ago | 0

| accepted

Load more