Community Profile

photo

Star Strider


Last seen: Today
13 448 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
Nans values in time series
You must decide that. There are methods to interpolate the NaN values if you want to do that, one of which is the fillmissing...

environ 16 heures ago | 0

Answered
How can I solve an equation containing log ?
Use the fsolve function, because it will return complex results, and since the argument to the log function is negative it will ...

environ 20 heures ago | 0

Answered
How to find maximum of a function of 2 variables
One approach: z = @(x,y) cos(x.^2 + y.^2); XY = fminsearch(@(b)norm(-z(b(1),b(2))), [3; 3]) producing: XY = 2...

environ 22 heures ago | 1

| accepted

Answered
convert a transfer function to controllable and observable canonical form
num = [4]; den = [1 0.8 4]; Gp = tf (num , den); The canon function requesting the 'companion' canonical form directly produc...

1 jour ago | 0

Answered
why do I get "Undefined function or variable 'tspan'."
The code defines that variable as ‘timespan’. The argument names and the varialble names must always match. Try this: [t,z...

1 jour ago | 1

| accepted

Answered
How to graph values of a function above and below 0 as separate functions?
Subscript the elements and provide corresponding time vectors for each one: t= 0:0.2:3*pi; y=sin(t); for k = 1:numel(t) ...

2 jours ago | 1

Answered
plot function y axis
Put: ylim([1 100]) after the plot call.

2 jours ago | 0

Answered
plot function y axis
Put: ylim([1 100]) after the plot call.

2 jours ago | 0

Answered
How can I combine several file.fig together
For each .fig file: F = openfig(filename); Lines = findobj(F, 'Type','Line'); Then, for each element of the ‘Lines’ array: ...

2 jours ago | 0

| accepted

Answered
Use entries of symbolic array outside of the array
The reason is that the elements of ‘X’ are stored as matrix elements. The individual elements exist only as matrix elements, no...

2 jours ago | 0

| accepted

Answered
What should the order of my FIR filter be?
The fir2 function documentation appears to favour even-numbered filter orders. (The only MATLAB functions that I know of that c...

3 jours ago | 0

Answered
Finding and Graphing FWHM (Trouble with Find Function)
Without ‘data_10micronslit.txt’, it is impossible to provide a specific solution. However the findpeaks function will return th...

3 jours ago | 0

Answered
Extend linear regression line to an offset
I am not certain what you are asking. Two possibilities: X = [0.6,1.6,2.6,3.6,4.6,5.6,]; Y = [23500, 87780, 153651, 220054...

3 jours ago | 0

Answered
Can someone please help?
There are some problems. First, ‘pv’ is not a function of ‘phi’, at least as written. Second, use element-wise operations ...

4 jours ago | 0

Answered
How to filter a signal with lowpass/highpass?
The easiest way to determine the sampling frequency is to measure it: D = load('trial1.mat'); A = D.Intensity; t = D.Time; ...

4 jours ago | 1

| accepted

Answered
Creating PTn transfer function by
To fit them in the time domain: syms k s T TF1 = k/(T*s+1); TF2 = k/(T*s+1)^2; TF3 = k/(T*s+1)^3; TF1t = ilaplace(TF1);...

4 jours ago | 0

| accepted

Answered
I am not getting the solution for my coding.
Try this corrected version of your code: syms q B P S=6; D=4800; A=25; Delta=0.2; F=50; V=1; d=50; tow=0.1; M=7250; ...

4 jours ago | 0

Answered
New Script keeps opening in new window instead of a tab
See: New Script keeps opening in new window instead of a tab

4 jours ago | 0

| accepted

Answered
Error with accumarray code
For some reason, accumarray doesn’t like the findgroups ‘G’, at least here. I have no idea why it throws those errors, since al...

5 jours ago | 1

| accepted

Answered
How can I set linewidth directly in bode command?
It is possible to do this without getting the outputs from bode and doing separate plots, however it requires some fairly extens...

5 jours ago | 0

Answered
Multiple runs changing variable for plot
I would use savefig for each figure you want to compare later. All the data and related information as well as the figure itsel...

5 jours ago | 0

Answered
How to find the harmonics in a sound signal?
I would first use medfilt1 or smoothdata to eliminate as much broadband noise as possible. (It might be able to eliminate most ...

5 jours ago | 0

Answered
ODE 24 "not enough input arguments"
This runs without error (R2020a): function conversion=ODEFUNCTION611b(t,C) V0=200; %dm^3 Kc=1.08; %given equilibirum constan...

6 jours ago | 0

| accepted

Answered
multiplying audio signal by using Matlab
The cosine signal must be the same size as ‘y’. One way to define it as such: t = linspace(0, 1, fs); Then create the cosi...

6 jours ago | 0

| accepted

Answered
Reading a CSV File that has not Quoted its Strings
I cannot get csvread to imoprt that file at all. However readtable has no problems with it: T1 = readtable('T1811061.24721....

6 jours ago | 1

| accepted

Answered
how to determine coordinate from graph
Try this: x = 0:1:20; y = (668.061./x).*[1-exp(-0.1468.*x)]-40; Try this: x = 0:1:20; y = (668.061./x).*[1-exp(-0.1468....

6 jours ago | 0

| accepted

Answered
Error using contour (line 48) Z must be at least a 2x2 matrix.
I have no idea what the arguments to your function are, so I cannot run your code. Try this: % Create empty matrix for von ...

6 jours ago | 0

Answered
Integrating: I keep getting 'Array indices must be positive integers or logical values.'
Vectorise the square in the first term (replace ^2 with .^2) and the errors will likely go away. (My version of MATLAB will n...

7 jours ago | 0

Answered
Error when calling parameterized function
Use element-wise operations: function [val] = scalingfunction(x) fun = @(x,y) ((1./(y.^2+1).^(3/2))-(1./((y+x).^2 + 1)).^(3/2...

7 jours ago | 0

| accepted

Answered
Issue in using splitapply to plot data
One approach: D = load('val.mat'); val = D.val; G = findgroups(val(:, 3)); figure hold on Y = splitapply(@(x){plot(x(:,...

7 jours ago | 1

| accepted

Load more