Community Profile

photo

Walter Roberson


Last seen: Today Attivo dal 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

Statistiche

All
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • First Review
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011

Visualizza badge

Content Feed

Visto da

Risposto
How can I find the elapsed time between two images from video file with matlab.
Unfortunately, none of the common video formats record absolute time for frames. If you are using videoreader() then you can u...

circa 9 ore fa | 0

Risposto
textscan does not scan the text as accurate as strread, i have "errors"
a = "C +01.314 +027.11 +01.225 +01.578 +01.579 Air" Result = textscan(a,'%s%f%f%f%f%f%s','Delimiter',' ', 'multi', true) ce...

circa 10 ore fa | 1

Risposto
how do I turn a piece of code into a parametric optimisation
% % Matrix properties (8552 example) Em = 380E3; % Young's modulus num = 0.22; % Poisson's ratio Vv_vals = [0.01, 0.38, 0.47...

circa 10 ore fa | 0

| accettato

Risposto
Problems using Plot function
You are plotting one point at a time. By default, plot() does not put in any markers, and plot() can only draw lines when there ...

circa 10 ore fa | 0

| accettato

Risposto
A unknown bug on matrix
Consider: A = [3 2 1 0 -1 -2 -3] Are you expecting the result to be [3, 2, 1, (0-1-2-3)] --> [3, 2, 1, -6] a vector of 4 eleme...

circa 13 ore fa | 0

| accettato

Risposto
How to solve this equation?
There are multiple solutions. p=0 is a solution for all a values, but there are also complex solutions -- and you did not rule o...

circa 13 ore fa | 0

Risposto
how to reduce time for this Convolutional Neural Network to get result?
See https://www.mathworks.com/help/stats/fitcecoc.html#d124e356431 for information on 'options' 'useparallel' for computation in...

circa 14 ore fa | 0

Risposto
i need wave_gen function but i can't find it!!!
See https://www.mathworks.com/matlabcentral/answers/26814-use-of-wave_gen-function#answer_34917

1 giorno fa | 0

Risposto
serialport / bluetooth issues
What that second post is telling you is that serialport() has an internal onCleanup that is invoked when serialport() detects th...

1 giorno fa | 0

Risposto
looking for convenient way to extract matrix from 1*n*n
A = zeros(5,5,5) B = permute(sum(A,1), [2 3 1]); size(B) squeeze() is a convenience function that ends up invoking permute()....

1 giorno fa | 0

Risposto
tiledlayout() "exceeds array bounds" when repeated running the script, but works when workspace cleared
tiledlayout.Padding = 'compact'; That creates a struct named tiledlayout <https://www.mathworks.com/help/matlab/ref/matl...

2 giorni fa | 0

Risposto
trying to create a plot of cost per mile when the trailer weight increases in a program I wrote and i cannot get it to work.
You were doing well, but starting from 'diesel' when C==6 then you have elseif TW>2000 && TW<=4000 and...

2 giorni fa | 0

Risposto
Simplifying equations with trigonometric terms written in terms of degrees and not radians
C2D = @(C) cosd(rad2deg(children(C, 1))) mapSymType(Expression, 'cos', C2D)

2 giorni fa | 1

Risposto
Error using ' TRANSPOSE does not support N-D arrays. Use PAGETRANSPOSE/PAGECTRANSPOSE to transpose pages or PERMUTE to reorder dimensions of N-D arrays.
Your nc file has lat, long, one depth, and multiple times, making it a 4 dimensional array. You are trying to pcolor() the entir...

2 giorni fa | 1

Risposto
Unable to use ODE45 to model data, error with "Unable to meet integration tolerances without reducing the step size below the smallest value allowed (4.708773e-14) at time t."
c0=[0.0188,0]; A=beta(3)*c(1)^beta(1); B=beta(4)*c(2)^beta(2); I would think it is highly likely that that ode23t i...

2 giorni fa | 0

Risposto
Help for matrix in matlab
prod(M, 2) sum(M, 2) min(M, 2) max(M, 2) any(M, 2) all(M, 2) std(M, [], 2) amongst others

2 giorni fa | 0

Risposto
How to solve "Inf" from table calculation in GUI
your xtes and ytes are exactly the same so subtraction gives 0.

3 giorni fa | 2

Risposto
uifigure alternatives for gcf, gcbf, gco, gcbo, gca, and any other legacy figure based functions
I used to think that those functions simplify didn't apply to uifigure and children. However someone indicated that the real iss...

3 giorni fa | 0

Risposto
can you specify a newly created sheet to be at the start of a spreadsheet using writetable?
no, writetable cannot manipulate the tab order. If you happen to be using Windows see https://www.mathworks.com/matlabcentral...

3 giorni fa | 1

| accettato

Risposto
helps to solve objective function with restriction, to obtain the value of the constant C
The integral of the density function must be exactly 1. The c is a constant multiplier. So if you calculate the integral without...

3 giorni fa | 1

Risposto
All functions in a script must be closed with an 'end'.
Delete or comment out everything from the "function" line. * Your script never invokes the function * functions inside a scr...

4 giorni fa | 2

Risposto
min and max Functions Breaking After Conversion From Symbolic to MATLAB Function
Symbolic variables (that are not symmatrix) are scalars. For scalar x, min(5,x) is the same as min([5,x]) Symbolic operations...

4 giorni fa | 1

| accettato

Risposto
Getting error in Inverse Kinematic block using robotics system toolbox for 2 DOF planner robot
rename your MATLAB\inverseKinematics.m to a different name. The current name is interfering with a built-in model with the same ...

4 giorni fa | 2

| accettato

Risposto
How to make colorbars symmetric?
In order to have the color scale be consistent between the two, the axes CLim property must be the same for the two plots. In pa...

5 giorni fa | 0

Risposto
how can improve my code performanece, it uses a syms vector, i tried to delete y=t= sym(zeros(1, m + 3)); and it's faster but the solution of the function its wrong
t(k)=(-(4*S*R*k*(k+1)+4*S*R*(k+1))*t(k+2)+(1+FS-b*S*ra-6*S*R^2*(k-1)*k-12*S*R^2*k)*t(k+1)+(-4*S*R^3*(k-2)*(k-1)+2*...

5 giorni fa | 0

Risposto
Storing parameters from a for loop in arrays
You have theta1(i, :) = theta(1); theta2(i, :) = theta(1); Notice you are storing theta(1) in both cases. You should ...

5 giorni fa | 0

Risposto
assign name row to table
Either use LastName = ["Sanchez";"Johnson"]; Sistemi_check.Properties.RowNames=LastName; or else LastName = {'Sanchez';'John...

5 giorni fa | 2

Risposto
Latex Failing for Big Linear System
cla probes = 1:10; base = repmat('\pi', 1, 300); %900 characters for K = 1:length(probes) msg = "$" + base + repmat('x...

5 giorni fa | 0

| accettato

Risposto
How can I solve my for
syms x Caudal=[5.93266E-05, 0.00082573, 0.001571951, 0.002318172, 0.003064541, 0.004018053, 0.00493061, 0.005552929, 0.00654917...

5 giorni fa | 0

| accettato

Risposto
MATLAB giving me a 16x1 complex double answer?
You are using floating point inputs, each of which is inexact. For example is 89.81 intended to represent exactly 8981/100 or is...

6 giorni fa | 0

Carica altro