Community Profile

# Walter Roberson

##### Last seen: Today
45.344 total contributions 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.

View all

Contributions in
View by

Matrix index is out of range for deletion and I cant figure it out
Suppose you delete row 4. What was in row 5 "falls down" to row 4,what was in 6 falls to 5, and so on. If you had a request to d...

alrededor de 2 horas ago | 0

| accepted

I cannot see the plotted ecg signal.
When you load() a mat and assign to a variable the result is a struct with one field for every variable name loaded. You need to...

alrededor de 3 horas ago | 0

Contour plot on top of surface plot
Although it is possible to hack the properties of contour to change where the z values appear, it is typically much easier to cr...

alrededor de 6 horas ago | 0

How to Read and plot CSV file and delete infinity values from CSV file
https://www.mathworks.com/help/matlab/ref/rmmissing.html can be used since R2016b. That is, you use readtable() and let the ??? ...

alrededor de 6 horas ago | 0

how to reduse the size of an array for meshgrid
N = 100; F = scatteredInterpolant(x, y, z); xvals = min(x):max(x); yvals = linspace(min(y), max(y), N); [X,Y] = meshgrid(xva...

alrededor de 8 horas ago | 2

| accepted

Undefined function 'cos' for input arguments of type 'tf'.
An s or z generated by tf('s') or tf('z') is not a symbolic variable but laplace() and ilaplace() can only be used with Symbolic...

alrededor de 11 horas ago | 1

How to create a function using the results of the other function (using handle)?
Verror = @(n) sum(Vms_mesh(Vms(n))- AE_MS_ex ); %AE_MS_ex is experimental vector with size[1*100]

alrededor de 11 horas ago | 0

| accepted

Why can't a variable holding an equation be used to make a function handle?
Use matlabFunction()

alrededor de 11 horas ago | 0

Struggling with line()
The first parameter is a list of x coordinates. The second parameter is a list of y coordinates. The parameters are *not* sou...

alrededor de 12 horas ago | 1

| accepted

Create macOS app from app designer on Microsoft Window.
No it is not supported. Hypothetically you install enough of the Linux subsystem and FSF gcc related software to cross compile ...

1 día ago | 1

| accepted

How to group individual plotted lines into one legend item
You cannot do what you want to do. You have two choicesb 1. record the handles returned by the graphic operations. Pass on...

1 día ago | 0

| accepted

"Index exceeds the number of array elements (1)." error
You made f an anonymous function but your grad is a symbolic expression not an anonymous function. You are invoking grad later a...

1 día ago | 0

Upgrade to R2019b Update 4. It solves several Catalina related problems. I would not expect that they would create an update...

1 día ago | 0

What exactly does char mean?
No, the first one you are using a %c format specifier. That does not directly have to do with the function named char(). The %c ...

1 día ago | 0

How to return an individual matrix from a function that uses multiple?
On your code whatever you assign to fun1 would be returned. You can also do things like function [d, e, f] = fun(a, b, c, n...

1 día ago | 1

| accepted

How to simply the code to reduce elapsed time
Creating an audiorecorder() object is expensive. You should avoid doing that each cycle. Create the object outside the loop and ...

1 día ago | 1

| accepted

Unable to perform assignment because the left and right sides have a different number
You do not assign to the global variables fit or penalty except inside the function main2(). Global variables that are not assig...

1 día ago | 0

How to get missing functions in Matlab 2018b about table and timetable operations?
The needed functions are present in r2018a, but were not showing up in the pop-up help because the pop-up help can only pop up f...

1 día ago | 0

Error: ()-indexing must appear last in an index expression.
You need to use a temporary variable, or you need to use a helper function, or you need to use the subsref function (which has a...

2 días ago | 0

How to print Chinese characters using disp
fread the file *uint8pprecision, instead of fileread. Use native2unicode UTF8 to process the byte sequence into characters. Or i...

2 días ago | 0

Script termination via uicontrol call function
You have four options to stop a script without its cooperation: 1) you can quit() MATLAB. Note that if you do this then onCle...

2 días ago | 0

How to delete a cell in gui
When you get() a property from more than one graphic object, you get back a cell array in response. You are trying to use num2st...

2 días ago | 0

| accepted

https://en.m.wikipedia.org/wiki/Trademark_symbol I am not certain at the moment that you can use the latex that is shown; pos...

3 días ago | 0

Your input format specification should be 'MM/dd/yyyy hh:mm:ss a' to read that. m is minutes not month H is only for 24 hour ...

3 días ago | 0

Does there exist a QL decomposition?
https://www.mathworks.com/matlabcentral/fileexchange/16536-qr-rq-ql-lq-factorizations

4 días ago | 0

Read a function in a GUI
fXr = double(subs(Funcion,x,Xr)); fXa = double(subs(Funcion,x,A));

4 días ago | 1

| accepted

subplot() to alling different sized graphs on the same figure
subplot(2,2,1) plot f subplot(2,2,3) plot g subplot(2,2,[2 4]) plot f and g together The ordering is across, unlike linear...

4 días ago | 1

| accepted

Non-integer values inside "Randi" function
random_perturbations = randi([e_min e_max],1,R);] That ] should not be there at the end of the line.

4 días ago | 0

data excel algorithm genetic
Use readtable() or xlsread() to read the data. Once it is read into MATLAB, MATLAB does not care where it came from, so it becom...

4 días ago | 0