photo

John


Naval Surface Warfare Center

Last seen: 4 Tage vor Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • First Review
  • First Answer
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How Can I Fit a Gaussian curve to the histogram of the image. Please Answer Urgent
You can use the definition of probability and gaussian distribution, as follows. a = 0.3;% standard deviation b = 0...

mehr als 3 Jahre vor | 0

Frage


How to stabilize and warp images from a recording of a computer screen video played in VLC
I have a video file. The video is a recording of a video shown on a computer. The recorder is hand held, so it moves slightly ...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Is it possible to copy a figure with transparent background color in MATLAB 7.9 (R2009b)?
I just copied from Matlab (2018a) to Powerpoint 2013, and was able to obtain transparent background by using the set transparent...

fast 6 Jahre vor | 0

Beantwortet
How to use lagrange equations for pendulum
Thanks for the clues by John D Errico. There were two errors, the eqn_pend should have a minus sign, and the FF line reversed t...

fast 7 Jahre vor | 0

Frage


How to use lagrange equations for pendulum
Below is the code for symbolically simulating a pendulum, the plot produce doesn't seem to be the response of a pendulum swingin...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to fit piecewise linear
The problem appears to be by using five unknowns the problem is ill posed. By using 4 unknowns, the calculated line fits the da...

etwa 7 Jahre vor | 0

| akzeptiert

Frage


How to fit piecewise linear
The code below generates data similar to experimental data. However, the curve fit does not appear to locate the knot point. A...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to make a figure of sensor vs azimuth vs rev
In figures 15 to 17 of the attached pdf document the time response of the sensor is plotted vs blade angle and revolution number...

etwa 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


plot multiple time plots
I want to plot multiple channels of data, all against time, with one channel per plot. Possibly in more than one column if ther...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Repeat a vector with increment
Given vector a = (1:N)'; with N consecutive integers how to generate matrix b = [a a+1 a+2 ... a+M]; with M columns, each...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to simulate a multivariable autoregressive model forecast
With assistance from Matlab support, the following code was created to compare the original data with forecast values from the f...

etwa 8 Jahre vor | 0

| akzeptiert

Frage


How to simulate a multivariable autoregressive model forecast
Below is the example for arx command, followed by an estimate of the response. How to modify the example and forecast to repres...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Multi thread C mex for VAR estimation and evaluation
I need a matlab m-file for a simulink matlab function call block. The m-file should consist of two main sub-threads, one for ca...

etwa 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to plot second order ode
syms m c dy k y t y(t) dy(t) y0 dy0 sol=dsolve(m*diff(dy) +c*dy + k*y == 3*sin(2*t),diff(y) == dy,y(0)==y0,dy(0)==dy0); ez...

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to compare two random signals
I have two simulations of ship motion, and measured ship motion. Generally, the motion is random. I've been asked to compare t...

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Can lagged variables be used in n4sid
A dynamic system is driven by random forcing, so there are only output measurements. AR model works well with a small number of...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to color a line based on error range
Original question: I'm trying to color a line based on the error, with levels set at 10% and 25% of the error range. The attach...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solve for symbolic initial conditions
A second order mass, damper, spring system can be solved from syms h(t) m c k h0 dh0 C10 C11 Dh=diff(h(t),t); eqs = m...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to plot the model prediction error as a function of forecast horizon?
I would like to be able to identify a model from some data, say the first 1000 time samples, and then use the remaining data (80...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


mex link with blas
I get the following errors when using mex >> mex -v fmpc_sim.c Verbose mode is on. Neither -compatibleArrayDims nor...

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Help bining 2d data (or using hist2)
Never mind, the error is in the linspace range. Here's the correct code to show 2d hist. function hist3_test close all; cl...

etwa 13 Jahre vor | 0

Frage


Help bining 2d data (or using hist2)
The following code does not seem to produce the right results. Any suggestions? The upper plot shows the points, while the low...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Edit subplot
I was going to ask a question, but the test program worked, and I noticed I had the wrong number of rows specified in the progra...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort