# Walter Roberson

I do not do free private consulting. If you want to bring my attention to something, send a link to the MATLAB Answers location.

**Statistics**

RANK**1**

of 239 133

REPUTATION**113 490**

CONTRIBUTIONS

**34** Questions

**51 700** Answers

ANSWER ACCEPTANCE **
52.94%
**

VOTES RECEIVED**14 515**

RANK

of 16 799

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

i need help writing code in matlab that will plot data of 4 different variables onto one graph

format long g data = { 'earth', 14.3145, 2756.22, 228.060 'venus', 15.0717, 3580.80, 224.65 'mars', 13.7819, 27...

36 minutes ago | 0

Efficient way to implement this UDP protocol for loopback IP

udp does not synchronize: is is completely happy to send of 1000 packets from a source in the time before the first of them is p...

environ 19 heures ago | 0

Can I substitute a particular expression?

There are two scenarios: 1) syms k sigma positive A = [k, k^(1/2), k^(3/2), k^(5/2)] B = subs(A, k, sigma^2) That is, if ne...

environ 19 heures ago | 0

| accepted

How do I convert this math expression to MATLAB code?

U = arrayfun(@(idx) randn(m,m), 1:2*T, 'uniform', 0);

environ 20 heures ago | 1

| accepted

Iterative solution for a non-linear equation

format long g Sa = 2.7956; A = 2.24; B = 0.5547; Gamma_p = @(ag_p) A+B*ag_p; f = @(ag_p) ag_p*Gamma_p(ag_p) - Sa; z = fz...

1 jour ago | 0

| accepted

Is Oracle Java JRE license included with Matlab license?

The situation might be different on Windows, but on Mac and Linux, version -java and that version is the last free one accordi...

1 jour ago | 0

| accepted

How can I reference the content of an UIAxes

Not directly, not without some careful analysis of properties. The issue is that live video, and video files, and screen shots,...

1 jour ago | 0

how to create an array of plots in App designer

In the lines app.H_PlOT.XData(1:app.index) = 1:app.index; app.H_PlOT.YData(1:app.index) = 1:app....

1 jour ago | 0

Removing moire pattern from an image

filename = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/210517/MatlabThing.png'; I = imread(filename); I=im...

1 jour ago | 0

Problems with 'uigetfile' and 'imread' in simple MATLAB Web App

My interpretation would be that libTiff on the server is not the same as libTiff on the online version. In particular if you a...

2 jours ago | 0

Incorrect dimensions for matrix multiplication

XI= zeros(1,nmax); YI= zeros(1,mmax); XI and YI are the same size. S2= S2+(4*XI*YI*ZI)*((T_ini-T_ts)*exp(-alpha*landa2(n,m,l...

2 jours ago | 0

skipping files in for loop

Change if ~isempty(w)%If h is not empty, then its a reference image, calculate to if ~isempty(w{s})%If h is not empty, the...

2 jours ago | 1

| accepted

How to extract the annotation file of XML data using MATLAB?

(tested) T = readtable('000001.xml'); img = imread('000001.jpg'); x = T.xmin; width = T.xmax - x + 1; y = T.ymin; high = T...

2 jours ago | 0

| accepted

How to write a range of numbers in MATLAB?

theta = (0:60).'; and remember to use cosd() and sind() Notice the .' there: it is transposing the 0:60 from a row vector into...

2 jours ago | 0

Unrecognized property 'Title' in heatmap function

which -all heatmap I suspect that you are using a third party heatmap function

2 jours ago | 0

| accepted

Error using actxserver(line 90). Server creation failed. Invalid ProgID 'Excel.Application'. with MAC and Matlab R2017b

https://www.mathworks.com/help/matlab/ref/actxserver.html says that actxserver() is only available for Windows. The Mac version...

2 jours ago | 0

Trying to transmit and receive a simple waveform via loopback on B210 radio

Not really, no. See https://www.mathworks.com/matlabcentral/answers/336589-how-can-i-simultaneously-transmit-and-receive-using-...

3 jours ago | 0

Downloading Matlab onto my Raspberry Pi 4

Yes, it is. Raspberry Pi 4 run Linux file systems, and you can store any file that you have room for. You will need to copy the...

3 jours ago | 1

How to change text interpreter of HeatmapChart?

h = heatmap([1 3 5; 2 4 6]); h.Title = '$x^y$'; h.NodeChildren(3).XAxis.TickLabelInterpreter = 'latex'; h.NodeChildren(3).YAx...

3 jours ago | 0

| accepted

I am trying to find the exact distance of a curvy line.

The exact distance along a curved line is very likely to be an irrational number. You have approximations of curves. What dista...

3 jours ago | 0

DOES ANYONE KNOW HOW CAN INSERT AND PLOT THIS DATA AS POINTS?

You need plot(T.Year(:,1),[NEW, T.Var4(:,1) DATIMARannuali.SMB_mp_mm(:,1)],'g'); However, your other variables have 7721 rows,...

3 jours ago | 0

| accepted

Subscripting into a table using three or more subscripts (as in t(i,j,k)) is not supported. Always specify a row subscript and a variable subscript, as in t(rows,vars).

You accidentally created a variable named table that is a member of the object class named table . In the line that is having th...

3 jours ago | 0

CSV Vector Values Read in With Too Few Decimal Places

Give the command format long g Now ask to display the data you read in. I think you will find that it has the full 13 digits. ...

3 jours ago | 0

Can i install/activate 2013 Student with a purchased 2017 Student license?

In theory, yes, if you can get a copy. Student license have used the same format since r2007b. However it is common to g...

3 jours ago | 0

why i get 'complex double' type?

Although algebraically the maximum swd value should be 1 exactly, because of round-off error it turns out to be just slightly gr...

3 jours ago | 0

| accepted

Index in position 1 exceeds array bounds.

Your dicom image has no data that is greater than 3000. There are a couple of different conventions for CT images. In one of ...

3 jours ago | 1

fmincon to solve optimization involving matrices and norms

fmincon will receive x as a row vector. Transpose it inside your nonlinear constraint function so that you can do the matrix mul...

3 jours ago | 0

Write a warning dialog with a dynamic number of inputs

warningmessage = sprintf('The following folders are empty:\n%s\n', strjoin(emptyFolders, '\n')); This assumes that emptyFo...

3 jours ago | 1

| accepted

The input elements must be integers between -Inf and P^M-2 over an extension field

<https://www.mathworks.com/help/comm/ref/gftuple.html> Exponential is assumed for column vectors. For exponential the limi...

3 jours ago | 0

operators must be convertible to logical scalar values

If Iend is empty then Inan<Iend is empty and you would be trying to use (empty |||| something) but operands for |||| must be sca...

3 jours ago | 1

| accepted