
Walter Roberson
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.
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English
Statistics
RANK
1
of 258.197
REPUTATION
122.431
CONTRIBUTIONS
34 Questions
54.872 Answers
ANSWER ACCEPTANCE
52.94%
VOTES RECEIVED
15.925
RANK
of 17.794
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
How can I lower to 0 the base of a window signal?
subtract min(signal) from signal
7 minutos ago | 0
Writing cells to text file without double quotes
fprintf(fid, "%s\n", YourCell{:})
8 minutos ago | 0
indexing error, out of index error
size = []; size is now an empty variable ndata = size(xdata,1) You are trying to index the empty variable
10 minutos ago | 0
Is it possible to bin/discretize multidimensional matrices?
bins = discretize(TheMatrix, Vector_of_Breakpoints); It does not matter how many entries are in Vector_of_Breakpoints as long a...
alrededor de 4 horas ago | 0
Unrecognized function or variable 'gausswin'
eml_invariant is a function that would normally only be used during code generation. setdiff() and computer() do not contain any...
alrededor de 6 horas ago | 0
what is eml_invariant function ?
eml_invariant is a function that would normally only be used during code generation. setdiff() and computer() do not contain any...
alrededor de 6 horas ago | 0
Register COM Matlab Application TLB for certain version on when multiple versions installed
See https://www.mathworks.com/help/matlab/matlab_external/register-matlab-as-automation-server.html for R2020a and later.
alrededor de 8 horas ago | 0
Why the function or variable A is not recognized?
You have not defined A in the base workspace, so it does not exist for you to be able to pass its value into the function.
alrededor de 8 horas ago | 0
| accepted
How can I find "evaluateFit" function of matlab?
https://github.com/Hassan1503/MATLAB-UDF/blob/main/evaluateFit.m has the source code.
alrededor de 11 horas ago | 0
| accepted
How to linear fit two y variables in same plot?
polyfit(x1, y1, 1)
alrededor de 11 horas ago | 0
| accepted
Is it possible to use Matlab to get expressions for the coefficients in polynomial regression? (I.e., not just constant coefficients)
For each equation divide both sides by the highest negative coefficient, k4(Xhat)/Xhat^(-2) = a8*Xhat^(-2)/Xhat^(-2) + etc ...
alrededor de 11 horas ago | 0
Arduino using matlab GUI, The current sensor gives a value without connecting anything.
That is expected for any input line that is not pulled high or pulled low.
alrededor de 12 horas ago | 0
Writing fitness function in multi objective GA
mobj = @(x) [fun1(x); fun2(x) ]
alrededor de 16 horas ago | 0
i can't save my plot as a png
You are cd to a directory that you do not have write access to. In particular you might be cd to the matlab installation directo...
alrededor de 17 horas ago | 0
| accepted
Getting - Matrix dimensions must agree, using surf
When you call surf(X, Y, Z) in your very old release, the number rows in Z must match the number of rows in Y and the number of ...
alrededor de 18 horas ago | 0
Hello, our collaborator has installed Matlab Runtime v9.7, why he gets the error "Matlab.exe not found" ?
MATLAB Component Runtime is *only* used to execute programs compiled with MATLAB R2019b (and no other versions) . It is *not* MA...
alrededor de 18 horas ago | 0
How can I change voxel size in a volume?
In order to keep the aspect ratio, all dimensions must be interpolated by the same factor, which would be max() of the requested...
alrededor de 19 horas ago | 0
I'm trying to plot log-log graph for the black body spectrum with frequency range 10^9 to 10^19 with temperatures 3000k, 5000k, 10000k, 20000k, 30000k I can't plot the graph
B = (2*h*nu.^3/c.^2) ./ (exp(h*nu./(k*T))-1);
alrededor de 21 horas ago | 0
Why do I receive 'not enough input arguments' in ode45
G=matlabFunction(subs(G,svars,vars),'Vars', {[q q_d]} ); C=matlabFunction(subs(C,svars,vars),'Vars', {[q q_d]} ); W=matlabFu...
alrededor de 23 horas ago | 0
Check for missing argument or incorrect argument data type in call to function 'int'.
P = inf(size(f)); P(f==0) = 0; You are integrating a vector of non-negative real constants from 0 to infinity. The integ...
1 día ago | 0
Error using sym/subs>normalize (line 226) Inconsistency between sizes of second and third arguments.
Jg = subs(J, {lambda theta}, xout); %Jacobian When you use {} around the list of values to replace, then the third parame...
1 día ago | 0
How to remove an unwanted file in dataset for example : ".DS_Store"
Specify the file extensions to import. That file will not match the extensions. Also if you use a wildcard to specify the fil...
1 día ago | 0
explanation of the matlab code
Equivalent code: rentedforVector(count, 1:9) = decision == (0:8); With no for loop. If decision is 0 then the first c...
1 día ago | 0
| accepted
Create legend based on a if loop statement
you are doing a separate scatter3 for each point. Each of those will result in a new plot object. Your legend call with three la...
1 día ago | 1
| accepted
Dynamically Creating Variable Alternatives
parfor sliceno=1:size(Data, 3) slice = Data(:, :, sliceno); change slice Data(:, :, sliceno) = slice; end
1 día ago | 1
| accepted
Not enough input arguments
You have a function named movie_kernel that expects to be passed one or more parameters, including a parameter it refers to as X...
1 día ago | 0
| accepted
Ode23 error using odearguments
I0=subs ( I0 , ' 3.14 ' , pi ) ; After that add IO = double(IO);
1 día ago | 1
| accepted
Is it possible to have an .exe file which works as a function with inputs and outputs inside MATLAB environment, like a c++ .exe or a MATLAB app?
You could use .Net System.Diagnostics.Process to start a process and do i/o redirection of input and output. Most commonly somet...
1 día ago | 0
How to plot digital sequence in MATLAB
If you are certain that all of your values are finite, then you can replace u[n] by (n>=0) If you have negative infinite valu...
1 día ago | 0
How do I find the nature of turning points using this function?
values that are exactly the same are derivative 0. Once you find a value not equal to the first value, then any string of increa...
1 día ago | 0