Community Profile

photo

Star Strider


12,108 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 バッジ

  • Grand Master
  • 36 Month Streak
  • Thankful Level 3
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
Is it possible to plot a plot() and area() on same axis
Use the hold function: B57 = rand(1, 100); % Create ‘B57’ y1 = B57; PlotAX1 = axes; ...

約10時間 前 | 0

| 採用済み

回答済み
Checking whether one row of an array is equal to the rows in a separate array
I would be tempted to use the ismember function with the 'rows' option (or ismembertol with the 'ByRows' option).

約11時間 前 | 3

| 採用済み

回答済み
Issues executing while loop
When I ran the code you posted, the while loop becomes infinite if ‘min(DPnew)’ is negative. In that event, this expression: ...

約14時間 前 | 0

回答済み
Output of the function conv2 is not the size I expected?
Reverse the order of the arguments (so that the smaller size matrix is first), then use the 'same' shape argument: C = conv2(B...

約16時間 前 | 0

| 採用済み

回答済み
Calculate difference between two signals
I would compare them by noting that the amplitudes of the peaks vary with respect to the independent variable, similarly for bot...

約16時間 前 | 0

回答済み
Plot of dspesific rows and columns
Importing your file depends on what is in it (numeric only, numeric with text headers, or something else). If you have R2019a o...

約18時間 前 | 0

回答済み
Using Two Model Functions With LSQCUREVFIT
‘Do I need to call one PredCurrFun and the other PredCurrFun2, and LSQCURVEFIT can use both?’ Yes, in separate calls and othe...

1日 前 | 0

回答済み
dealing with negative indices error
There turned out to be three problelms with your code that I corrected here. The original one was due to your forgetting an o...

1日 前 | 1

回答済み
"Glitches" in transfer function
Precision could certainly be a problem, especiall considering the magnitudes of those numbers. (MATLAB retains full internal pr...

1日 前 | 0

| 採用済み

回答済み
Delete data with some requirements
Try this: D = load('Xsample_data.txt'); X = D(:,1); Y = D(:,2); Zx = D(:,3); Zy = D(:,4); Lvx = (Zx < -2.5) & (Zx > 2...

2日 前 | 0

| 採用済み

回答済み
Plotting Multiple Curves on the Same Graph
It depends on your function and what you want to do: t = linspace(0, 2*pi); freq = [1 5 9]; ampl = [1 2 3]; s = bsxfun(@tim...

2日 前 | 0

回答済み
How to add two cell arrays of the same dimensions
Try this: A = [{rand(1,4)} {rand(1,5)}]; B = [{rand(1,4)} {rand(1,5)}]; Out = cellfun(@plus, A, B, 'Uni',0)

2日 前 | 0

| 採用済み

回答済み
why my plot not being displayed?
If your code involves array division, remember to use element-wise division: ./ rather than /.

2日 前 | 0

回答済み
How can I extract the amplitudes of standared EEG bands in a 1 channel EEG signal
There are several posts that cover this. If you have R2018a or later, use the bandpass fucntion to design your filters. Get bo...

2日 前 | 0

| 採用済み

回答済み
Boolean to return true if the cell is empty/nan
It would be easier if we had your code to work with. Try this: ~isnan(AU{row+1, col}) Address the cell elements using {}. ...

2日 前 | 0

回答済み
Steps after ICA on unknown signals
ICA is not going to tell you that, because it does not know. It simply separates the signals. You must then so whatever sort o...

2日 前 | 0

| 採用済み

回答済み
how do I plot different 3D peaks in different locations in single polar plot
Try this: N = 500; rv = linspace(0, 1, N); % Radius Vector av = linspace(0, ...

2日 前 | 1

| 採用済み

回答済み
bar plot cannot spread x axis homogeneously
Either add a xlim call, or define both axes limits at the same time, and replace your ylim call with an axis call: axis([0 20 ...

3日 前 | 1

| 採用済み

回答済み
How to plot LSQCURVEFIT output
It is not easy to follow your code. In order to use the linspace result, you need to put ‘xdata’ in your ‘GlobalChiSq’ functi...

3日 前 | 0

| 採用済み

回答済み
How to use Maths Font for Graphs in MATLAB
I’m not certain what you want. The text objects have an Interpreter name-value pair argument that ill allow you to do annotat...

3日 前 | 0

回答済み
For loop index assistance
I do not understand the reason you are indexing ‘j’ as a for loop. I would do something like this to get consecutive ‘j’ vect...

5日 前 | 0

回答済み
find() not as expected
You have encountered ‘automatic implicit expansion’ introduced in R2016b. The result you get from your equality expressions wil...

5日 前 | 0

| 採用済み

回答済み
Plotting hyperplane created using meshgrid (something simple)
I am not certain what you want to do. One approach: N = 25; y = linspace(-20,0,N); x = linspace(-50,50,N); z = linspace(...

5日 前 | 0

| 採用済み

回答済み
how to plot ellipsoid?
Try this (partially copied from the documentation page Connecting Equal Values with Isosurfaces): x = linspace(-10, 10, 50); ...

5日 前 | 0

回答済み
Sigma notation with matrices
Taking a wild guess: x = rand(1,4); % Create Vector C = rand(4); ...

5日 前 | 0

| 採用済み

回答済み
Weighted fit of ode's to data?
Unless you have a good reason to weightcertain varriables, (for example you are using values from the literature that are given ...

5日 前 | 0

| 採用済み

回答済み
Fitting a series of coupled ODEs to a dataset with fminsearch
First, please do not use global variables! Pass your data as parameters instead. That way, you know what you’re giving your fu...

6日 前 | 0

回答済み
fmincon is giving better results than ga for a nonlinear constrained optimization problem.
The ga function produces its best results if you override the default population matrix with one of your own. I always use an o...

6日 前 | 0

回答済み
how to solve these equations
You already formatted them to work with the Symbolic Math Toolbox (unless the ‘==’ means a logical operation), so: syms a b c ...

6日 前 | 0

回答済み
Extracting data based on categories
The splitapply function (R2015b and later releases) is perfect for this! z = {'01-Jan-1973' 0.0114583333333333 '01-Jan-1...

7日 前 | 0

| 採用済み

Load more