Community Profile

photo

Walter Roberson


Last seen: Today
48.241 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.

Contact

Walter Roberson's Badges

  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Solver
  • First Review
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012
  • Most Accepted 2013
  • Thankful Level 4
  • Grand Master
  • Revival Level 4

View all

Contributions in
View by

Answered
MATLAB environment variables issue with MacTeX 2020
(summarizing) The one from http://www.texts.io/support/0001/ installs into /Library/TeX/texbin/xelatex setenv('PATH', [getenv(...

etwa 5 Stunden ago | 0

| accepted

Answered
Expansion in a Fourier Series
syms x real syms n integer P = sym(pi); y = 0; y1= 1; a0=(1/P)*int(y,x,-P,0)+(1/P)*int(y1,x,0,P); an=(1/P)*int(y*cos(n*...

etwa 6 Stunden ago | 0

Answered
Error - Function 'imsegkmeans' not supported for code generation.
What you can do in Simulink is to either turn all Acceleration off, or else set Acceleration to the lowest level beyond off, and...

etwa 7 Stunden ago | 0

Answered
MATLAB HELP STANDARD DEVIATION, MEAN, HISTOGRAMS
mean is mean() Standard deviation is std()

etwa 7 Stunden ago | 0

Answered
How to 3D plot function
fsurf(@(x,y)spheresize([x;y]), [-5 5 0 10]) function f = spheresize(x) f=((3*x(1,:).^2.*x(2,:))/4*pi).^(1/3); end

etwa 12 Stunden ago | 0

| accepted

Answered
undefined function or variable 'basefilename'
[file, filepath] = uigetfile({'.png'; '.jpg'}, 'select one or more files', 'D:\', 'Multiselect', 'on'); file = cellstr(file); ...

etwa 12 Stunden ago | 0

Answered
How to check if excel is installed?
Look at the code for xlswrite, which does try Excel = matlab.io.internal.getExcelInstance; catch exception %#ok<NASGU> ...

etwa 12 Stunden ago | 0

Answered
Matlab Live Script Format Problem
Symbolic values are never output in shortEng format. About the closest you will be able to get is digits(5) vpa(S_az) This w...

etwa 13 Stunden ago | 1

Answered
Image processing based on discrete fourier transform
If you used fft() then by default fft() applies down columns. For any one column, the first result will be the sum of the inpu...

etwa 14 Stunden ago | 0

Answered
How can I rescale an image three dimensions (128*128*3) into 2D as (128*128) double ? please
It is not possible to do that by resizing images. You have color images, and when you want 2D output then you need to convert ...

etwa 16 Stunden ago | 0

Answered
how to run function with struct
The code expects the first parameter to be a struct with fields Filt_Data and SampleRate . Filt_Data is expected to be a 2D arr...

etwa 16 Stunden ago | 0

| accepted

Answered
how to quantize the audio file?
https://www.mathworks.com/help/comm/ref/quantiz.html -- signal processing toolbox https://www.mathworks.com/help/matlab/ref/dou...

etwa 16 Stunden ago | 0

Answered
create csv files by extracting data from a starting csv file
I suggest you work with lower level utilities: grep or egrep if you are using Mac or Linux findstr or select-string if you are...

etwa 17 Stunden ago | 0

Answered
Results folders content PLS
http://wiki.eigenvector.com/index.php?title=Standard_Model_Structure#model loads: Contains factors recovered for the data. In...

etwa 20 Stunden ago | 0

Answered
Is there any way to get numerical result from symbolic function?
Use matlabFunction to convert the expression into a numeric function.

etwa 20 Stunden ago | 1

Answered
Error using table/vertcat
Error: File: vertcat.m Line: 158 Column: 1 In R2018b, toolbox/matlab/datatypes/@tabular/vertcat.m does indeed have a catch at c...

etwa 23 Stunden ago | 0

| accepted

Answered
serial communication shows huge batch istead of steady small bursts
I predict that COM4 is not a true RS232 or RS422 port, and is instead a USB port with Serial over USB. Serial over USB is defin...

etwa 24 Stunden ago | 0

Answered
Can somebody help me to code this physics equation? I am confused how to describe it in code. Thank you
Lambda_1 = 24; syms lambda(T) eta_o(lambda,T) eta_e(lambda,T) DlambdaT = diff(lambda, T); Deta_oT = diff(eta_o, T); Deta_eT ...

ein Tag ago | 0

Answered
How to change the
You are using GUIDE, which uses "traditional" figures. In traditional figures, edit boxes and text boxes cannot have color for ...

ein Tag ago | 0

Answered
Unknown Error Message from using interp1
if year < 1990 | year > 2018 | mod(year,2) == 1 disp("This is not an even year from 1990 to 2018"); else male_vote = ...

ein Tag ago | 0

Answered
HOW CAN I FIND THE SUBSET OF N-SET?
See the "odometer" code that I posted at https://www.mathworks.com/matlabcentral/answers/623358-get-a-combination-of-unique-path...

ein Tag ago | 0

Answered
Warning: JPEG library error (8 bit), "Invalid SOS parameters for sequential JPEG".
https://github.com/lovell/sharp/issues/1578 Apparently the Samsung Galaxy S9 has a bug in how it creates JPEG images that lead...

ein Tag ago | 0

Answered
Convert vector of characters to doubles/numeric
str2double(cellstr(YourCharacterArray))

ein Tag ago | 0

Answered
How to apply modifiers to error messages
f = errordlg('\fontsize{3}This is my error message', 'Woops', opts); Where 'Woops' is the title to give to the dialog.

ein Tag ago | 1

Answered
How to import data from excel file as structure into Matlab?
T = readtable(TheFileName); TC = table2cell(T); TS = cell2struct(TC(:,2), TC(:,1), 1); TS will now be a cell with field names...

ein Tag ago | 0

| accepted

Answered
axis labels not working
Suppose there is only one peak detected, and that everything from there on is non-increasing. * / \ \ ...

ein Tag ago | 0

Answered
What is the difference between flag 1 and flag 2?
https://www.mathworks.com/help/optim/ug/fmincon.html#busog7r-exitflag Exit flag 1: stopped because the optimality was low enou...

ein Tag ago | 1

| accepted

Answered
Variable precision arithmetic in ode45 and others?
Sort of. The internal symbolic engine has two numeric ode routines. At the moment I do not know if there is a matlab level inter...

ein Tag ago | 0

| accepted

Answered
How to generate a random decimal number between -1 and 1?
rand*2-1 Note this will not generate exactly -1 or exactly 1

ein Tag ago | 0

Answered
What does this syntax mean? “yyy(1,1) logical = xxx”
It is a property name, size, datatype, and initial value.

2 Tage ago | 0

Load more