# Rick Rosson

### MathWorks

Software, modeling, and simulation engineer. Former Senior Applications Engineer at MathWorks. Professional interests include: digital signal processing, statistical signal processing, control system design, dynamic system modeling and simulation, data analysis and visualization.

**Statistics**

RANK**91**

of 289,594

REPUTATION**1,557**

CONTRIBUTIONS

**1** Question

**593** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**333**

RANK**2,129** of 19,564

REPUTATION**814**

AVERAGE RATING**3.40**

CONTRIBUTIONS**2** Files

DOWNLOADS **9**

ALL TIME DOWNLOADS**7459**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

SimEvents: Operations Research Library

Add-on library for SimEvents® that provides blocks for modeling operations research systems.

7 years ago | 7 downloads |

Submitted

RGB Image Decomposition

Displays RGB decomposition of a full color image

7 years ago | 2 downloads |

Why 8 segments for pwelch?

The use of 8 as the default value for the number of segments is purely arbitrary. It is a perfectly reasonable value, but it is...

8 years ago | 1

| accepted

optical fourier transform by free space propagation and lens

I am not exactly sure what the source of the problem is, but I have a few suggestions to help you diagnose the root cause: Fi...

8 years ago | 0

Why are the colors in my figures wrong?

Please see <http://www.mathworks.com/matlabcentral/answers/276579-changing-the-histogram-edge-color-from-the-default-green-gradi...

8 years ago | 1

Inserting C Code in Simulink block

double multiplicador(double u) { return 2.0*u; }

8 years ago | 0

| accepted

Determine transfer function from block diagram

Please try: H = feedback(series(Gc,G11)+G12*Z0,1); where |Z0| is the Laplace Transform of the disturbance signal |z0(t)...

8 years ago | 1

| accepted

How to plot the spectrum of the sum of sine waves

x_fft = abs(fft(x)/noSamples); xn_fft = abs(fft(xn)/noSamples);

8 years ago | 0

Spectrogram - How to divide signal ?

The third input argument of |spectrogram| expects the number of samples to overlap each window, not the number of segments. Ple...

8 years ago | 2

| accepted

Command to reshape matrix diagonally

Y = [ X(1:end/2,:) X(end/2+1:end,:) ];

8 years ago | 0

how to genrate random signal

N = 1024; x = rand(N,1); figure; plot(x);

8 years ago | 1

| accepted

Diesel Work Cycle using MATLAB to plot P-v Diagram, Calculate work output, and Plot the work output when diameter of the piston is changed

Here's a start: theta = (0:0.1:359.9)'; D = 15; L = 12; L_TDC = 1.5; V_TDC = (pi/4)*D^2*L_TDC;

8 years ago | 0

Changing the histogram edge color from the default green gradient.

The problem is with the renderer. Please try the following: opengl software and then re-plotting.

8 years ago | 3

| accepted

How come the frequency vector starts at 0 for even length FFT ?

Regardless of whether |L| is even or odd, the first element of the vector returned by |fft| is _always_ the DC component. No mat...

8 years ago | 6

| accepted

How to Calculate FFT

<http://en.m.wikipedia.org/wiki/Cooley%E2%80%93Tukey_FFT_algorithm Cooley-Tukey Algorithm>

8 years ago | 0

How do I create this transfer function in matlab, compensator_lag=(0.9987s+33.96)/(s+0.343)?

See: <http://www.mathworks.com/help/control/ref/tf.html Transfer Function>

8 years ago | 0

| accepted

Please, is there any beamforming toolbox in MATLAB ?

Yes, <http://www.mathworks.com/products/phased-array/ Phased Array System Toolbox>

8 years ago | 1

How to stop a loop when the wrong values are entered

% Height in feet: H = 0; while H <= 0 H = input('Enter a value greater than 0 for height in feet '); end

8 years ago | 2

| accepted

Why my mel filters do not overlap on each other?

I think the problem is in the second |elseif| statement: elseif (k>=f_range(m+1) && k<=f_range(m)) These two sub-condit...

8 years ago | 1

| accepted

how to create output that is column vector

Logical Indexing: * <http://blogs.mathworks.com/loren/2013/02/20/logical-indexing-multiple-conditions/ Loren's blog post> * ...

8 years ago | 0

Why I get the wrong peak from bode plot?

The function |getPeakGain| returns the peak gain on an absolute scale, whereas the Bode plot displays the gain on a decibel scal...

8 years ago | 0

| accepted

Why my mel filters do not overlap on each other?

Please review the <http://www.mathworks.com/help/signal/ref/tripuls.html tripuls> function.

8 years ago | 0

Compute the fft of the record of my voice

N = length(data); Fs = 8000; dt = 1/Fs; t = dt*(0:N-1)'; figure; plot(t,data);

8 years ago | 0

what toolkit should i get to implement modulation techniques?

* MATLAB * Simulink * Signal Processing Toolbox * DSP System Toolbox * Communications System Toolbox

8 years ago | 0

Hi. How can i add 20% Gaussian noise to some fixed value vector.

m = [ 1.05 ; 0.2561 ; 0.3321 ]; s = 0.2 * m ; N = 1000; x = ones(N,1) * m' + randn(N,3) * diag(s);

8 years ago | 0

| accepted

IF statement restarting when condition is true

k = []; while isempty(k) d=input('Is this spur gear mounted between two bearing? (Y/N): ','s'); k = fin...

8 years ago | 0

| accepted

can any one describe the algorithm of power spectral estimation using different window techiniques

Please review: <https://en.m.wikipedia.org/wiki/Welch%2527s_method Welch's Method>

8 years ago | 0

Simulate a time series of stock price using Monte-Carlo simulations

Here is some code to get you started: N = 10000; P = nan(N,1); P(1) = ... for k = 2:N P(k) = P(k-1...

8 years ago | 0

| accepted

Need help finding a moving average

n = 100; b = ones(1,n)/n; a = 1; absorbance_MA = filter(b,a,absorbance_co2blcorr);

8 years ago | 0

| accepted