Community Profile

photo

Walter Roberson


Last seen: Today
50.950 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
Can I upload videos to youtube with an academic license of Matlab?
Yes, provided they are not monetized, and they relate to your teaching or research.

ongeveer 7 uur ago | 0

| accepted

Answered
figure plot legend keep on in for loop
c =[1 2 3] ttarg = 0.5; for c_value=1:3 figure(1) hold on leg = sprintf('c = %g', c(c_value)); dist = abs(...

ongeveer 7 uur ago | 0

Answered
Transfer my licence from my laptop to my PC
Deactivate the license on the laptop; https://www.mathworks.com/matlabcentral/answers/100663-how-do-i-deactivate-matlab?s_tid=ta...

ongeveer 8 uur ago | 0

Answered
Crop and save multiple images
projectdir = 'c:\users\michaela\Desktop\homework\2' outdir = 'c:\users\michaela\Desktop\homework\2\cropped'; outsize = 7; i...

ongeveer 8 uur ago | 0

Answered
A question about fsolve
fsolve() normally gives a summary after it runs, talking about the reason it stopped running (even in the case that everything w...

ongeveer 9 uur ago | 0

Answered
How to change the color of origin lines in a plot ?
xline(0, 'color', [255 84 2]/255) yline(0, 'color', [254 169 1]/255)

ongeveer 20 uur ago | 0

| accepted

Answered
Expand a table to match number of rows of an other table
month = 1; year = 2016; ID = [10000 10001 10002 10003]; t1 = table(month,year) t2 = table(ID) t3 = [t2, repmat(t1, h...

ongeveer 20 uur ago | 0

| accepted

Answered
How can I convert an implicit function to an explicit function?
On my system at home, the following program takes less than 6 seconds. However, because I was iterating through versions during ...

1 dag ago | 0

Answered
Why are the legends appearing twice?
Your code is assuming that the audio only has one channel, but instead it has two channels in each file.

1 dag ago | 1

| accepted

Answered
How to verify if a row or a column or a cubic 3x3 have a repeated number for sudoku?
Suppose you store NaN for all slots that have not had anything written to them. Then extract the appropriate portion of the arra...

1 dag ago | 0

Answered
How can I find exactly the coordinates of the center of the yellow circle?
You can calculate the center of mass of the image. https://www.mathworks.com/matlabcentral/answers/363181-center-of-mass-and-to...

1 dag ago | 1

| accepted

Answered
Cycle through graph marks
Create a cell array of linespec (character vectors indicating style and color and marker). Then each time you plot, index into a...

1 dag ago | 0

Answered
Frame Differecning help using matrices and pixels
Replace temp = im2gray(temp); temp2 = frames(:,:,:,l + 1); temp2 = im2gray(temp2); with temp = double(im2gr...

2 dagen ago | 0

Answered
Error using sym>convertChar (line 1537) when solving an ODE using laplace transform. How to fix the problem?
%%CODE %% Solving 2nd order ODE using laplace transform syms x(t) s X F Dx = diff(x,t); D2x = diff(Dx,t); eqn = D2x + 7*D...

2 dagen ago | 1

Answered
How can I sort through a set of tables and remove the duplicates?
isequal() can be used to test whether two table() have the same content and same variable names. For efficiency, you can group ...

2 dagen ago | 0

Answered
Error in my code
uigetfile has two outputs. The second one is the directory. You need to put it together with the file name to get the name to pa...

2 dagen ago | 0

Answered
Give a specific color to an interval of value
I suggest you use https://www.mathworks.com/matlabcentral/fileexchange/69470-custom-colormap

2 dagen ago | 0

| accepted

Answered
Save Geographic Player Figure as an image
fig = player.Parent; saveas(fig, 'ImageFileName.png')

2 dagen ago | 0

| accepted

Answered
How do i send image trought fsk modulator
Simulink reshape() block. https://www.mathworks.com/help/simulink/slref/reshape.html

2 dagen ago | 0

| accepted

Answered
problem in cell matrix operations
Your current code would take 1 row from Coh, then the following 2 rows, then the following 3 rows, and so on. Is that what is de...

2 dagen ago | 0

| accepted

Answered
Solving system non-linear equations
syms x [1 4] sr = sym([0.05 0.1 0.5 1]); Eapp = sym([2.09 2.18 2.27 2.4]).*1e6; Ei = sym(2.55).*1e6; E0 = sym(2.14).*1e6;...

2 dagen ago | 0

Answered
Appending multiple variables onto a single file
dinfo = dir('*.mat'); filenames = {dinfo.name}; nfile = length(filenames); hasmap = false(nfile,1); for K = 1 : nfile ...

3 dagen ago | 0

| accepted

Answered
what does the function handles do in matlab?
handles is not a function. It is a struct. handles by itself has no special meaning; it could have been called anything. The c...

3 dagen ago | 1

| accepted

Answered
Any value (different values) I enter for TOLERANCE and ITERATION gives the same results(Answer( . It is supposed to give different answers . I don't know why this is occurring.
You exit the loop when you reach the tolerance. What happens if you exit the loop no later than 5 iterations? Then giving 20 in...

3 dagen ago | 0

Answered
Why does the Fourier transform of a vector cannot tranfroms back into it itself in an exact manner, through ifft(fft())?
Floating point round-off. format long g a = rand(16,1); b = ifft(fft(a))-a; plot(b) [min(b), max(b)] ans/eps The values ...

3 dagen ago | 0

Answered
Linear Label on Logarithmic Plot
ax = gca; ax.YAxis.Exponent = 0;

3 dagen ago | 0

Answered
Solving non-linear ODE
Your equation has 1/sqrt(t) and initial t of 0. That gives you 1/sqrt(0) -> 1/0 -> infinity at the start EP_equation functio...

3 dagen ago | 0

| accepted

Answered
Plot function cannot work normally
Your file E:\MATLAB Inc\MATLAB 2018B\toolbox\matlab\graphics\gobjects.m is corrupt. You will need to restore it from backup (if ...

3 dagen ago | 0

| accepted

Answered
too many input arguments error when i pass struct to my function
f = @(x)CostTimeDCal1; That says that when f is called, it should ignore its single input parameter and call CostTImeDCal1 with...

3 dagen ago | 1

| accepted

Answered
how to get keyboard in matlab
psychtoolbox http://psychtoolbox.org/ has several input methods that do not require use of figures to receive typing.

3 dagen ago | 0

Load more