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

of 246,665

REPUTATION**1,491**

CONTRIBUTIONS

**1** Question

**593** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**303**

RANK**2,063** of 17,208

REPUTATION**784**

AVERAGE RATING**3.40**

CONTRIBUTIONS**2** Files

DOWNLOADS **8**

ALL TIME DOWNLOADS**7156**

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.

5 years ago | 5 downloads |

Submitted

RGB Image Decomposition

Displays RGB decomposition of a full color image

5 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...

5 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...

5 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...

5 years ago | 1

Inserting C Code in Simulink block

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

5 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)...

5 years ago | 0

| accepted

How to plot the spectrum of the sum of sine waves

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

5 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...

5 years ago | 2

| accepted

Command to reshape matrix diagonally

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

5 years ago | 0

how to genrate random signal

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

5 years ago | 0

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

5 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.

5 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...

5 years ago | 6

| accepted

How to Calculate FFT

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

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

5 years ago | 0

| accepted

Please, is there any beamforming toolbox in MATLAB ?

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

5 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

5 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...

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

5 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...

5 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.

5 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);

5 years ago | 0

what toolkit should i get to implement modulation techniques?

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

5 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);

5 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...

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

5 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...

5 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);

5 years ago | 0

| accepted