# Star Strider

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.

**Statistics**

RANK**3**

of 243 934

REPUTATION**52 326**

CONTRIBUTIONS

**0** Questions

**16 646** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**7 138**

RANK**2 687** of 17 058

REPUTATION**552**

AVERAGE RATING**4.70**

CONTRIBUTIONS**5** Files

DOWNLOADS **46**

ALL TIME DOWNLOADS**5148**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

how can I get the following graph from this data, changes are required in the code

Try something like this — T1 = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/771138/G2_A.txt', 'Va...

ungefär 2 timmar ago | 0

How do i fix line13; Parse error at'=': usage might be invaild Matlab syntax? why it gives error ?

If you are referring to Line 13, it appears that there is nothing to the left of the equal (=) sign. Perhaps the intention is...

ungefär 3 timmar ago | 0

How can i make my ODE graph make sense?

The fplot call is incorrect, and the function declines so quickly that it’s not possible to see it clearly with a time interval ...

ungefär 11 timmar ago | 1

| accepted

Is it possible to save ECG waveform data as an text file with RR-intervals?

I am not certain what the desired result is. Try this — EKGsig = readmatrix('https://www.mathworks.com/matlabcentral/answer...

ungefär 15 timmar ago | 0

How to code SIR system to see state after time of each individual?

The ‘SIR’ model is a compartmental model. It tracks the dynamics of compartments, not individuals, so I doubt that it is possib...

ungefär 16 timmar ago | 1

Legend not matching the data

It is possible to label the individual plots in the plot calls. See Specify Legend Labels During Plotting Commands for detail...

ungefär 16 timmar ago | 0

Solving system of coupled ode using ode45

The NaN values are the result of the initial conditions all being 0. With a bit of cheating (setting the initial conditions all...

ungefär 17 timmar ago | 0

Torque ripple plot in MATLAB

Try something like this — t = linspace(0, 720, 1000); s = [sind(2.5*t); sind(2.5*t+180)]; figure plot(t,s, '--') hold ...

en dag ago | 0

what changes are needed

Try this — F = openfig('Manav Divekar untitled.fig'); F.Visible = 'off'; % Don't...

en dag ago | 0

How to create a table to show the results of a function code?

Subscript the variables so they are column vectors, then put them in the table and return the table as one of the outputs (or pe...

en dag ago | 0

| accepted

Function keeps running into errors when I call it

Try this instead — hpeakt = sorteddata.data(:,1); wpeakt = sorteddata.data(:,5); [phivalues] = findphases(wpeakt,hpeakt)...

en dag ago | 0

| accepted

converting sym function to string MATLAB

Try this — syms x y eqn = x^2+2*x*y+3*y^2; partial_eqn = diff(eqn, x); fprintf("The partial derivative of %s w.r.t. x is...

en dag ago | 1

| accepted

Use results in the definition of my functions

Try this instead — function pv=p(X,x) pv=X(1)*x.^2+X(2)*x+X(3); end Here, ‘X’ are the parameters and ‘x’ is the variabl...

en dag ago | 0

| accepted

Could someone please explain me this code?

That looks like something I wrote! It would be helpful to know the context (I don’t remember where I posted it), however it a...

2 dagar ago | 1

| accepted

Integrating a 2nd order ODE

This is a boundary value problem. Use bvp4c to solve it. syms y(x) x L Y q(x) = 2*cos(pi*x/L); Dy = diff(y); D2y = diff(...

2 dagar ago | 0

| accepted

How can I call half of text by using "textread" ? (1*4096 matrix to 1*2048 matrix)

I have never used textread, however that could be described in the format string, for example — formatStr = [repmat('%f',1,204...

2 dagar ago | 0

| accepted

I don't understand what this means or how to do it

I would imagine that ‘the next question’ wants the result at some very large valur of ‘t’, however that assumes that the fractio...

2 dagar ago | 0

my fminsearch function doesn't get the optimum values

The fminsearch function searches for a minimum. To get a maximum, negate the function — [x,fval] = fminsearch(@(x)-tut2(x),[1...

3 dagar ago | 1

| accepted

plotting a for loop returns Empty Graph

I’m not certain what you want, however it is necessary to subscript the varialbes to be plotted. This runs without error and ...

3 dagar ago | 0

Area between three curves

Try this — I created the comparisons as ‘>=’ so change those to simply ‘>’ ito make the comparisons strictly ‘greater than’. ...

3 dagar ago | 0

Hi, I want to know knee point of a curve including the process of by 2nd derivative. Can anyone help by creating the script.

Use the gradient function to calculate the numerical derivative — x = linspace(0, 10); y = exp(-0.1*x) .* sin(x); D1 = g...

3 dagar ago | 0

I have to use Fourier Transform without frequency range?

One approach — A = [1 0.43 0.95]; B = [0.97 0.43 0.97]; [h,t] = impz(B,A); figure subplot(2,1,1) plot(t, h) grid ...

3 dagar ago | 0

| accepted

Turn multiple columns into one column

The code is a bit difficult to follow. I’m guessing here that you want to save the ‘allfrequency’ vectors. allfrequency(s,:)...

3 dagar ago | 0

To find the average of values in matrix

Try something like this (assuming that they are stored as elements of a cell array similar to these) — C = {randn(131,160), ra...

3 dagar ago | 0

Index exceeds the number of array elements in ODE using anonymous function

There’s a typo: 1/L13*(x(24) - (x(30)/C15 + (x(25) - x(31))*R1) - x(25*RL13)); ...

4 dagar ago | 0

| accepted

Incorrect datatype when using 'retime' function

The retime function works only with timetable arrays, to the best of my knowledge. See if using the table2timetable funciton fi...

4 dagar ago | 0

Bug in equality checks? 28.15e-3 == 28.15/1000 false

Wellcome to the world of floating-point approximation error! See Why is 0.3 - 0.2 - 0.1 (or similar) not equal to zero? and...

4 dagar ago | 1

| accepted

Problems with the three-parameter Weibull distribution

Those lines estimate the parameters of the distribution using Maximum Likelihood Estimation with the mle function, so look throu...

4 dagar ago | 0