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 T0099119; if you are waiting on a reply from me for an older issue, please send me a reminder.

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

Statistics

All
  • Most Accepted 2021
  • Roberson Cup
  • Solver
  • First Review
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012

バッジを表示

Content Feed

表示方法

回答済み
how to convert complex number into double number?
siz=256; x=nan(1,siz+1); %<------------PREALLOCATE!!! y=nan(1,siz+1); %<------------PREALLOCATE!!! Z=0.78;% initial value of ...

約9時間 前 | 0

回答済み
Unable to import txt file
train = fullfile(dataFolder, "train_FD001.txt"); [train_data1, train_labels1] = importdata(train)

約9時間 前 | 0

| 採用済み

回答済み
keeping the variable names same
MATLAB uses Name/Value pairs in which the first element of the pair tells the option name and the second element of the pair ind...

約10時間 前 | 0

| 採用済み

回答済み
remove grid lines completely
filename = 'something.fig'; fig = openfig(filename); ax = findobj(fig, 'type', 'axes'); set(ax, 'XGrid', 'off', 'YGrid', 'off...

約10時間 前 | 1

| 採用済み

回答済み
Detection of pixels in image that are not in focus
"blur" is perceived when there is a loss of detail -- corresponding to loss of high frequency information. If you do a low pas...

約11時間 前 | 0

| 採用済み

回答済み
run the program in matlab
T3=1e-9:1e-9:1e-6; for i=1:numel(T3) t3=T3(i); [b]=fminsearch(@(b) abs(trial0(complex(b(1),b(2)), t3)) ,[1,1]); ...

約11時間 前 | 0

回答済み
How to convert the following UTC to serial date number?
format long g utc_t = '2018-345T02:19:02.175Z' utc_dt = datetime(utc_t, 'InputFormat', "uuuu-DDD'T'HH:mm:ss.SSS'Z'") time = d...

約11時間 前 | 1

| 採用済み

回答済み
extract data from cell array
c{1,1}.name = 'Tom'; c{1,1}.age = 48; c{2,1}.name = 'Bob'; c{2,1}.age = 24; c{3,1}.name = 'Jim'; c{3,1}.age = 12; vec_age = c...

約19時間 前 | 0

| 採用済み

回答済み
Searching word list for key letters
wordList = {'apples' 'orange' 'banana'}; ContainList = 'shu'; NotContainList = 'br'; mask1 = contains(wordList, num...

約19時間 前 | 0

回答済み
How to find index of continous non-NaN values?
mask = ~isnan(Sal(:).'); %row vector needed starts = strfind([false mask], [false true]); stops = strfind([mask false], [true...

約20時間 前 | 0

回答済み
Subs does not do the job
e=sym('e',[J 1]); e would be a vector containing symbols named e1 e2 e3 A=replace(A,'w','e(1)'); That e(1) will not be t...

1日 前 | 0

| 採用済み

回答済み
How can I use conv() in a function handle and keep original vector size, but not use 'same'/'valid'?
a = [1,2,3] b = [1,2,3,4,5,6] FirstN = @(V,N) V(1:N) c = @(x) FirstN(conv(a,b(x(1))), numel(a)) However... you are using x(1...

1日 前 | 0

| 採用済み

回答済み
Substitute variables in function handle
What you have already done should work. Although all of the function handles will look the same, they would have captured diffe...

1日 前 | 0

回答済み
how can i know the programming behind a MATLAB GUI
I can tell from the list of files that what you have is a compiled executable built by MATLAB Compiler. You are not intended to ...

1日 前 | 0

| 採用済み

回答済み
Define function with nonlinear equation system vercat error
You have a multi objective search, trying to simultaneously minimize four different objectives. fmincon is only able to minimize...

1日 前 | 0

回答済み
How can I set two different color for each lsline in the scatter plot?
lsline creates a least squared line for each scatter plot in the axes. At the time you call lsline the first time you have pl...

1日 前 | 0

| 採用済み

回答済み
Distance between points in a graph
pdist() can be configured with a number of different distance metrics. However, I have to wonder if you are assuming that the 5...

2日 前 | 0

回答済み
Perhaps a bug in matlab?
It is correct that it should not be giving you the solution. Your equations do not account for the possibility that you might be...

2日 前 | 0

回答済み
How can I deploy some GUI (from app designer) into a raspberry pi 4?
No, Application Compiler uses MATLAB Compiler, which can only target (Intel) Linux, (Intel) WIndows, or (Intel) MacOS (ARM MacOS...

2日 前 | 0

回答済み
Hello, I have purchased the MatLab_R2021b license (4XXXXXXX, Standard, Perpetual). Does this license include the toolboxes? If it does, how can I download and install them?
If you use Add-On Explorer while you are using that account, then you can navigate to the toolbox you are interested in. If you ...

2日 前 | 0

回答済み
exportgraphics streches images whily saving if 'visible' is 'off' - bug?
Figure layout including axes layout (including xlim and ylim) is not performed until the figure visibility is turned on.

2日 前 | 0

回答済み
Error using reshape when creating a new cell array in a loop
for j = 1:numel(participants) N = block_size*ceil(numel(participants{j},1)/block_size); participants{j,1}(end+1:N,:) =...

3日 前 | 1

回答済み
how to make my text in matlab coloured ?
See the File Exchange contribution named cprintf https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-for...

3日 前 | 0

回答済み
Hello every one, How can I generate randomly only one number between two values (e.g.: 0.01-1)each time?
Remove the fix() call. fix() asks to take the integer portion of the value (rounding towards 0)

3日 前 | 0

| 採用済み

回答済み
I have written a code for pressure calculation in bearing. i have found this error. Index in position 1 exceeds array bounds (must not exceed 142). Error in (line 680)
T = (NX+1)*(NY+1); % calling is done as Q(X=1 or Y=2, Node number) for I=1:T x=Q(1,I); y...

3日 前 | 0

回答済み
How to get interval of X for a certain value of Y in a plot or array.
idx = find(y >= 0.3); xmin = x(idx(1)); xmax = x(idx(end));

4日 前 | 0

| 採用済み

回答済み
How do I convert tall array duration time vector to HH:mm:ss for merging with tall array datetime vector ?
perhaps [h,m,s] = hms(DURATION_COLUMN); DATETIME_COLUMN = TIME_COLUMN + duration(h,m,floor(s)) or perhaps DATETIME_COLUMN = ...

4日 前 | 0

回答済み
Can students change scripts in Live Editor without having Matlab installed.
No, they *would* need MATLAB installed for what you describe. However perhaps you can use "MATLAB Online", see http://matlab....

4日 前 | 0

回答済み
FMINCON requires the following inputs to be of data type double: 'X0'.
fun = @(x)FCVEC06January2022V2; That says that fun is to become an anonymous function that accepts zero or one input arguments,...

5日 前 | 0

回答済み
binary matrix to decimal number
A = [1 0 1 1 0 0 1 0 ] bin2dec(char(A+'0'))

5日 前 | 1

| 採用済み

もっと読み込む