Community Profile

photo

Walter Roberson


Last seen: Today
47.148 total contributions 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.

Contact

Walter Roberson's Badges

  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • Solver
  • First Review
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012
  • Most Accepted 2013
  • Thankful Level 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4

View all

Contributions in
View by

Answered
something is wrong in my plotting code
syms y(t) t Y a b x(t) [V,Subs] = odeToVectorField(diff(y, 2) == -1*(a-b*cos(2*t))*y); M = matlabFunction(V,'Vars',{t,Y,a, b})...

alrededor de 2 horas ago | 0

Answered
How can solve constrait optimization?
A = [1 1 -1] b = 0 for A*X <= b, where X = [x; y; z], expresses x+y-z<=0 , which is x+y<=z Your other constraints that you pos...

alrededor de 2 horas ago | 0

Answered
how to solve the following equation to get lambda values from it?
modulus is a matrix operator; on a 2 x 2 input, it would give a 2 x 2 output. You ask that it be equal to 0: are you asking that...

alrededor de 2 horas ago | 0

Answered
readFrame() too slow. How to switch too VideoFileReader and VideoPlayer?
%Load file fileList = dir('*.mp4'); video_name = fileList(1).name; vid = vision.VideoFileReader(video_name); hfig = figure(1...

alrededor de 3 horas ago | 0

| accepted

Answered
Scoping Data over Serial in Real Time - Is it feasible?
In theory a USB 2.0 port should be able to handle that data rate for a virtual COM port, provided that at least 160 bits of payl...

alrededor de 5 horas ago | 0

Answered
Greek character in script turned to a square or a question mark - any ideas why?
R2020a is the first release that handles UTF8 encoding in a way that is natural to the user. In releases before that, you had t...

alrededor de 5 horas ago | 0

Answered
MATLAB coder GUI / CLI shows cryptic errors: libmwboost / CUDA_CODEGEN
"Invalid MEX-file '/path/on/my/machine' : libmwboost_system.so.1.65.1: cannot open shared object file: No such file or directory...

alrededor de 5 horas ago | 0

Answered
how to solve this error: FSOLVE requires all values returned by functions to be of data type double?
PV=@(c0) double(integral(G(c0,y)*f(y),0,(3*Cp*sqrt(n)))-alpha); PV is a function handle. x=fsolve(@(c0)PV,0); @(c0)PV is a fu...

alrededor de 5 horas ago | 0

Answered
plotting a special function
if((teta>pi/4)&(pi<teta<=5*pi/4)), Nteta=7*N/8; You are overwriting all of Nteta there, with a scalar. At the end of your for ...

alrededor de 5 horas ago | 0

Answered
parfor: unable to classify
The majority of "Unable to classify" errors that can be solved without a large rewrite, can be solved by steps similar to these:...

alrededor de 6 horas ago | 0

Answered
uiwait, msgbox, listdlg are not working properly in Matlab 2013a with Windows 7
What shows up for which -all set In particular you should be interested in anything that is not marked as a java method or bui...

alrededor de 6 horas ago | 0

| accepted

Answered
How to play random song from list box in GUI Matlab?
songnames = handles.AppropriateListboxName.String; N = length(songnames); randomsong = songnames{randi(N)}; and then proceed ...

alrededor de 6 horas ago | 0

| accepted

Answered
Import data file with comma decimal point
In fairly recent versions of MATLAB, readtable() can now process text files that use comma as decimal point. If it does not auto...

alrededor de 7 horas ago | 2

Answered
actxserver not calling application
TotalTide Defence appears to date from 2002 in some releases. I am having trouble tracking down details, but my suspicion is tha...

alrededor de 10 horas ago | 0

Answered
Why do I get Linker errors while building a Simulink model to dll file
https://github.com/ldc-developers/ldc/issues/822 You are using Sdk7.1 compiler which does not implement some of the C99 functi...

alrededor de 11 horas ago | 0

Answered
passed to equation that has variable of symbolic
as discussed in https://www.mathworks.com/matlabcentral/answers/570979-second-argument-must-be-a-vector-of-symbolic-variables#an...

alrededor de 11 horas ago | 0

Answered
plot just y or y' in a second order eq.
syms y(t) x(t) [V] = odeToVectorField(diff(y, 2) == -1*(1-1*cos(2*t))*y); M = matlabFunction(V,'vars', {'t','Y'}); [ty,y] = o...

alrededor de 14 horas ago | 0

| accepted

Answered
How to replace string values in a column of a table into numeric?
fruit_types = {'apple', 'orange', 'grape', 'banana', 'kumquat', 'peach', 'tomato', 'strawberry', 'pineapple', 'kiwi', 'blueberry...

alrededor de 15 horas ago | 0

| accepted

Answered
Problem with adjusting custom colormap and colorbar
The colormap process is uniform mapping. All bars are the same size. However you can assign the same color to multiple bars. ...

1 día ago | 1

| accepted

Answered
growing bubbles with a predetermined radius in a given volume?
No, there is no code for that. For it to be maximum possible it would have to solve the sphere packing problem, which is general...

1 día ago | 1

Answered
[SIMULINK] Sound interface, multiple inputs and outputs
https://www.mathworks.com/help/audio/ref/audiodevicereader.html The block will read all of the channels unless you choose the...

1 día ago | 0

Answered
Solving a simple integral with input equation from user
syms x str = input('Enter an equation in x: ','s') ; f = str2sym(str) ; xmin= input('Lower limit of x: ') xmax= in...

1 día ago | 1

Answered
Why sum block outputs value half of the input?
There is no implied delay between blocks, and you have configured a continuous solver. Your system is equivalent to asking ...

1 día ago | 0

| accepted

Answered
Choose rows that the first column is larger than the second column
A(A(:,1)>A(:,2),:)

1 día ago | 0

| accepted

Answered
Error message of fminsearchbnd
fmincon is an iterative process. There is a built in limit on the number of steps that it will take. Sometimes that is not enoug...

1 día ago | 0

| accepted

Answered
Agilent 33250a Function Generator. How to get the waveform via serial port?
I seldom look at waveform generators, several years apart... but it happens that someone else asked me about them this morning, ...

1 día ago | 0

Answered
GAN Training: Error with augmented image datastore
https://www.mathworks.com/help/deeplearning/ref/augmentedimagedatastore.html#mw_d4cb9c52-c701-4e94-95d8-96ae545d295f You prese...

1 día ago | 0

| accepted

Answered
how can i solve this error
integral() is reserved for numeric integration. You are doing integration of symbolic expression. You need to use int() or vpain...

2 días ago | 0

| accepted

Answered
Can anyone explain me why M' is taken in the following code?
By default, min() and max() operate along the first non-scalar dimension. If you have a 2D array, m x n, with m and n both not 1...

2 días ago | 0

Answered
Printing output of evalfis to a static or edit textbox in GUIDE GUI
handles.AppropriateHandle.String = num2str(Y); This will give you problems if Y has multiple rows, unless handles.AppropriateHa...

3 días ago | 0

Load more