# 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. 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**

RANK**1**

of 258 176

REPUTATION**122 411**

CONTRIBUTIONS

**34** Questions

**54 861** Answers

ANSWER ACCEPTANCE **
52.94%
**

VOTES RECEIVED**15 925**

RANK

of 17 793

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**

Arduino using matlab GUI, The current sensor gives a value without connecting anything.

That is expected for any input line that is not pulled high or pulled low.

38 minutes ago | 0

Writing fitness function in multi objective GA

mobj = @(x) [fun1(x); fun2(x) ]

environ 5 heures ago | 0

i can't save my plot as a png

You are cd to a directory that you do not have write access to. In particular you might be cd to the matlab installation directo...

environ 6 heures ago | 0

| accepted

Getting - Matrix dimensions must agree, using surf

When you call surf(X, Y, Z) in your very old release, the number rows in Z must match the number of rows in Y and the number of ...

environ 6 heures ago | 0

Hello, our collaborator has installed Matlab Runtime v9.7, why he gets the error "Matlab.exe not found" ?

MATLAB Component Runtime is *only* used to execute programs compiled with MATLAB R2019b (and no other versions) . It is *not* MA...

environ 7 heures ago | 0

How can I change voxel size in a volume?

In order to keep the aspect ratio, all dimensions must be interpolated by the same factor, which would be max() of the requested...

environ 8 heures ago | 0

I'm trying to plot log-log graph for the black body spectrum with frequency range 10^9 to 10^19 with temperatures 3000k, 5000k, 10000k, 20000k, 30000k I can't plot the graph

B = (2*h*nu.^3/c.^2) ./ (exp(h*nu./(k*T))-1);

environ 10 heures ago | 0

Why do I receive 'not enough input arguments' in ode45

G=matlabFunction(subs(G,svars,vars),'Vars', {[q q_d]} ); C=matlabFunction(subs(C,svars,vars),'Vars', {[q q_d]} ); W=matlabFu...

environ 12 heures ago | 0

Check for missing argument or incorrect argument data type in call to function 'int'.

P = inf(size(f)); P(f==0) = 0; You are integrating a vector of non-negative real constants from 0 to infinity. The integ...

environ 14 heures ago | 0

Error using sym/subs>normalize (line 226) Inconsistency between sizes of second and third arguments.

Jg = subs(J, {lambda theta}, xout); %Jacobian When you use {} around the list of values to replace, then the third parame...

environ 14 heures ago | 0

How to remove an unwanted file in dataset for example : ".DS_Store"

Specify the file extensions to import. That file will not match the extensions. Also if you use a wildcard to specify the fil...

environ 14 heures ago | 0

explanation of the matlab code

Equivalent code: rentedforVector(count, 1:9) = decision == (0:8); With no for loop. If decision is 0 then the first c...

environ 14 heures ago | 0

Create legend based on a if loop statement

you are doing a separate scatter3 for each point. Each of those will result in a new plot object. Your legend call with three la...

environ 15 heures ago | 1

| accepted

Dynamically Creating Variable Alternatives

parfor sliceno=1:size(Data, 3) slice = Data(:, :, sliceno); change slice Data(:, :, sliceno) = slice; end

1 jour ago | 1

| accepted

Not enough input arguments

You have a function named movie_kernel that expects to be passed one or more parameters, including a parameter it refers to as X...

1 jour ago | 0

| accepted

Ode23 error using odearguments

I0=subs ( I0 , ' 3.14 ' , pi ) ; After that add IO = double(IO);

1 jour ago | 1

| accepted

Is it possible to have an .exe file which works as a function with inputs and outputs inside MATLAB environment, like a c++ .exe or a MATLAB app?

You could use .Net System.Diagnostics.Process to start a process and do i/o redirection of input and output. Most commonly somet...

1 jour ago | 0

How to plot digital sequence in MATLAB

If you are certain that all of your values are finite, then you can replace u[n] by (n>=0) If you have negative infinite valu...

1 jour ago | 0

How do I find the nature of turning points using this function?

values that are exactly the same are derivative 0. Once you find a value not equal to the first value, then any string of increa...

1 jour ago | 0

How to perform the following commands?

temp = abs(result1(1,:)); temp(temp==0) = nan; [~, idx] = min(temp) ;

1 jour ago | 0

| accepted

Voltage dips on matlab

square() is -1 to +1. you multiply by 0.7 and add 0.3 so you get a range of -0.4 to +1. You multiply your signal by that, but ...

1 jour ago | 0

Run Matlab code in

https://www.mathworks.com/help/supportpkg/raspberrypiio/run-on-hardware.html

1 jour ago | 0

fit scatter plot to a curve

x = [0,0.1, 0.2, 0.3, 0.4, 0.46, 0.55, 0.6]; y =[0, 0.0982, 0.1359, 0.126, 0.0778, 0.0827, 0.063, 0.0599]; f= polyfit(x,y,7)...

1 jour ago | 0

| accepted

help im getting this error

zerocross(F, ukuran, sigma) at the time you invoked zerocross with that line, you had not defined ukuran. Possibly you had ...

1 jour ago | 0

Understand a part of code Detection CFAR

switch upper(technical) case 'AC' is like if isequal(upper(technical), 'AC') and the next case would be "else...

1 jour ago | 0

How to extract data from another aplication ?

Unless the app provides a better solution, you will need to ask to capture the screen in that area, and then do Optical Characte...

1 jour ago | 0

How can I loop for Exponential Decay?

c=c_0*exp(-k(3)*t); if t increases by 1 then the next value is exp(-k(3)) times the previous one. So in loop form, for each...

1 jour ago | 0

how to store pixel location and color from impixelinfo

What you describe is more Data Cursor http://matlab.izmiran.ru/help/techdoc/creating_plots/data_ex7.html impixelinfo is more...

1 jour ago | 0

Is there is any alternative for evalclusters (Evaluate clustering solutions)

Yes, for kmeans, the optimal number of clusters is always size(unique(Data, 'rows'), 1) That is, the optimal number of c...

1 jour ago | 0

How to do the computation using fuzzy logic

The output shown is incorrect. The cup symbol means set union and the upside down cup means set intersection. Almost all of thos...

1 jour ago | 0