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
Can students change scripts in Live Editor without having Matlab installed.
No, they *would* need MATLAB installed for what you describe. However perhaps you can use "MATLAB Online", see http://matlab....

etwa 3 Stunden ago | 0

Answered
FMINCON requires the following inputs to be of data type double: 'X0'.
fun = @(x)FCVEC06January2022V2; That says that fun is to become an anonymous function that accepts zero or one input arguments,...

etwa 12 Stunden ago | 0

Answered
binary matrix to decimal number
A = [1 0 1 1 0 0 1 0 ] bin2dec(char(A+'0'))

etwa 13 Stunden ago | 1

| accepted

Answered
MATLAB function gives me error
Those solid markings appear to me to indicate that you are using a Simulink Bus Creator https://www.mathworks.com/help/simulink/...

etwa 13 Stunden ago | 1

Answered
Converting symbols in columns to different numeric values
syms GB KC TB TEN picks1 = [GB TB TEN KC]; orders1 = perms(picks1); GBv = [45; 29; 18; 7]; TBv = [127; 60; 34; 11]; TENv =...

etwa 15 Stunden ago | 1

Answered
Is it possible to reconstruct an image from the number of pixel counts and bins information?
I = imread('pout.tif'); imshow(I) I1 = reshape(sort(I), size(I)); imshow(I1) [c,b] = imhist(I); [c1,b1] = imhist(I1); all(...

etwa 17 Stunden ago | 0

| accepted

Answered
I need to read an array to see if it has repeated elements (using for loop)
cont =0; for i=1:length(Vec)-1 for j = i+1:length(Vec) if Vec(i) == Vec(j) ...

etwa 19 Stunden ago | 0

Answered
How does this function work? - echo, assert ...
The function does none of the actual work needed. Instead it overrides the functions that are used to check that the solution wo...

etwa 22 Stunden ago | 2

| accepted

Answered
Run Simulink Simulation from using Matlab Engine API for C
https://www.mathworks.com/help/matlab/calling-matlab-engine-from-c-programs-1.html There is no specific interface for Simulink...

etwa 22 Stunden ago | 0

| accepted

Answered
Losing pixels with imrotate
No there is no way. In every case where you rotate by something that is not a multiple of 90 degrees, pixels will change. Con...

etwa 23 Stunden ago | 1

Answered
How can I define a symbolic function with vector arguments?
You cannot do that in MATLAB. You can use matlabFunction with the 'vars' option to generate a function handle that indexes in...

ein Tag ago | 0

Answered
Simplifying results from rat function
[N,D] = rat(0.642857142857143)

ein Tag ago | 1

| accepted

Answered
How to shifting or move the time axis to the left in a MATLAB plot.
Pass the coordinates of the independent axes to plot() before the dependent coordinates -- plot(x,y)

ein Tag ago | 0

Answered
Unable to find explicit solution
If you look carefully at the graph, you can see a couple of discontinuities at negative t values. At first I thought it was a ...

ein Tag ago | 0

Answered
Hi, I wanted to implement MATLAB code "the scrambled pixel value is further converted to binary information sequence of size 8 bits ".
https://www.mathworks.com/matlabcentral/answers/527513-converting-image-to-bits-and-vice-versa#comment_1942575

ein Tag ago | 0

Answered
pathdef.m dont execute in 2020a
User turns out to have F:\feature.m that is interfering with use of system_dependent()

2 Tage ago | 1

| accepted

Answered
How to put conditions to use data from command window
Assuming that CD is a scalar, and that AB and BC are column vectors and that Speed is a row vector: statuses = ["unsuccessful",...

2 Tage ago | 0

Answered
Need Help Understanding a Line of Code Related to Strings
c.simcmd = 'set path=($path /cad/cadence/IC615.06.15.502.lnx/tools/bin); /cad/cadence/MMSIM13.ISR12.11.292.lnx86/tools/bin/spect...

3 Tage ago | 1

Answered
Symbolic summation of vectors/matrices
In MATLAB, it is tempting to use symsum(), but unfortunately that will not work. The difficulty is that the variable of summatio...

3 Tage ago | 1

| accepted

Answered
how to convert an image into bits???
reshape() to reconstruct the image. The remote side will need to know the image size, so either the size will need to be fixed o...

3 Tage ago | 0

Answered
I dont understand, i try to use solve to find x in Matlab Function Block
@Benjamin has shown you how to solve the equation using syms However, syms requires the MATLAB Interpreter, and so is only ava...

3 Tage ago | 0

| accepted

Answered
Symbols to numeric values
I already showed you X = double(sol.X) Y = double(sol.Y) Z = double(sol.Z) ... about 11 hours ago. To get that format of di...

3 Tage ago | 1

Answered
Unique workspace for each instance of Interpreted MATLAB Function block?
https://www.mathworks.com/help/simulink/ug/model-global-data-using-data-stores.html "In this example, the top model uses a sig...

3 Tage ago | 0

Answered
Is it possible to process the sparse matrix faster with vectorization instead of for loop?
Point_Data = readmatrixread('E:\pointdata.txt'); % Point Data = xyz coordinate data of 3D points r = 4; mdl = KDTreeSearcher...

3 Tage ago | 0

Answered
What can I use instead of 'lsqcurvefit'
lsqcurvefit()'s normal output is "local minima possible". The only time you do not get that message is if the fitting is being...

4 Tage ago | 0

Answered
How do I write a .LAS file from .mat data?
guid1 = uint32(0); %32 bit guid2 = uint16(0); %16 bit guid3 = uint16(0); %16 bit guid3 = blanks(8); %unsigned char 8 b...

4 Tage ago | 0

Answered
How to run the same code over and over with one different detail of an event changing each time (temperature the cooling water turns on).
You already have [t1,y1,te,ye,ie] = ode15s(@(t,y)fun(t,y(1),y(2),y(3),y(4),y(5),y(6),iflag), tspan, initial_conditions,options)...

4 Tage ago | 0

Answered
Definite integration using int command
h = 5; a = 2; syms y x = 3.8; p = 2.*x.^2+2.*a.*y; q = x.^2+y.^2; r = x.^2+a.^2; f = (-1./sqrt(1-(p.^2./(4.*q.*r)))).*...

4 Tage ago | 0

Answered
system command in parfor loop
parpool tic parfor i=1:nfiles cmd = sprintf('echo "%s" | multi.exe', str3{i,1}); [status,cmdout] = system(cmd, '-ech...

4 Tage ago | 0

Answered
Laplace transform not getting Value
syms x(t) Xs eqn = diff(x,t,2)+2*diff(x,t)+26*x(t) == 10*cos(t)*(heaviside(t-pi)); eqnLT = laplace(eqn) eqnLT = subs(eqnLT,l...

5 Tage ago | 0

Load more