Community Profile

photo

Walter Roberson


Last seen: Today 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. I am currently caught up to T0099000; if you are waiting on a reply from me for an older issue, please send me a reminder.

Programming Languages:
C++, C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English

Statistics

All
  • Roberson Cup
  • Most Accepted 2019
  • Solver
  • 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

배지보기

Content Feed

보기 기준

답변 있음
How to get the calculation amount of deep network FLOPS? Analyze Network app does not seem to count this metric?
This is quite unlikely to happen in the near future, if ever. The translation of cuda calls into machine instructions depend...

약 4시간 전 | 0

| 수락됨

답변 있음
Sum of series (infinity upper limit), only want odd number
syms N y h w z Pi = sym(pi); symsum(1/(2*N-1) * (1 - cosh((2*N-1)*Pi*y/h)/cosh((2*N-1)*Pi*w/(2*h))) * sin((2*N-1) * Pi * z/h),...

약 19시간 전 | 0

| 수락됨

답변 있음
Can anyone please help me with the error in the code
clc, clear all, close all d=sin(0.05*pi*(1:200)+2*pi*rand); g=randn(1,200); v1=filter(1,[1 -0.8],g); v2=filter(1,[1 0.6],g);...

약 20시간 전 | 1

답변 있음
"Unable to perform assignment because the left and right sides have a different number of elements error" using find command
reference=[1 2 3 4 5 6 8 9 10]; target=[1 2 3 4 6 7 8 9 10 3 8]; index = []; complete_reference = []; for i=1:9 thisref...

약 20시간 전 | 1

| 수락됨

답변 있음
Showing me wrong Matrix Size.
N= cell2mat(fds.Files); The Files field of a FileDataStore is a cell array of character vectors that holds file names. When you...

약 20시간 전 | 0

| 수락됨

답변 있음
Replace number with text
Adjust to suit A = magic(7); newA = num2cell(A); mask = mod(A,5) == 0; newA(mask) = {'NO'}; newA

약 21시간 전 | 0

답변 있음
Not getting Error message
AnEmptyString = ''; str2double(AnEmptyString) When you str2double() something empty, you get NaN, not empty. You need to check...

약 21시간 전 | 0

답변 있음
Have problem in solution
Erf=[0.2 0.6 0.7333]; Erf is a vector. y=(-0.3725*(Erf)^2)+(1.2144*(Erf))+(0.0006); You have Erf^2 . But in MATLAB, the ^ ope...

약 22시간 전 | 0

답변 있음
How to resolve the license manager error -21
The administrator of the license server needs to update the license manager software. There is nothing you can do on your side e...

1일 전 | 0

답변 있음
Display variable that user requests
Perhaps just give them the Workspace Browser? https://www.mathworks.com/help/matlab/ref/workspace.html You can find the names ...

1일 전 | 0

| 수락됨

답변 있음
How to view jpeg image like can scroll
https://www.mathworks.com/help/images/add-scroll-panel-to-figure.html You can use montage() to display multiple images, or you ...

1일 전 | 0

답변 있음
The following error occurred converting from sym to double: Unable to convert expression into double array.
When you created NM, you created it as a numeric array. You cannot "upgrade" a numeric array to be symbolic by assigning symboli...

2일 전 | 0

| 수락됨

답변 있음
The enviinfo function was used incorrectly, I don't know what went wrong.
It appears that the data file has a header that is Exposure (Ms) . This is not a standard ENVI header, but MATLAB tries to put...

2일 전 | 0

답변 있음
How to put a legend in Scatter3 Plot?
scatter3(score_PCA(:,1), score_PCA(:,2), score_PCA(:,3), 15, label, 'filled') That generates one graphical object legen...

2일 전 | 0

| 수락됨

답변 있음
Placing a slider control on a surf plot?
You are using surf() and you are not passing in an axes handle to surf(). In that combination, surf() is going to use gca() to...

2일 전 | 0

| 수락됨

답변 있음
integration of erf function
syms c p d cpd u x real Pi = sym(pi); phi(cpd) = 1/sqrt(2*Pi) * int(exp(-x^2/2), x, -inf, cpd) f = int(exp(-p)*phi(c*p+d), p,...

3일 전 | 0

| 수락됨

답변 있음
read unstructured data with readtable function
The table is fixed width. Use fixed width import options; https://www.mathworks.com/help/matlab/ref/matlab.io.text.fixedwidthimp...

3일 전 | 0

답변 있음
Invalid expression error when I try to introduce new variable.
You cannot just define a constant inside a class by assigning to it, and expect it to be available to your functions. You can c...

3일 전 | 1

답변 있음
How to graph a function that consists of summations?
g = ga(:); T=(0.1:0.001:1); E = reshape(0:13, 1, 1, []) ; F1 = sum(-(E.^2).*g.*exp(-(E-13)./T),3); F2 = sum(-g.*exp(-(E-13...

3일 전 | 0

답변 있음
zero pad array to multiple of 8
A_padded = A; new_rows = ceil(size(A,1)/8)*8; new_cols = ceil(size(A,2)/8)*8; if new_rows ~= size(A,1) || new_cols ~= size(A,...

3일 전 | 1

| 수락됨

답변 있음
How to solve single non-linear equation?
syms A B n X(t) V(t) eqn = diff(V(t) .* X(t)/(1-X(t)), t) == A*n - A*X(t) - B*X(t) SE = simplify(lhs(eqn) - rhs(eqn)) collect...

3일 전 | 1

| 수락됨

답변 있음
I have a 2 dimensional array. I want to view it.
How do you want to view it? As text? trajectories(:,1) should display the first column. However it is possible that your MATLAB...

3일 전 | 1

| 수락됨

답변 있음
May I know how convert tuple to dictionary in MATLAB
filename = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/744999/New%20Microsoft%20Office%20Excel%20Worksheet.x...

3일 전 | 0

답변 있음
Units help to plot
values = randi([0 800], 1, 10) b = [-800 300 800]; mask = values < b(2); scaled(mask) = (values(mask)-b(1))./(b(2)-b(1)); sc...

3일 전 | 0

답변 있음
how to calculate theta
Xo = 1234; V = 20000; syms theta t = .1:.1:1; eqn = 3010 == Xo + (V .* cosd(theta)) .* t thetas = double(arrayfun(@(E) vp...

3일 전 | 0

답변 있음
Convert units to g
%need some data for demonstration t = seconds(0:0.5:10); y = randn(1, length(t)); %now do the work y_g = y ./ 9.80665; pl...

4일 전 | 1

| 수락됨

답변 있음
add multiple lines to a single plot without using "hold on/off"
%% Create Plots % Would like pressure dist overlaid on airfoil shape tiledlayout(2,1); ax1 = nexttile; plot(ax1,x,y); hold(...

4일 전 | 0

| 수락됨

답변 있음
Huge number of iterations
fcn = @() fopen( sprintf( 'chem_%d.txt', labindex ), 'wt' ); w = WorkerObjWrapper( fcn, {}, @fclose ); % a and b are cell arra...

4일 전 | 0

답변 있음
How to loop over a function call?
y = [y1, y2, y3, y4] fun = @(x) reshape(sum(arrayfun(@(Y) Least_square(x(:), Y), reshape(y, 1, [])),2), size(x))

4일 전 | 0

| 수락됨

답변 있음
Can not shift image relative to plot with Imtranslate
and shown with imshow(image) I do not recommend imshow() for this purpose: it does too many things to the axes that are not des...

4일 전 | 1

| 수락됨

더로드