Community Profile

# Star Strider

##### Last seen: Today
13,846 2012 이후 총 참여 횟수

Hic sunt dracones!

PROFESSIONAL: Physician (M.D.): Diplomate of the American Board of Internal Medicine; M.Sc. Biomedical Engineering: Instrumentation, Signal Processing, Control, System Identification, Parameter Estimation

NON-PROFESSIONAL: Amateur Extra Class Amateur Radio Operator; Private Pilot, Airplane Single Engine Land, Instrument Rating Airplane; Gamer

NOTE: I do not respond to emails or personal messages, unless they are about my File Exchange contributions.

#### Star Strider's 배지

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
design band pass filter
Here is prototype code I used for a different project that you can adapt, if you want an IIR filter: Fs = 250; ...

약 2시간 전 | 0

답변 있음
How to manually replicate the bode() gain plot from a transfer function
‘But the actual bode plots should look like this:’ It does. Harkening back to yesterday: syms C R_1 R_2 R_3 L s V_o i omeg...

약 4시간 전 | 2

| 수락됨

답변 있음
Obtaining the variance-covariance matrix
That appears to me to be the covariance matrix of the parameters of the linear regression, so in a word, No. The cov function w...

약 7시간 전 | 0

| 수락됨

답변 있음
if Loop to print values into a variable
Change the loop slightly, using the two new commented lines: for i = 1: length(r) dBdt =@(t,B) (r(i)).*B.*(1-(B./k)); ...

약 7시간 전 | 1

답변 있음
regroup identical coordinate pair
I have no idea what your objective is, however the unique function will produce the result you posted: RX = unique(X,'stable')...

약 7시간 전 | 0

답변 있음
load data from doted plot
Try this: F = openfig('case1 SOC noV2G.fig'); h = findobj(F, 'Type','line'); for k = 1:numel(h) x{k} = h(k).XData; ...

약 24시간 전 | 0

답변 있음
How to substitute jw for s in a transfer function in Matlab?
Try this: syms C R_1 R_2 R_3 L s V_o i omega %Equations R_1 = 10; R_2 = 10; R_3 = 10; L = 0.001; C = 2*10^-6; Z_1 = R_...

약 24시간 전 | 1

| 수락됨

답변 있음
variable thresholding for peak detection in ecg signal
I’m guessing that your signal has a wandering baseline, so MinPeakHeight is inconsistent with it. If that’s true, you can eithe...

1일 전 | 0

답변 있음
lsqcurvefit for two different equations and variables
This works, however it only fits one of the curves: y_theo = @(x,xdata) [x(1).*(1+(x(2)./xdata).^(log10(2)/x(3))).^(-x(3)./log...

1일 전 | 0

| 수락됨

답변 있음
What is wrong with my filter?
‘Why is it filtering the wrong frequencies in the middle bands?’ First, the sampling frequency of your signal and the samplin...

1일 전 | 0

| 수락됨

답변 있음
How can I find rise time from an array of values that starts and ends at its steady state?
The stepinfo function will work if you have a Control System Toolbox or System Identification Toolbox ‘system’ object. It will ...

1일 전 | 0

답변 있음
Sampling rate in matlab
There is no default sampling rate for ifft because ifft does not actually sample anything. If the original fft is calculated co...

1일 전 | 0

답변 있음
fprint problem in matlab
The fprintf fuction returns the number of bytes ouitput to the file. You probably want sprintf instead here.

2일 전 | 0

답변 있음
Upgrade MATLAB from r2013b to r2017b problem.....
Much changed in those four years, specifically in R2014b and R2016b. (that introduces implicit array expansion). You now nee...

2일 전 | 0

답변 있음
Accuracy of resampling for decreasing vector size
Use the method argument to determine how the resampled vector is created. I have no idea how the other resample call returned...

2일 전 | 0

| 수락됨

답변 있음
How to split vector according to conditions?
One approach: V = [1 2 34 35 36 102 103 104]; d = find(diff([0 V]) > 1); p = diff([1 d numel(V)+1]); Out = mat2cell(V, 1, p...

2일 전 | 0

| 수락됨

답변 있음
How do I use ode45 to solve this ODE?
‘...all their equations have t in it.’ As does the one you posted. Note that ‘B’ is implicitly a function of time, because...

2일 전 | 0

답변 있음
Sin and Cosine curves are coming out like zigzags
Increase ‘numSamples’. Try this: numSamples = 120; It can be anything you want (within limits). A higher number creates b...

2일 전 | 0

| 수락됨

답변 있음
Error Message "Unrecognized function or variable"
Note that ‘pcaBinnedSpikes’ is assigned within an if block. If the if condition is never satisfied, ‘pcaBinnedSpikes’ will ne...

2일 전 | 0

| 수락됨

답변 있음
How to retrieve the location of the points plotted ordered
The easiest way to do that is to use the flip function (or fliplr or flipud, depending on what you want to do). Try this: f...

2일 전 | 1

| 수락됨

답변 있음
Plotting over a certain range, what am i doing wrong here?
Mixing radian and degree angle units makes this a bit more challenging. Try this: yfcn = @(a) sin(a) .* ((120*pi/180 < a) &...

2일 전 | 0

| 수락됨

답변 있음
how do i create a surface around two circles of different diameters located a specific position???
You are close. You need to concatenate the vectors into matrices, then use surf to plot them. Try this: xm = [x1; x2; x3];...

2일 전 | 0

| 수락됨

답변 있음
MarkerSize in 3D scatter plot
See Vary Marker Size in the scatter3 documentation.

2일 전 | 0

답변 있음
How do I find the oscillation of these wobbles on matlab?
I am not certain what you want. If you want to find the predominant frequency, the best way is likely to use the fft function...

3일 전 | 0

답변 있음
Confusion with transfer functions
They are completely different functions. The tf function defines a transfer function in the Control System Toolbox. The tf...

3일 전 | 0

답변 있음
need to make a function to change a high value to the average in a matrice
The fillmissing function (R2016b and later releases) may be able to do what you want. First, set the values >300 to NaN (you do...

3일 전 | 1

| 수락됨

답변 있음
"The value on the right-hand side of the assignment has the wrong width." Error
I am not certain where the problem is in the two lines you posted. Try this: idx= strcmp(station001_eus{:,10}, ',,7'); sta...

3일 전 | 0

| 수락됨

답변 있음
Create month array?
Try this: t = datetime('01', 'InputFormat','MM', 'Format','MM') : calmonths(1) : datetime('12', 'InputFormat','MM'); .

3일 전 | 0

답변 있음
Eliminates a value less than 1 and replace with nan for all the row
What you want the result to be is not obvious. Try this: TT(ind,:)={NaN}; .

4일 전 | 1

| 수락됨

답변 있음
Dashed confidence intervals and xlabel
To plot as you want to plot, you need to create an ‘x’ vector to plot against. Since you are plotting against the row indices, ...

4일 전 | 0

| 수락됨