Community Profile

photo

Star Strider


Last seen: Today
14.424 total contributions since 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.

Contact

Star Strider's Badges

  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 3
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
Lotka Volterra with an additional parameter
I cannot imagine how you got that code to work at all, considering that the function you call in ode45 is not the function you p...

32 Minuten ago | 0

Answered
Plotting the Complex spectrum of a converted signal
Whatever ’P’ is, is missing, however that is of no consequence. Use the fplot function to do the plotting: figure fplot(re...

etwa 12 Stunden ago | 1

Answered
Statistical Analyses Across Structures
I am not certain what you want to do. For the boxplot, try this: D = load('structure.mat'); S = D.S; for k1 = 1:numel(S) ...

etwa 15 Stunden ago | 0

Answered
Get rid of array strings from readtable
Try this: Precision = [{'91,6'}; {'91,1'}; {'90,4'}]; % Create Vector T1 = table(Precision); ...

etwa 16 Stunden ago | 0

Answered
plot a marker in the center of the circle?
Add this after the fill call: plot(x, y, 'kp', 'MarkerSize',15, 'MarkerFaceColor','k') Also consider separate arguments for t...

etwa 17 Stunden ago | 0

| accepted

Answered
To associate a routine to only one PC
For Windows systems, one option could be to do what MathWorks does, and use the ‘C:\’ volume sedrial number: [s,cmdout] = syst...

etwa 21 Stunden ago | 0

Answered
will there be any effect on the result while multiplying two signals with the same time range but different sampling rate?
They have to have the same numbers of elements, or the element-wise multiplication will throw an error. You can multiply one as...

etwa 24 Stunden ago | 0

Answered
Multiple functions working together?
MATLAB is interpreting: d(3) as indexing into the third element of ‘d’. Run: which d -all from a script or your Command...

etwa 24 Stunden ago | 1

| accepted

Answered
Log axis with percentage tick labels
I am not certain what you want to do. Try this: x = linspace(-2, 2, 50); % Create Data y = exp(...

ein Tag ago | 0

| accepted

Answered
Help creating a basic function
It is likely easiest to define a third variable, then set that equal to what you want: function [n] = n(x,y) z = x+y+1; syms...

ein Tag ago | 0

Answered
Genetic Algorithm Calculation steps
The ga function essentially takes a population of possible parameter vectors and ‘evolves’ them so that the set that produces th...

ein Tag ago | 0

Answered
how to read big signal data
If you have R2020b, see the documentation section on Large Files and Big Data. These appear to have been introduced in R2016b. ...

ein Tag ago | 0

Answered
How to use regexp to extract data?
Try this: tdata = {'XX__TG','GB_TH','BN__TH'}'; Out = regexp(tdata, '__|_','split') with: Out{1} Out{2} Out{3} producin...

ein Tag ago | 0

Answered
Integral with specific range (i.e t = 0:0.1:1)
Do the integration in a loop for each value of ‘t’: function lc = intensityc(t) B = 2; ac = 0.4; lc = (B/ac)*((...

ein Tag ago | 0

Answered
Solving using ODE45
I am not certain what you are doing. One problem is that you would have to iterate over ‘n’ with a loop, because otherwise t...

ein Tag ago | 0

Answered
The input command problem
Yes! Although for a string input, use the 's' option: A=input('please insert your name','s') For what it’s worth, I prefer...

ein Tag ago | 0

Answered
Loglog plot not plotting anything
The logspace call is wrong. If you want ‘f’ to go from 10 to , call it as: f = logspace(1, 9, 50); That creates a 50-eleme...

ein Tag ago | 0

Answered
odearguments error for fitting data with system of ODEs
The ‘dydt’ definition should be: dydt = [0; 0]; that would define a column vector. The differential equation runs correctrly...

ein Tag ago | 0

Answered
set color for scatter plot
The colour of the markers is the fifth argument, so: scatter3(pdXX, pdYY, pdZZ, 5, pdZZ,'filled') This is a bit more obvious ...

2 Tage ago | 0

| accepted

Answered
store iterative solutions to matrix
Define the range of the independent variables as vectors, then use the ndgrid function to create matrices from them that you can...

2 Tage ago | 0

| accepted

Answered
How can I replace the high pass filter with a Bandpass filter? (New to matlab)
If you supply the two passband frequencies between 0 and 1 as a vector (frequencies in Hz normalised by the Nyquist frequency), ...

2 Tage ago | 1

| accepted

Answered
need help convertig 10 min data interval to 1 minute data interval
Convert your data to a timetable and use the retime function. See: Create Timetables for more information.

2 Tage ago | 0

Answered
Dividing in Polar format
This is phasor notation, and derives from the Euler identities. Divide the numerator magnitude by the denominator magnitude, ...

2 Tage ago | 0

Answered
Parameter Estimation for a System of Differential Equations
Using this version of ‘kinetics’ (that also estimates the initial conditions for ‘DifEq’), function C=kinetics(k,t) c0=k(5:8)...

3 Tage ago | 0

| accepted

Answered
Convert Data from array
I am not certain what your data are, or what you want to do. One option for reducing the size of the array and still getting ...

3 Tage ago | 1

Answered
How to find out lag between two signals ?
One option is the finddelay function. There are related functions linked to in and at the end of that documentation page.

3 Tage ago | 0

Answered
Matlab Function from code
See the documentation on Function Basics.

3 Tage ago | 0

| accepted

Answered
Index in position 2 is invalid. Array indices must be positive integers or logical values.
My guess is that the problem is using ‘Y(iter)’ and ‘K(ik)’ as indices in that assignment. They may not be integers greater tha...

3 Tage ago | 1

Answered
Accessing values in a Cell Array using Index Values stored in another array
That requires a bit of cell array gymnastics: NewVector = [1.5 1.5 2.1 2.2 2.2 2.2 2.2 0.9 0.8 2.4 2.3 2.8 2.4 2.9 3.1]; New...

3 Tage ago | 0

| accepted

Answered
How to reshape an array horizontally
Using the reshape function: text1 = ['words'; 'words'; 'words'] text2 = reshape(text1', 1, []) producing: text1 = 3×5...

3 Tage ago | 2

| accepted

Load more