Community Profile

photo

Walter Roberson


Last seen: Today
50,015 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.

연락

Walter Roberson's 배지

  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Solver
  • First Review
  • 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

모두 보기

참여 게시물
보기 기준

답변 있음
Unable to perform assignment because the left and right sides have a different number of elements
if 0 <= t(i) && t(i) <= 8 V(i) = 10*t(i).^2-5*t(i); Also else t(i) > 26; That calculates whether t(i) is g...

약 13시간 전 | 1

| 수락됨

답변 있음
pre allocating variables in matlab
That's not what I get. imgThresh = im2bw(imread('image.png')); rows = size(imgThresh,1); columns = size(imgThresh,2); x=...

약 16시간 전 | 0

답변 있음
Printing after each loop
A=[1 3 4;3 5 6] U=[] for i=1:10 A = A * 2; U=A; dlmwrite('U.txt', U, '-append') end !cat U.txt

약 16시간 전 | 0

답변 있음
How to check a change in one quantity given a known in a separate but related quantity
format long g A = randi([0.5e10 6e15],1, 100); B = rand(1,100)*6-3; mask = A(2:end)./A(1:end-1) >= 10; Bdiff = diff(B); c...

약 17시간 전 | 0

답변 있음
YALMIP is not working with parfor loop
YALMIP permits you to define variables using calls such as P = sdvpar(1) and it expects that variable to be distinguished from...

약 20시간 전 | 0

답변 있음
Is there an interactive way to import one column of a table, with multiple fields, from a text file?
I think some of your premises are wrong. Mathworks has no authority to curate or correct outside sites, and it would be a di...

약 21시간 전 | 0

답변 있음
I am getting amplitude zero, But it is impossible
Not 0. The value in the first location is enough larger than the rest of the data, that the rest of the data appears close to th...

약 22시간 전 | 0

| 수락됨

답변 있음
Fill/patch with different colors
It might be possible if you played around with FaceVertexCData and similar properties for long enough, but it would be easier if...

약 22시간 전 | 0

답변 있음
Matrix Permutation to generate another Matrix
v = [2 6; 1 3; 7 5] [t1, t2] = ndgrid(v(:,1), v(:,2)); p = [t1(:), t2(:)]; p

약 23시간 전 | 1

| 수락됨

답변 있음
Indexing through an array
B = [1 4 7 10; 2 5 8 11;3 6 9 12] any(B==2,1)

약 23시간 전 | 0

답변 있음
Speed up serial Communication with parallel computing
When you plot inside a parallel worker of any kind, the result cannot be sent to the user display.

1일 전 | 0

답변 있음
Trying to arrange big data
don't use eval there. Use setfield. Split the name at _ into a cell array and do cell expansion to insert the field names http...

1일 전 | 0

답변 있음
Undefined function 'combntns' for input arguments of type 'double'.
https://www.mathworks.com/help/map/ref/combntns.html the function is part of the Mapping Toolbox. Use nchoosek instead.

1일 전 | 0

| 수락됨

답변 있음
Converting character matrix to number
str2double(cellstr(A)) or double(string(A))

1일 전 | 0

답변 있음
Error While Solving couple-Differential Equations
y(10);(-interpolated_Ug) -(C_s*(y(10)-y(8))/m_s)-(K_s*(y(9)-y(7))/m_s)]; You have the interpolation variable, *spa...

1일 전 | 1

| 수락됨

답변 있음
How to get Subplot without losing data
subplot() checks the location information you provide, and figures out what part of the figure that implies. It then checks to s...

1일 전 | 0

답변 있음
plot 21x61x22 double
volumeviewer https://www.mathworks.com/help/images/ref/volumeviewer-app.html

1일 전 | 0

답변 있음
Error using audioDatastore/read (line 25)
Wav files permit a number of different codecs (algorithms for encoding data). The software used to decode is sort of like a plug...

1일 전 | 0

답변 있음
MATLAB "conv"command valid/legal for both causal and non causal signals?
Yes. Multiplication and addition do not care where you got the values, or whether it is physically meaningful to convolve the va...

1일 전 | 0

답변 있음
Index exceeds the number of array elements (0) error. Help please
It is not advisable to use clc inside most functions. There is not typically a reason to clear the command window. You should...

1일 전 | 1

| 수락됨

답변 있음
USB-C communication
usb-c ports just show up as USB ports. usb-c is a physical connector, not a signalling protocol: the signalling protocol is USB....

1일 전 | 0

| 수락됨

답변 있음
Creating Sphere using Cuboids of varying size
%assume center at xc, yc, zc dx = sidelength/2; %Left/Right, Front/Back, Down/Up vertices = [ -1, -1, -1 %LFD 1 -...

1일 전 | 0

답변 있음
Change the position of a field in a structure
Use struct2cell() on the old structure, and fieldnames() . Then insert a new cell of values for the new field at the top of the ...

1일 전 | 0

| 수락됨

답변 있음
How generate a patch object with tetramesh?
In R2020a and earlier: Record the vector returned by tetramesh(), and call handle() on it. The result you get back will be a pa...

1일 전 | 0

답변 있음
How can I animate this plot3?
geoplot3() returns a line object. You can pull the XData, YData, ZData coordinates out of the line object and delete the line ob...

1일 전 | 0

답변 있음
Call mex function using system()?
In Linux, executables can have any valid file name. The file extension is not considered by the operating system when deciding h...

1일 전 | 0

| 수락됨

답변 있음
Using the Cancel button in uiprogressdlg to immediately stop execution
https://www.mathworks.com/matlabcentral/answers/496530-using-timer-how-can-i-cleanly-exit-a-function-execution-when-the-timer-fi...

1일 전 | 0

답변 있음
Creating regenerative random numbers
rng(655321) %or use any other positive integer constant

1일 전 | 0

답변 있음
valid indices for 'output' are restricted in parfor loop
for j= 1:100 SNR = list(j); base = (j-1)*1000; parfor i = 1:1000 totallist(base+i,1) = SNR; ou...

1일 전 | 3

| 수락됨

답변 있음
How to get matlab to read the code
Your code has load(strcat('C:\Users\User\Dropbox\My PC (LAPTOP-8G4JCC0U)\Documents\onscale',num2str(i),'\2d_simple_array.ma...

1일 전 | 0

| 수락됨

Load more