Community Profile

photo

Walter Roberson


Last seen: Today
46.523 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 to integrate a function using a GUI
When you get the String property of an object, the result is a character vector (or sometimes a cell array of character vectors,...

alrededor de 1 hora ago | 0

Answered
What is the best/right way to get a warndlg message/string?
x = warndlg(); char(get(findobj(x,'type','Text'), 'String')) The String property by itself will be a cell array of character...

alrededor de 12 horas ago | 1

| accepted

Answered
Sum Of Series Matrix version
to build x0 i have to grab from z(1:2), for u0 z(3). and so on... How am i going to do this? You could just hard-code it in t...

alrededor de 13 horas ago | 0

Answered
Random numbers like lotto
randperm(49, 6) The "6/49" lotteries here also involve an "bonus" or "extra" number, in which case it might be randperm(49, 7) ...

alrededor de 13 horas ago | 0

Answered
Found another way please don't answer
at any one time you only need a few pieces of information: * are you currently in a run * length of the current run * maxim...

alrededor de 20 horas ago | 1

Answered
Mapping a cell array on another cell array
No, there is no alternative for that situation. That situation cannot be handled at all, except for the case where x is a vector...

1 día ago | 0

Answered
Using the function in 'logmvnpdfFS'
You need to install https://www.mathworks.com/matlabcentral/fileexchange/72999-fsda

1 día ago | 0

| accepted

Answered
Plot Multiple Functions in a single call to fplot
is this issue resolved in future release fplot() operates in different modes: if an x or y input is a function handle, then i...

1 día ago | 0

| accepted

Answered
Could I modify the string position in the"TextScatter3" function ?
XData, YData, and ZData properties together control the positions.

2 días ago | 0

| accepted

Answered
How do I convolve a transfer function with a rect function?
Use symbolic calculations. The transfer function would be syms s syms t real Pi = sym(pi); f = 1E9; w = 2*pi*f; h = w/(s...

2 días ago | 1

| accepted

Answered
Format Specifier in textscan
The file contains values that exceed 2^31-1 which is the limit for signed 32 bit integers. If you are required to read into 32 b...

2 días ago | 2

Answered
Reshape data to insert into eeglab
For any one 40 x 12 x 4096 array, permute(TheArray, [2 3 1]) To run through several files, see http://matlab.wikia.com/wiki/FA...

2 días ago | 0

Answered
Is it permissible to re-install a specific older version of MATLAB on an existing license, after having to re-install my Operating System and application software, due to a catastrophic system failure (and, if so, how)?
Yes, you can install any version you have paid for, and any earlier versions as well. (For versions before 2012 you might need t...

2 días ago | 0

| accepted

Answered
Add class to Scripts
That cannot be done. Class methods can only be defined inside of .m files whose first executable word is classdef

3 días ago | 0

Answered
Classify requires at least 3 arguments
There are multiple functions named classify() Most of the classify() routines are methods of particular data type, and will on...

3 días ago | 0

Answered
How to take advantage of AWS Ec2 if my code cannot be parallelized?
Edit the cluster profile to increase the number of threads per worker. The parpool size must be reduced by the same proportion. ...

4 días ago | 0

| accepted

Answered
which kind of license can I use?
Standard individual license, also known as Professional license or Commercial licence (all are the same thing.) None of the o...

4 días ago | 1

| accepted

Answered
32bit Compiler options
MATLAB Coder can generate C code that can be compiled by whatever toolchain you want. However MATLAB Coder supports very little ...

4 días ago | 1

Answered
How can I compare two separate images (before and after) and count how many pixels are in a particular spectrum?
Example: RGB=imread('image.jpeg'); figure(1) imshow(RGB) HSV = rgb2hsv(RGB); H = HSV(:,:,1); R = RGB(:,:,1); G = RGB(:,:...

4 días ago | 0

Answered
Trouble with struct indexing?
The best approach is not to do that. http://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be...

4 días ago | 0

Answered
How to merge text files vertically?
projectdir = 'directory files are in'; outdir = 'directory files are to be written to'; %should not be same as projectdir ...

5 días ago | 0

Answered
Normalized to unity by summation
You can use out= ((abs(c0)).^2) + symsum(c,n,1,inf); and that will be faster than for upper bound 100. The symsum() will stay ...

5 días ago | 0

| accepted

Answered
How to import to Matlab many text files as table type
projectdir = 'directory the files are in'; dinfo = dir(fullfile(projectdir, '*.txt')); %use appropriate extension filenames ...

5 días ago | 0

Answered
image processing canny edge detection
YourImage = imresize(imread('baby.jpg'), 1/8); R = YourImage(:,:,1); G = YourImage(:,:,2); B = YourImage(:,:,3); ER = ed...

5 días ago | 1

Answered
Use Period Marker to fill circles drawn using viscircles
viscircles draws two lines with the same coordinates but with different line widths (and potentially different colors). This is ...

5 días ago | 0

| accepted

Answered
easy question : why i get NaN here ?
J = 0.01; b = 0.0737; K = 0.072; R = 1.17; L = 0.024; syms w temp = K/(w*(((J*w+b)*(L*w+R))+K^2)); tempc = collect(temp...

5 días ago | 1

Answered
adding books to book list
fprintf(fid, '%s %s %s\n', NewCode, NewName, NewGenre) ;

6 días ago | 1

Answered
Error: The variable Calls in a parfor cannot be classified.
%% Place Call Times into corresponding variables CallA = Calls{1}; Earlier you index Calls{i} where i is the parfor ...

6 días ago | 0

| accepted

Answered
I kept on getting error that says "Error in port widths or dimensions. 'Output Port 1' of 'simulink_controller/Sum2' is a [2x2] matrix."
Pass the output of the Sum2 block through a Selector block https://www.mathworks.com/help/simulink/slref/selector.html

6 días ago | 0

Answered
Is there a way to change the range function of xlsread based on a variable input?
var = input('enter excel column: ', 's'); variable1 = xlsread('filename.xlsx', sprintf('%s4:%s4', var, var)); variable2 = xlsr...

6 días ago | 0

| accepted

Load more