Community Profile

photo

Walter Roberson


Last seen: Today Actif depuis 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

Afficher les badges

Content Feed

Afficher par

A répondu
Find minimum value of a function with 4 parameters
only change is your lower bound and upper bound need to be length 4

environ 2 heures il y a | 0

A répondu
Hi, Im trying to generate the C code for my matlab code using Matlab Coder. I got a lot of errors and one of them is Function 'imshow' not supported for code generation.
You do not fix it. Or you fix it by telling matlab Coder that imshow is an external function and then provide your own imshow th...

environ 7 heures il y a | 0

A répondu
Using subs on list of symbols
name = sprintf('means%d_',m); sym_means(:,m) = sym(name,[1,p]); When you sym() a name and give a size, you generate a ...

environ 18 heures il y a | 0

| A accepté

A répondu
how does matrix division work in matlab?
Mathematically (but not in practice) if you have a column vector b and a square array A, then A*x = b is the same as saying that...

environ 18 heures il y a | 0

A répondu
Saved MAT file in the computer is greater than raw .mf4 file
Check whether you have set your preferences to save to v7.3 mat files. v7.3 can be efficient for plain numeric arrays but they h...

environ 20 heures il y a | 0

A répondu
How can I add a custom compact display in a way that does not produce errors in MATLAB versions prior to 2021b?
Have a class that has a property. In the code that initializes the property, use verlessthan to test whether you are running ...

1 jour il y a | 0

A répondu
Is there a MATLAB function similar to 'Spectrum0.ar()' from R?
https://www.mathworks.com/help/signal/ref/pyulear.html maybe ? There is also https://www.mathworks.com/help/signal/ref/periodog...

1 jour il y a | 0

A répondu
/tmp/.e6fa-d450-cf2c-87f9.tmp Invalid cross-device link
See https://www.mathworks.com/matlabcentral/answers/1798895-invalid-cross-device-link-18-when-saving-a-file-on-arch-linux#commen...

1 jour il y a | 0

A répondu
Populate a column vector with values from another column vector
A = randi(9, 1, 50); zeros_at = [0,1,2,5,7,8,11]; B = zeros(1, numel(A) + length(zeros_at)); mask = ismember((0 : length(B)-1...

1 jour il y a | 1

| A accepté

A répondu
I could not find Longitudinal driver block in trial version R2022b. How to download
That driver is part of the Powertrain Blockset product; https://www.mathworks.com/help/autoblks/index.html I do not know if th...

1 jour il y a | 0

A répondu
How to split WAV files which have grown larger than file size limit
You could try the code at https://gist.github.com/phenyque/0137d70cad0ccababfd9b7629ae1b5aa However, depending on how the data...

1 jour il y a | 0

A répondu
Indez in position 1 exceeds array bounds. Index must not exceed 2.
R=[-2436.45; -2436.45; 6891.0379]; V=[5.088611; -5.088611; 0]; x0=[R;V]; x0=x0*1000; dt=1; tVector=linspace(0,86400,2); xf...

1 jour il y a | 1

| A accepté

A répondu
too many output arguments, ploting loop function
We do not have your functions. What we do have is your line of code [a,b]=H2MSA_conversion(lifetime(j),efficiency(i), m...

1 jour il y a | 0

| A accepté

A répondu
Vertcat, I think I need to have consistent rows and columns, erroring out on B matrix creation. Can anyone show me how to make this correct?
clear all a=3; b=13; c=0; rG2a=a/2; rG3a=b/2; omega2=2000*2*pi/60; %rad/s alpha2=0; W2=1; W3=.5; W4=.2; I2=.002; I3=...

1 jour il y a | 0

A répondu
Triple integral with absolute value limits
lambda1=25/(1000)^2; lambda2=100/(1000)^2 fun =integral3(@(l0,l2,l1) (l1.^-3).*exp(-pi*(lambda2.*l2.^(2)+lambda1.*l0.^(2)))./(...

1 jour il y a | 0

A répondu
How to load multiple txt files with many rows and 4 columns and get mean of 3rd and 4th columns
projectdir = '.'; %absolute path would be even better dinfo = dir( fullfile(projectdir, '*.txt')); filenames = fullfile({din...

1 jour il y a | 1

| A accepté

A répondu
License checkout failed after cloning my HDD
Run the deactivation executable and then the activation executable. This would probably count as one of the permitted "transfer...

1 jour il y a | 1

A répondu
CNN inputs and outputs are incorrect and I don't know why
K = 10000; [X,Y] = batchCreation(K,N); We do not have that function, batchCreation, so we do not know at the moment what size(...

1 jour il y a | 0

A répondu
I should calculate sample mean ms and variance
for N = [1 2 5 10.^[ 1 : 5 ] ] at each point inside the loop, N will be a scalar value that is one of the values indicated ...

1 jour il y a | 0

A répondu
How to save and import gTruth objects
gTruth = load('Porcelain_gTruth.mat','Porcelain_gTruth'); That form of load() does not return just the variable you asked to lo...

1 jour il y a | 0

| A accepté

A répondu
Why does disappear my plot when i zoom in in the interest zone?
Your code assumes that there are continuous solutions for at least a subrange of [0 20*pi] % CONSTANTS mu=4*pi*10^-7; c=3E8; ...

1 jour il y a | 0

A répondu
How i can convert any type of image to ASCII values and store these values into one-dimensional array?
N = ndims(YourImage); indices = cell(1,N); idx = find(YourImage); [indices{:}] = ind2sub(size(YourImage), idx); values = You...

2 jours il y a | 0

A répondu
I need to know how to use the for command to calculate y=2/x
You should learn this pattern: xvals = 1:0.5:10; num_x = length(xvals); y = zeros(num_x, 1); for xindex = 1 : num_x x =...

2 jours il y a | 0

A répondu
Error using fsolve inside a parfor loop
global variables are not copied to workers in parfor. You will need to use parfevalOnAll to set the global variables to their d...

2 jours il y a | 1

| A accepté

A répondu
I have the .csv file that has the frequency of 2000 Hz. I am using the Sine fit function but when I run it and print it I am not getting the 2000 Hz as print output.
filename = 'points.csv'; % Vandit Shah format long g % Reading the data from the CSV file X = csvread(filename,16,0);...

2 jours il y a | 1

| A accepté

A répondu
vpasolve gives me only 1 x-value of intersection
vpasolve() only ever returns multiple results in the case of where the expressions are all polynomials, and there is the same nu...

2 jours il y a | 0

A répondu
Why won't the tf command work for my function?
tf() can never accept symbolic values. Also the arrays you constructed included s to powers, but tf expects just vectors of num...

2 jours il y a | 1

A répondu
How to use error handler for arrayfun?
logicalOutput = arrayfun(@(id) passingCentralZone(id), input_data.id(1:10), 'ErrorHandler', @(s,varargin) false());

2 jours il y a | 0

| A accepté

Charger plus