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

약 3시간 전 | 0

답변 있음
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...

약 3시간 전 | 0

답변 있음
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...

약 4시간 전 | 0

답변 있음
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...

약 4시간 전 | 0

답변 있음
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...

약 13시간 전 | 0

답변 있음
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...

약 13시간 전 | 0

답변 있음
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);

약 14시간 전 | 0

답변 있음
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...

약 14시간 전 | 0

답변 있음
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...

약 16시간 전 | 0

| 수락됨

답변 있음
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...

약 16시간 전 | 0

답변 있음
dynamic time warp matlab economic data
Signal processing toolbox, dtw

약 16시간 전 | 0

답변 있음
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...

약 17시간 전 | 0

| 수락됨

답변 있음
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-...

약 17시간 전 | 0

답변 있음
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_...

약 17시간 전 | 0

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

약 19시간 전 | 0

답변 있음
How do i generate a user-defined function that computes Taylor series implementation of e*
The derivative of exp(x) is exp(x) so you do not need to any real work for the derivative parts. You just have to work with the ...

약 19시간 전 | 0

답변 있음
I tried to do Monte Carlo simulation in MATLAB, but it cannot be run! Can anyone help me?
You define a function but do not invoke the function. The function does not have access to any of the variables you define be...

1일 전 | 0

답변 있음
I tried to show effect of uncertain parameters on bi-variate function with color map and aslo highlight changes to max and min,I am not sure the function I wrote is right!!!
y=lhsnorm(50,10,10,"on"); [xmin,fval]=fminsearch(@(x)Z(x,y),x0,options) %min The y referred to there is being "captured" fr...

1일 전 | 0

답변 있음
synonyms functions for uigetfile or uiopen
You can use uigetfile() with 'multiselect', 'on' . The first output of uigetfile() will be numeric if the user cancelled. The...

1일 전 | 0

| 수락됨

답변 있음
how do I know if a vector is equal to any of vectors in matrix?
transpose mem_mat and use ismember with the 'rows' option.

1일 전 | 0

답변 있음
İnvisible plots and a error
clear; clc; y0=3; x0=1:5; for i=1:5 l(i)=sqrt(x0(i)^2+y0.^2); Q(i)= atan(y0/x0(i)); end figure(1) plot(x0...

1일 전 | 0

답변 있음
Why do I receive Arrays have incompatible sizes for this operation
You have an if that is then followed by a comparison not by an assignment. Level_Either_Side == [Level_Either_Side Sor...

1일 전 | 0

답변 있음
How can I extract rows using column values?
classes_needed = [49, 55, 11, 32, 13, 29, 30, 20, 33, 43, 24]; mask = ismember(emnist(:,1), classes_needed); subset = emni...

1일 전 | 2

| 수락됨

답변 있음
Find x-value of cfit function.
See John's solution at https://www.mathworks.com/matlabcentral/answers/320275-finding-values-from-cubicinterp-fit#answer_250485 ...

1일 전 | 1

| 수락됨

답변 있음
How can I plot a similar graph like below in MATLAB using txt file
data = readmatrix('test1.txt'); plot(data(:,1), data(:,2:4)); legend({'Fx [kN]', 'Fy[kN]', 'Fz [kN]'})

1일 전 | 0

| 수락됨

답변 있음
Plot graph in App Designer
Change plot(app.UIAxes,gain,f); to bodeplot(app.UIAxes, gain, {0,f} );

1일 전 | 0

답변 있음
How To Write a Long-Decimal Number Data With Fprintf?
kode_annual = string(transpose(annual_equation)); change that to kode_annual = compose("%.10g", annual_equation); It is impor...

1일 전 | 0

답변 있음
How to export plot with multiple axes.
I would suggest that you create a uipanel(), and parent the axes to the uipanel, and then exportgraphics() the uipanel. Or, exp...

1일 전 | 1

답변 있음
Index value for button group
https://www.mathworks.com/help/matlab/ref/uibuttongroup.html#mw_64460ebb-84cc-4b21-8e3c-1da7ae15c44d SelectedObject for a uib...

2일 전 | 0

| 수락됨

답변 있음
i have an error in imshow
There are three possibilities: * you might have a corrupted MATLAB installation * you might have a file named Image.m on you...

2일 전 | 0

더로드