Community Profile

photo

Walter Roberson


Last seen: Today Active since 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

View badges

Content Feed

View by

Answered
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...

44 minutes ago | 0

Answered
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...

environ une heure ago | 0

Answered
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...

environ 2 heures ago | 0

Answered
How to perform the following commands?
temp = abs(result1(1,:)); temp(temp==0) = nan; [~, idx] = min(temp) ;

environ 3 heures ago | 0

| accepted

Answered
Voltage dips on matlab
square() is -1 to +1. you multiply by 0.7 and add 0.3 so you get a range of -0.4 to +1. You multiply your signal by that, but ...

environ 5 heures ago | 0

Answered
Run Matlab code in
https://www.mathworks.com/help/supportpkg/raspberrypiio/run-on-hardware.html

environ 5 heures ago | 0

Answered
fit scatter plot to a curve
x = [0,0.1, 0.2, 0.3, 0.4, 0.46, 0.55, 0.6]; y =[0, 0.0982, 0.1359, 0.126, 0.0778, 0.0827, 0.063, 0.0599]; f= polyfit(x,y,7)...

environ 5 heures ago | 0

| accepted

Answered
help im getting this error
zerocross(F, ukuran, sigma) at the time you invoked zerocross with that line, you had not defined ukuran. Possibly you had ...

environ 6 heures ago | 0

Answered
Understand a part of code Detection CFAR
switch upper(technical) case 'AC' is like if isequal(upper(technical), 'AC') and the next case would be "else...

environ 8 heures ago | 0

Answered
How to extract data from another aplication ?
Unless the app provides a better solution, you will need to ask to capture the screen in that area, and then do Optical Characte...

environ 9 heures ago | 0

Answered
How can I loop for Exponential Decay?
c=c_0*exp(-k(3)*t); if t increases by 1 then the next value is exp(-k(3)) times the previous one. So in loop form, for each...

environ 9 heures ago | 0

Answered
how to store pixel location and color from impixelinfo
What you describe is more Data Cursor http://matlab.izmiran.ru/help/techdoc/creating_plots/data_ex7.html impixelinfo is more...

environ 10 heures ago | 0

Answered
Is there is any alternative for evalclusters (Evaluate clustering solutions)
Yes, for kmeans, the optimal number of clusters is always size(unique(Data, 'rows'), 1) That is, the optimal number of c...

environ 11 heures ago | 0

Answered
How to do the computation using fuzzy logic
The output shown is incorrect. The cup symbol means set union and the upside down cup means set intersection. Almost all of thos...

environ 11 heures ago | 0

Answered
Constrained optimization of a vector
Use fmincon. Make the objective f1^2 and use a nonlinear equality constraint with f2.

environ 14 heures ago | 0

Answered
how can i solve Error in gui_mainfcn
You previously crashed during execution so STOP_Callback did not get executed so "clear all" did not get executed. You need to m...

environ 19 heures ago | 0

Answered
Change in behavior of filtfilt function between 2016b and 2019b?
Yes. By R2020a x is explicitly documented as having to be finite valued. The code test was added in a previous release, but t...

environ 19 heures ago | 0

Answered
Using CPLEX with MATLAB newest version
https://groups.google.com/g/cobra-toolbox/c/kP38fqFQQ4k IBM no longer supports cplex for MATLAB, so you are restricted to ver...

environ 20 heures ago | 0

Answered
Vectorization of for loops with symbolic functions inside
Yes, you can vectorize the code completely by just assigning 0 and 0 as the solutions. You construct eq3 as the sum of two sc...

environ 20 heures ago | 0

Answered
how to make a polygon with direction of points?
You can create a transformation matrix. I recommend using makehgtform() . Transforms for it are applied right (last) to left (fi...

1 jour ago | 0

Answered
use ga optimization but got error for ga process
syms x [1 2] x1=x(1); x2=x(2); y=(4*x1.^2)-2.1*x1.^4+1/3*x1.^6+(x1*x2)-4*x2.^2+4*x2.^4; c=-sin(4*pi*x1)+2*sin(2*pi*x2)^2...

1 jour ago | 0

Answered
Create an input array from -1*pi to 1*pi
% Create an input array from -1*pi to 1*pi t=-pi:pi; % Calculate |sin(t)| x=abs(sin(t)); %plot result plot(t,x);

1 jour ago | 0

Answered
Hello, I need a code that gets the local minimum of a histogram by using for loops.
Initialize to index 1. Initialize to "potentially in a local minima" If you are potentially in a local minima, check to see if...

1 jour ago | 0

Answered
Fitting data with custom equation and custom interval
The fundamental problem is that you have an expression raised to a negative power, and if that expression can ever be 0, that gi...

1 jour ago | 0

| accepted

Answered
i have error in this code while using ode45
[250 :0 350] Your vector of initial conditions only has one entry. Your line of code will not be interpreted as [250, :0, 35...

1 jour ago | 0

Answered
dynamic time warp matlab economic data
Signal processing toolbox, dtw

1 jour ago | 0

Answered
Trying to code from Polymath
Use the symbolic toolbox. Move all of the initializations of constants first. Then syms cc cp ca co and convert each of thos...

1 jour ago | 0

| accepted

Answered
Write in an opened excel file using MATLAB
You can put together the reading logic from https://www.mathworks.com/matlabcentral/fileexchange/22365-function-for-faster-data-...

1 jour ago | 0

Answered
How to write code for flowchart
period = 40e-6; for REPEATS = 1 : 500 %box 1, 40 microsecond interrupt last_event_time = tic; while toc(last_...

1 jour ago | 0

Answered
Error using freqz, 6 columns needed to be a valid SOS matrix
Your recording of your friend is probably stereo. Your code assumes mono.

1 jour ago | 0

Load more