Community Profile

photo

Star Strider


Last seen: Today
13,300 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 배지

  • 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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
How to find the index of the center element in a 2d array if all the elements are the same?
If all the elements are the same, one approach is: x = -1*ones(5,5); [r,c] = ind2sub(size(x), ceil(numel(x)/2)) Thsi will on...

약 2시간 전 | 0

답변 있음
Modifying my fprintf code.
Replace the ‘n’ in ‘pi/n’ with the appropriate format descriptor. I chose ‘%d’ here, then concatenate the ‘n’ vector with the ‘...

약 2시간 전 | 0

답변 있음
Why is 'print' creating a csv file?
Perhaps because you’re telling it to? Running these lines: filetoopen = '400kbps_10db_0,096k_spectrum.CSV'; filenamecomma ...

약 3시간 전 | 1

| 수락됨

답변 있음
Warning: Unable to find explicit solution. Returning implicit solution instead.
The differential equation is nonnlinear and discontinuous. Because it is nonlinear, dsolve cannot solve it, and because it is d...

약 9시간 전 | 0

답변 있음
How to fourier transform a gaussian curve?
The ‘x_fit_fcn’ is not syntax that MATLAB recognises (except in the Symbolic Math Toolbox), as a function. Try this versiion ...

약 10시간 전 | 0

답변 있음
Array indices must be positive integers or logical values.
Whatever ‘charpath’ was originally (array? function?) is now over the horizon so we cannot see it. This line: charpath = L/...

약 24시간 전 | 0

답변 있음
Problem with findpeaks and unique commands
It is likely not a problem. The findpeaks function is detecting differences that are likely due to floating-point approximation...

1일 전 | 0

답변 있음
Solving series differential equation use ode45
Yes! The problem is: y0=[0;0;0]; so: sin(y(1))/y(3) will be NaN because sin(0)=0, and 0/0 (and Inf/Inf) result in NaN v...

1일 전 | 0

| 수락됨

답변 있음
Cosinor analysis of temperature Excel data
One approach: D = readtable('vital_parameters_15540 (1) copy.xlsx'); x = datenum(D.time) - datenum(D.time(1)); ...

1일 전 | 0

답변 있음
Plot magnitude of reflection coefficient in linear and db scale, vswr
Use the linspace function to create the ‘f’ vector: C=8.34E-12; L=15E-9; zo=50; zin=50+((1/1i*C)+1i*L); f=linspace(200E...

1일 전 | 0

답변 있음
how to convert date to numbers
I showed you how to read them and do other operations on them in: How to combine date and time. That also converts them to da...

1일 전 | 0

| 수락됨

답변 있음
integrate a partial area under a plotted curve
To get the area, add these lines to your code: [TF,Q0] = ischange(ifuse, 'linear', 'Threshold', 1.5E+6); [vl,vli] = min(ifuse...

1일 전 | 1

| 수락됨

답변 있음
generate a triangular pulse
The Signal Processing Toolbox pulstran function can likely do what you want. You will need to experiment to get the sort of t...

1일 전 | 0

답변 있음
how to find duration of peak; starting and ending points
Experiment with ths ischange function, and if you have the Signal Processing Toolbox, the findchangepts function.

2일 전 | 0

| 수락됨

답변 있음
Global optimization of parameters in ode
See: Is it possible to use Simulated Annealing or Genetic Algorithm for parameter estimation of a parametric System of ODEs? for...

2일 전 | 0

답변 있음
Change color of graph at a certain value (temperature vs. time)
This eliminates the connections between the ‘gaps’ in the red and blue areas: D = load('Lade.mat'); Lade = D.Lade; Q1 = Lade...

2일 전 | 0

답변 있음
Obtain single equation from a system of equations stored as an anonymous function
Not directly. I would do this: F = @(x) [x(1).*x(2).^2 + sin(x(2)) ; ... cos(x(1)) + x(2).^3 ] ; z = [2 6];...

2일 전 | 0

| 수락됨

답변 있음
Error using @regress fuction
Try this: func = @(Q)regress(Q,X); then call it as: [b,bint] = func(Change1.ReturnsCleaned); (It seems a bit inefficient...

2일 전 | 0

| 수락됨

답변 있음
MATLAB: solving a 2nd order ODE which has a parameter which evolves in time
Try this: syms k(t) y(t) % Declare ‘k(t)’ Here [System,Subs] = odeToVectorField(...

2일 전 | 0

| 수락됨

답변 있음
Overlap of 2 logicals
Since ‘B’ and ‘B2’ have not yeat appeared, try this with synthetic versions of them: B = randi([0 1], 5, 6) > 0 B2 = randi([0...

2일 전 | 0

| 수락됨

답변 있음
How to make plot more visible in matlab
See the plot documentation section on Specify Line Width, Marker Size, and Marker Color. That should get you started.

2일 전 | 0

답변 있음
Solve a second-order differential equation with constant parameters changing through an external parameter
It appears that what you want to do is to pass your data to your ODE function ‘fx’. See the documentation section on Passing Ex...

3일 전 | 2

| 수락됨

답변 있음
getting z transform in factored form?using Matlab?
Control System Toolbox: z = tf('z'); H = (4*z^2 + 3*z + 9) / (4*z^2 + 3*z - 4); zsys = zpk(H); Z = [zsys.Z{:}] P = [zsys.P...

3일 전 | 0

답변 있음
How do I use the "omitnan' option for the Mean function when calling the function using the splitapply function?
One option: splitapply(@(x)mean(x,'omitnan'),MyArray,G)

3일 전 | 0

| 수락됨

답변 있음
Print figure without its title
One option is to keep the title in the figure call. See Specify Figure Title for an example. Another option is: title('Ran...

3일 전 | 0

답변 있음
plotting a polinomial fraction over a strict range
I do not have the DSP System Toolbox, so I do not have tfplot. Try this instead: q=[1 1]; d=[1 1 1]; x=0:0.001:3; trf ...

3일 전 | 0

| 수락됨

답변 있음
Finding points with same y-value on a graph.
Try this: x = [2,4,7,9,10,14]; y = [5,10,15,14,12,3]; new_y_value = 12.5 [~,idx] = max(y); newx(1) = interp1(y(1:idx), x(...

3일 전 | 0

답변 있음
I want to do the correlation of the following two plots
Going back to using my code (because it is easier to work with): Ts=1/200e6; t=Ts:Ts:0.00005; y=[ones(1,2000) zeros(1,8000...

3일 전 | 1

| 수락됨

답변 있음
system of 3 equation with 3 unknown, with two 2nd order equation
The resuillts are strictly numerical (not containing symbolic variables), so use vpasolve instead of solve: syms QV3 QV2 QVl ...

3일 전 | 0

| 수락됨

답변 있음
how to solve this complex equation in matlab?
Try this: syms theta gama Eqn = exp(pi/4*i)*(5+15i)+exp(i*theta)*(25+5i) == 40+exp(i*gama)*(-10+20i); [theta,gama] = vpasol...

4일 전 | 1

| 수락됨

Load more