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 you use the whos command to identify classes
numeric_classes = {'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64', 'single', 'double'}; num_classes...

ungefär 3 timmar ago | 0

Answered
How to create TCP IP Server in MATLAB R2020b without using tcpip command as it states it is not recommended.
tcpserver was introduced in R2021a . You appear to be asking what should have been used in R2020b -- the release before tcpserv...

ungefär 3 timmar ago | 0

Answered
plotting this program is causing a problem how to fix it?
[y(4),y(5),y(6)] = meshgrid(-4:0.25:4,-4:0.25:4,-4:0.25:4); You want y(4), y(5), y(6) to each represent a matrix of values. You...

ungefär 4 timmar ago | 0

| accepted

Answered
Fit a line and integration
You are asking for normalization. When you do that, coeffvalues are the coefficients for the normalized independent variable, no...

ungefär 4 timmar ago | 0

Answered
How to assign column headings to .mat file?
It is not possible to add column headings to a mat file. However you can create a table() object and store it in the mat file...

ungefär 16 timmar ago | 0

Answered
Splitting a String in a table once
I can tell from the way that the table displays that the entries are categorical() not character or string(). You would need to ...

ungefär 23 timmar ago | 0

Answered
How can I limit the argument in coding the roots of a fraction?
root1 = solve(fp,x)

en dag ago | 0

Answered
Extract values from one matrix and with iteration solve the system of linear equations
A = randi([-5 5], 5 ,3) B = randi(9,3, 3) C = A/B plot(C(:,1))

2 dagar ago | 0

Answered
Draw vertical lines which have constant interval
time = datetime(original_form,'ConvertFrom','datenum'); plot(time, P); firstmarch = dateshift(time(1), 'start', 'year') ...

2 dagar ago | 0

Answered
How to open Tonatiuh output .DAT files in MATLAB?
The file format is described at https://code.google.com/archive/p/tonatiuh/ You might find it useful to use memmapfile to defi...

2 dagar ago | 0

Answered
Can anyone please help me with this ?
You have not shown enough code to be certain, but I suspect that your function plot_Re60() is defined as taking two inputs, the ...

2 dagar ago | 0

Answered
Optimize cost function to obtain optimal value of the optimization variable.
Create a function that accepts a and b and uses ode45() to run the system to tspan 10. Return the values of y1(end) and y2(end) ...

2 dagar ago | 0

Answered
I would like to know how to purchase the "Infineon AURIX™ TC4x - TriBoards" board
According to https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller/32-bit-tricore-aurix-tc4x/ t...

2 dagar ago | 0

Answered
In Simulink, why can the fractional integrator only integrate one-dimensional inputs, but not multidimensional matrix forms of variables? What is the solution
The FOMCON toolbox is a third-party software package that is outside the control of Mathworks. You would need to ask the authors...

2 dagar ago | 0

Answered
How to Convert data into Image using Matlab
yeah it has only one values means we have a straight white line in the image. Y=linspace(min(y), max(y) ,resolution); With you...

2 dagar ago | 0

Answered
Simulink Support Package for Raspberry Pi Hardware not working on Raspberry Pi 4B 8GB (2022)
It will not exactly be "fun", but if you look at https://github.com/mathworks/Raspbian_OS_Setup you can see a list of packages y...

2 dagar ago | 0

Answered
how many nodes is available for the student version
The Student license has a 1000 block limit; see https://www.mathworks.com/matlabcentral/answers/94375-why-does-the-block-limitat...

2 dagar ago | 0

Answered
Can someone help me how to code the missing parts? because I don't have enough knowledge to code the needed equations.
On lines 21 and 23 you need to assign IoDR either "Increasing" or "Decreasing". You will need to use your knowledge of mathemati...

2 dagar ago | 0

Answered
Error using lsim(Hfinal,Y,t)
y=lsim(Hfinal,Y,t); In that call, Hfinal must be a dynamic system, and Y must be an array with as many rows as there are elemen...

2 dagar ago | 0

Answered
If I had the derivative of an equation and had data points how would I plot them
if you have numeric derivative and you want to plot the original curve (to within a constant shift) then use cumtrapz() and plot...

2 dagar ago | 0

Answered
Undefined function 'isnan' for input arguments of type 'Nodes2'
if I understand correctly, obj.head is either a class member or else NaN for the case where the queue is empty. In the case w...

2 dagar ago | 0

| accepted

Answered
How can I properly enter this function in MATLAB
My *guess* is P = p(a+b).*(3-sqrt(3*a+b).*(a+3*b)) ./ (a+b)

2 dagar ago | 0

Answered
How to quickly identify a list of nearby stations?
First, divide the stations into subsets: stations close enough to the North Pole that the smaller distance between degrees of l...

2 dagar ago | 1

Answered
What code what should I input in the slope, y tangent and y normal? I am currently stuck and tried some codes but it still has an error as seen in the second photo..
https://www.mathworks.com/matlabcentral/answers/1816015-can-someone-help-how-to-calculate-the-slope-tangent-line-and-normal-line...

3 dagar ago | 0

Answered
How can I pivot using if else?
If you [row, col, pv] = find(C,1); then if row is empty then the entire C matrix is 0; otherwise pv would be the pivot value a...

3 dagar ago | 0

| accepted

Answered
I want to pass data between two windows of GUI
Something closer to Mainapp: properties (Access = public) force area end % Callbacks that handle component events methods...

3 dagar ago | 0

Answered
Can someone help how to calculate the slope, tangent line and normal line? I'm lost on how I should code those three and I don't have much infor from clas how to code these 3.
The equation of a straight line is often stated in the form y = m*x + b You have calculated y0 (the value the equation w...

3 dagar ago | 0

| accepted

Answered
Error while executing mpc algorithm in MATLAB
x=[x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12].'; u=[u1 u2 u3 u4].'; Those are column vectors of length 12 and 4. A=sub...

3 dagar ago | 0

| accepted

Answered
How to add a particular font to path with toolbox?
See https://www.mathworks.com/matlabcentral/answers/514119-can-i-add-custom-fonts-to-my-matlab-desktop-in-preferences Note that...

3 dagar ago | 0

Answered
Find a point operation (in tabular form) that will equalize a 3-bit image with the following histogram.
One possible interpretation is that each level should be associated with a brightness, and that as closely as possible the total...

3 dagar ago | 0

Load more