Community Profile # Star Strider

Last seen: 1 día ago Active 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.

#### Statistics

All
• • • • • • • • • • • #### Content Feed

View by

How do you get up to first n characters in a string?
I’m not certain what the arguments are, so I can’t test this with an array, however it works with individual argument. Perh...

alrededor de 10 horas ago | 0

Timetable_finding each months average from 2000-2020 for all 11 states
See if the retime function will produce the desired result. .

alrededor de 12 horas ago | 0

Evaluate for specific frequencies using freqs
Using an example from the freqs documentation — a = [1 0.4 1]; b = [0.2 0.3 1]; w = logspace(-1,1.3); h = freqs(b,a,w); ...

alrededor de 17 horas ago | 0

Table calculating of one colomn based another columns value
If the desire is to have a table with the variables being the ‘TurbineID’, see if the unstack function will work. Analysing the...

alrededor de 19 horas ago | 0

Find the max using PSO
This is at least the second time (the first that I°m aware of is how to get maximum value of this code) you’ve asked the same qu...

alrededor de 20 horas ago | 0

| accepted

What do I need to fix in this code to get the maximum value?
This is at least the second time (the first that I°m aware of is how to get maximum value of this code) you’ve asked the same qu...

alrededor de 20 horas ago | 0

| accepted

how to get maximum value of this code
Important parts of the code appear to be missing. However to get the maximum, negate the function — f = @(x) sin(x); x0...

alrededor de 21 horas ago | 0

| accepted

how to apply pso to formula
The parameters have to be elements of a vector (and the appropriate operators must be provided, in this instance multiplication)...

alrededor de 22 horas ago | 0

| accepted

how can i extract the last two digits of a big number e.g 2454152
One approach — number = 2454152; Out = rem(number,100) .

1 día ago | 1

Calculation of rise time of skin conductance data
The data are certainly available, however making sense out of them is difficult. Is there a time vector? The risetime func...

1 día ago | 0

Check for coordinate pairs matches in .mat file
If I understand the problem correctly, the ismember function may be appropriate — List = randi(9, 10, 2) toMatch = randi(9, 1...

1 día ago | 1

How to store images in an array ?
I’m not certain what you’re doing. I’ve not done anything similar in a while, however see if the getframe function will do wh...

1 día ago | 0

Why isnt plot working for this code?
It will work with the for loop if (1) the plot call plots points instead of lines, or (2) if the values are subscripted inside t...

1 día ago | 0

Approximating sharp changing time dependent term for use with ODE solver
The documentation secion on ODE with Time-Dependent Terms uses interp1 that also has a number of different methods to do the int...

2 días ago | 0

Solve equation with multiple values for V
Another approach — Vr = 12; Vi = 3; Pr = 5000; syms n V = [3;3.5;4;4.51;5;5.5;6;6.5;7;7.5;8.01;8.5;9;9.5;10;10.49;10...

2 días ago | 0

| accepted

How to extract data with multiple headerlines locations, with a differing number of headerlines per file?
My apologies, however this has to be the most inelegant code I ever wrote. It has the virtue of being able to read the posted...

2 días ago | 1

How can i replace a string to a numeric value in a specific column of an array ?
I am not certain if ‘string’ refers to character vectors or string variables. Try this — column = ['M';'B';'M';'M';'B';'B']...

3 días ago | 0

Finding the turning point on the left side of a peak
‘... the turning point on either side of the major peak’ Those are referred to as the Q and S deflections (or waves). Th...

3 días ago | 0

| accepted

Help. Plot graph calculation
A somewhat more analytic representation — x = linspace(-1, 3, 250); y = (x).*((x >= 0) & (x < 1)) + (2-x).*((x >= 1) & (x < 2...

3 días ago | 0

Solving for angle (Beta) using vpasolve
That’s the result I get when I solve it (and then correct it by ) — M1 = 3; P1 = 1; theta2 = 5; thetha3 = 20; gamma = 1....

3 días ago | 0

| accepted

extract especific rows from matrix
One option — c = [202002041000 25 202002041015 35 202002041030 54 202002041045 ...

3 días ago | 0

| accepted

How can I get a time versus amplitude graph from the waveform.
The spectrogram function returns amplitude (the ‘z’ axis of the rotated surf plot) in units of dB/Hz, so it will not produce the...

4 días ago | 1

| accepted

Issue with Quiver plot
I have absolutely no idea what the desired result actually is. One option: negate ‘x2’ Another option: set(gca, 'XDir','r...

4 días ago | 0

| accepted

How to use duration data in the x axis of a patch graph?
Post the code and post the MATLAB version you are using. Only in the last 2 releases (that I am aware of) has patch supported d...

4 días ago | 0

| accepted

smooth step function with rise time
It occurred to me that one option would be filtering the original signal to ‘round off’ the sharp transitions. I first tried a ...

4 días ago | 0

What do I do next to solve for m?
The conditions only apply if the values of the constants are not defined first. Try this — syms f m g L I f = sym(0.1); ...

4 días ago | 1

dirac() and ode45 issue
I doubt that the dirac call is actually necessary. The code works correctly without it — tspan1 = 0:0.00000001:0.01; x0=...

5 días ago | 0

Trouble with symbolic integrals
Since the desired result is numeric, use vpaintegral — syms x; f = exp((x^2-1)/2)/(1-x^2)^0.5; int_f = vpaintegral(f,-1,1)...

5 días ago | 0