Community Profile

photo

Walter Roberson


43.880 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
While Loop, question how to implement it
n=100; x=rand(1,n); k=1; while k<n && x(k) <= 0.95 k=k+1; end disp([num2str(k), ‘ is the index of the first element in ...

ongeveer 2 uur ago | 0

Answered
Moving 3D patch object along a trajectory
There are three ways of doing this. Create a patch and record its handle. At each time step, update the patch XData and YData ...

ongeveer 3 uur ago | 0

| accepted

Answered
Argument of a function includes another function
[leftbound, rightbound, whatever_nf_stands_for] = bisect(@fofx, some_a, some_b, tolerance_to_use);

ongeveer 3 uur ago | 0

Answered
Summation of Random Numbers
I would use a while loop. while summation <= x %add a random integer to the summation end

ongeveer 4 uur ago | 0

| accepted

Answered
How do I only take the first 1000 elements of a vector?
NameOfVariable(1:1000)

ongeveer 6 uur ago | 0

Answered
For loops and If statements not working correctly
https://www.mathworks.com/matlabcentral/answers/480004-need-help-with-taking-an-array-inside-a-for-loop-and-plotting-it#answ...

ongeveer 6 uur ago | 0

Answered
Please help me !!! Error using * Inner matrix dimensions must agree. Error in GRAFICA_TOTAL_2 (line 40) Volum= (2*T.^2*q1+q2*T.^3*((1/2-(A1*(A2-A3))/2*C*Ro*G(A1+A2-A3))))
Volum= (2*T.^2*q1+q2*T.^3*((1/2-(A1*(A2-A3))/2*C*Ro*G(A1+A2-A3)))) q2 is 1 x 301. T is 1 x 301. The * operator is algebraic mat...

ongeveer 7 uur ago | 1

| accepted

Answered
read 20 images in ordered manner
See the File Exchange contribution https://www.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort Or, ...

ongeveer 8 uur ago | 0

Answered
Distance between point and an array.
pdist2()

ongeveer 11 uur 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...

ongeveer 11 uur 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...

ongeveer 12 uur ago | 0

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

ongeveer 12 uur 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 ...

ongeveer 21 uur 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 ...

ongeveer 21 uur 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

1 dag 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

1 dag 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...

1 dag ago | 0

| accepted

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

1 dag 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 dag ago | 0

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

1 dag ago | 0

| accepted

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

1 dag 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 dag 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

2 dagen 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 dagen 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 dagen 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 dagen 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 dagen 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 dagen 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 dagen ago | 0

Load more