Community Profile

photo

Star Strider


12,713 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
how do I plot temperature contours on a PV diagram?
Try this example — Tv1 = linspace(273, 323, 10); Tv2 = linspace(323, 373, 10); Vv1 = linspace(150, 200, 10); [T1m,V1m] = nd...

5 hours ago | 0

Answered
I am trying to plot a function with iteration of a variable
Try this: a = .0022; %m d = .05*a; %m viscosity_p = 1.2; %cP viscosity_c = 3.5; %cP dpdz1 = -10; %mmHg dpdz2 = -1.3; %kPa...

6 hours ago | 0

Answered
Intersection between ellipse and circle
Try this: %ellipse e=0.284576477148; %eccentricity a=0.803468308684*150*10^6; c=e*a; b=sqrt(a^2-c^2); %parameters of ellipse...

11 hours ago | 0

Answered
Shortcuts for symbols not recognized
It depends on how and where you want to use them. To use them in plots, use the text function, and particularly see the section...

15 hours ago | 0

Answered
lsqcurvefit: is the output of this function unique for a given set of initial conditions (and deterministic model)?
All nonlinear parameter estimation algorithms are sensitive to the initial parameter estimates. It is quite possible that they ...

15 hours ago | 0

Answered
Plot a straight line on another graph
It looks as though you want to plot tangent lines at specific points on the curve. See How to draw tangent line at infleciton p...

16 hours ago | 0

Answered
Interpolate a set of scattered points
I am not certain what you want. The figure produced by this code appears quite similar to your original plot image: D = rea...

1 day ago | 0

| accepted

Answered
how to plot this equation?
Try this: t = linspace(0, 5000, 250); % Choose Appropriate Limits y = 10.1556-9.10862*exp(-0.0010...

1 day ago | 0

Answered
Printing a variable within an input command
Assuming ‘current_player’ is a character array or string variable: move = input(sprintf('Player %s, choose column 1-7 to drop ...

1 day ago | 0

Answered
How do you find the intersection points of two functions?
It is straightforward to show that P>A for the entirety of ‘n’. They do not ever intersect: n=1:110; A=10+0.5*n; P=8*exp(...

1 day ago | 0

Answered
Error while trying to use diff comand
It is not clear to me what you want to do. If you want to take the numerical derivative of ‘Id’ using step size ‘Vt’ use the ...

1 day ago | 0

Answered
how to run an index loop while using find function
‘But I'm stuck at finding a proper function to find A single PPG coordinate near ECG in fixed range and make it work with index ...

1 day ago | 0

| accepted

Answered
MatLab won't allow me to label the columns in a table that I created
You are not creating your table correctly, and you are not using the correct syntax to set the row and column names. Try this...

1 day ago | 0

| accepted

Answered
Contour plot of concentration of chemical species
Try this example: xy = randi(9, 100, 2); % Matrix Of ‘x’ and ‘y’ Positions [Uxy,ia,ic] =...

1 day ago | 1

| accepted

Answered
How to overlay my data point plot on Bode plot?
Probably the easiest way is to have bode return the data it calculates as outputs using the techniques in Obtain Magnitude and P...

2 days ago | 0

Answered
Data set must contain at least 3 samples error in find peaks embedded in for loop
‘... columns of a matrix ...’ Note that: [pks{i,:},locs{i,:}] = findpeaks(bcgFixed(i,:),'MinPeakProminence',(bcgthresh*bcgS...

2 days ago | 0

| accepted

Answered
Theorical Question About Making Matlab Read Graphic
Click on this link to launch a File Exchange search for functions that scan and import data from a printed plot. One popular fi...

3 days ago | 1

| accepted

Answered
Moran Function, in command window print every calculation, and i don't want that
Put a semicolon ; at the end of each line you do not want to print to the Command Window. See: MATLAB Operators and Special ...

3 days ago | 0

| accepted

Answered
Solving Differential Equations using ODE45
I decided to let the Symbolic Math Toolbox have a go at your equations, since they involved some substitutions: syms S(t) X(t)...

3 days ago | 0

| accepted

Answered
Weighted average that takes error into account?
It depends on what you mean by ‘error’. In regressions, data are commonly weighted by the inverse of the variance, so the large...

3 days ago | 0

Answered
how to plot a prism
Use surf instead of plot3 if you want solid-appearing sides. Try this: figure surf([x;x].', [y;y].', [z,zz], 'FaceColor','...

3 days ago | 0

| accepted

Answered
How to combine all script windows into one window with tabs
You may need to undock the Editor. There is a small white triangle inside a white circle on a blue background in the upper righ...

4 days ago | 0

| accepted

Answered
Legend error (does not display 'line' in legend box)
Using: opengl('save','software') seems to be a solution for that problem. See: Use Software OpenGL for Future Sessions and...

4 days ago | 0

| accepted

Answered
Error using horzcat dimensions
I have no idea what your code does or what the variables are that you want to return. The easiest approach is to return a cel...

4 days ago | 0

| accepted

Answered
how can i put value of cell in vector?
Two options that come quickly to mind: S={1 ,2 ,3}; U = [S{:}] U = cell2mat(S) Obviously these only work if the cell conten...

4 days ago | 1

| accepted

Answered
How to set the interval of x-axis from a large value to a small value and set the steps of interval in fsurf
‘How do I set the steps to decades?’ Purely guessing, the logspace function could be appropriate, then set that axis to be loga...

4 days ago | 1

| accepted

Answered
How make a loop that finds my selected specific peaks and plots them on the graph
The findpeaks function has several name-value pair arguments that can help you do what you want, including defining them by prom...

4 days ago | 0

Answered
How to do simple Excel functions using Matlab instead
Since you actually want to take the numerical derivative (rather than calculate the differences between elements of your vectors...

4 days ago | 0

| accepted

Answered
Creating 3D Plot using Surf
One possibility is to preallocate ‘gamma’ as a vector, since it appears to be such in the rest of your code: gamma = zeros(siz...

4 days ago | 0

Answered
how to design a filter
Here is one for a bandstop filter: Fs = 2250; % Sampling Frequency F...

5 days ago | 0

Load more