Community Profile

photo

Walter Roberson


43,873 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
read 20 images in ordered manner
See the File Exchange contribution https://www.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort Or, ...

2 hours ago | 0

Answered
Distance between point and an array.
pdist2()

5 hours ago | 0

Answered
error using imfinfo()
Images in memory such as your compareimages do not have a "bitdepth", and cannot be queried with imfinfo() Before you while lo...

5 hours ago | 1

Answered
error; Unable to perform assignment because the left and right sides have a different number of elements.
Vds=0:0.1:5; Vds is a vector of length 51 elseif Vgs(i)>Vt||Vds<(Vgs(i)-Vt) Notice on the right hand side of the || that Vds...

5 hours ago | 0

Answered
Input value in Edit text in MATLAB GUI
Use str2double() instead of str2num() .

5 hours ago | 0

Answered
Flower in a image
It is not possible to write code that can count all flowers in an image without counting anything that is not a flower. For ...

14 hours ago | 0

Answered
Delimate Table and Rewrite it
table() applied to the results of strsplit is probably giving you a table with one variable and three rows. You need to take ...

15 hours ago | 0

| accepted

Answered
How to Remove NaN (missing values) from 3d array, temporally and spatially?
I suggest you look in the File Exchange for inpaint_nans

21 hours ago | 0

Answered
lisans nasıl alcagız arkadaslar? How do we get a license?
If you are in Turkey, you need to contacte FIGES AS https://www.mathworks.com/company/aboutus/contact_us.html#TR

21 hours ago | 0

Answered
How to let a function know that a variable in another function has been updated?
You do not usually need to notify a function that there has been an update. If the function runs once and stops, then you would...

21 hours ago | 0

| accepted

Answered
How to convert 3d array to raster (tiff)
surf(lon, lat, precip(:,:,1).'); view(2)

1 day ago | 0

| accepted

Answered
How do I use randn vs randi vs rand?
rand() : creates uniform random numbers ("with replacement") in the range (0,1) exclusive. To create uniform random numbers in t...

1 day ago | 0

Answered
Remove empty rows in Table
newT = rmmissing(T);

1 day ago | 0

| accepted

Answered
imcrop function problem for 16bit image 2019b
h = imshow(I, []); [Icrop, rect] = imcrop(h);

1 day ago | 0

Answered
Question regarding parallel computing
No, the pool will time out after about 30 minutes and it will shut itself down. However, during that time it will continue to ...

1 day ago | 0

| accepted

Answered
How do I load the desired columns and rows I want from a csv file?
readtable() with 'HeaderLines', 1 and 'ReadVariableNames', false

1 day ago | 0

Answered
i already download MATLAB 2019b and 2013 but i can not find Sinpowersystem in Simulink Library of both auf this two versions
SimPowerSystems was merged with SimElectronics to create Simscape Electrical as of R2018b. None of those were included in the S...

2 days ago | 1

Answered
Datastore function can't find files
MacOS and Linux do not use \ as directory separators. You should be using fullfile() files = fullfile(pwd, 'Data', [filenames '...

2 days ago | 2

| accepted

Answered
Copying logical from one .m to another
mat2str(NameOfVariable) Should give you a character vector that you can copy and paste

2 days ago | 0

| accepted

Answered
Hardware board which support MATLAB code for data hiding
There are no hardware boards that support MATLAB source code. You can use MATLAB source code on something like a Surface Pro ta...

3 days ago | 0

Answered
Finding and counting of identical rows in a matrix
M = [ 1 300 3500 500 6000 3 200 3000 500 6500 5 150 2500 450 6000 8 400 2000 550 5500 5 200 3000 500 6500 9 150 2500 4...

3 days ago | 0

Answered
I am trying to get the binary key of each letter from my huffman dictionary. How can I do that? I tried pulling them directly from the cells using a for loop. Please help.
The data type of the entries in the second column of the returned dictionary is always double. In your commented out code you h...

3 days ago | 0

Answered
Quiver plating vectors in given equations of u and v.
dx1dt(q,1) = k(2)*(1/(1+(x2/K(2))^n)) + k(1)*((x1/K(1))^n/(1+(x1/K(1))^n)) - b(1)*x1; x2 is a 31 x 31 matrix, so (1+(x2/K(2))^n...

3 days ago | 1

| accepted

Answered
How to replace all odd numbers with infinity using find()
locations = find( Value_Is_Odd(C) ); where Value_Is_Odd is a function or expression that you write that takes in an array of va...

3 days ago | 0

| accepted

Answered
Storing the matrix values in a loop
theta=[-90:15:90]; N=length(theta); [...] for i=1:N m=cosd(theta); n=sind(theta); why bother iterating over the lengt...

3 days ago | 0

| accepted

Answered
The best approach to name .mat file when saving so can be loaded easily by calling
abc_123 format cannot handle distinguishing which of the parameters is multiple digits. For exampe is abc_1234 the case of a=1,...

3 days ago | 1

| accepted

Answered
Dividing an audio signal into frames
You can use buffer() from the signal processing toolbox. However, you need to process one channel at a time to use buffer() . 3...

3 days ago | 0

Answered
Why am I getting the error message "??? Assignment has more non-singleton rhs dimensions than non-singleton subscripts"?
https://www.mathworks.com/help/matlab/ref/fminsearch.html#bvadxhn-1-fun Function to minimize, specified as a function handle or...

3 days ago | 0

Answered
Is there a way to change the format of a datetime object that affects its display when plotting?
No, you would have to set the individual tick labels. plot() can only set object properties, so it cannot enact any behaviour t...

3 days ago | 0

Load more