Community Profile

photo

Star Strider


Last seen: Today
15,347 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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
lsqcurvefit: Local minimum possible... but clearly visible minima
If you have the Global Optimisation Toolbox, many of those functions (ga is my favourite) will search the entire parameter space...

24분 전 | 0

답변 있음
Using OR between elements in vector or antithesis of any(x)
Not certain what you wnat. Try these (the any call is there for comparison only): x = randi([-5 5], 1, 10); TF1 = any(x ==...

32분 전 | 0

답변 있음
Obtaining line equation having multiple points
The polyfit (and polyval) functions may be what you want. There are other options, however these are likely the easiest to us...

약 19시간 전 | 0

답변 있음
how to fix the error ''Conversion to function_handle from double is not possible.'' for the below 3Eq euler matlab code
First, name the variables slightly differently from the function names, second define the initial conditions to conform with tho...

약 23시간 전 | 1

답변 있음
how to color in between curves the two graphs?
It’s not possible to run images of code, especially images of incomplete code. Try this example: x1 = linspace(-0.1, -10, 3...

약 23시간 전 | 0

답변 있음
Show numbers with Grouped Bars
Try this: x = [98 96; 142 52; 42 42]; hBar = bar(x); for k1 = 1:size(x,2) ctr(k1,:) = bsxfun(@plus, 1:numel(hBar(k1).XD...

1일 전 | 0

| 수락됨

답변 있음
How to fit this curve?
The best model is the mathematical expression of the process that created those data. A power law fit appears to provide a re...

1일 전 | 1

| 수락됨

답변 있음
Import text files with extensions other than .txt
Use detectImportOptions to tell readtable to read the file as a text file. One recent example from an earlier Answer: opts ...

2일 전 | 1

| 수락됨

답변 있음
± use in MATLAB
One option: CL = [(0.331+0.008) + (0.15+0.002)*ALPHA (0.331-0.008) + (0.15-0.002)*ALPHA]; Experiment to get differen...

2일 전 | 0

답변 있음
when i plot my figure doesnt show line
Use a colon to create the vectors instead of a semicolon, and be sure the vectors are equal length: x = 1:5; y = 5:9; plot...

2일 전 | 0

답변 있음
How to create a Symbolic vector
Try this:: n = inputdlg('Enter the length of the vector (integer): '); n = str2double(n); syms x x = sym('x',[1 n]) pro...

2일 전 | 0

답변 있음
1D interpolation by y = ax+b
To set the start point at the origin (0,0), calculate the slope as: slope = x(:) \ y(:); for example: x = 0:0.1:10; y = ra...

2일 전 | 0

답변 있음
A little question of [] and for loop
The full code should actually be: A = []; for i=1:50 A=[A i]; end It works by concatenating the value of ‘i’ to existi...

2일 전 | 1

답변 있음
Plot surface from non-anonymus function
See if this does what you want — function z = test(w) x = w{1}; y = w{2}; z = 2*x.^2 + 2*y.^2 +10*(1.1*y.^2 +...

3일 전 | 0

| 수락됨

답변 있음
Find distance between one point and a subset of other points.
See if the pdist function will do what you want. (If so, squareform may also be useful.)

3일 전 | 0

답변 있음
detrending timeseries by removing the linear function fitted by samples?
Considering that the objective is to remove a linear trend, perhaps the easiest way would be: t = 11:22; p = polyfit(x(t),tac...

3일 전 | 0

| 수락됨

답변 있음
Find peak and plot graph from peak
I am not certain what you want to do. If you want to get the peaks and their indices, request those outputs: [pks,locs] = f...

3일 전 | 0

| 수락됨

답변 있음
How can I define a gradient function that can update k values after each iteration to optimize parameters in ODEs?
One option is the approach in Parameter Estimation for a System of Differential Equations. You will need to modify the ‘kinetic...

3일 전 | 0

답변 있음
How to draw bar graph of different colors ?
Try this: y = [280 260 240]; figure c = bar(y); set(gca, 'XTickLabel',{'CS0','CS10','CS20'}) xlabel('Wt% of cenospheres'...

3일 전 | 1

| 수락됨

답변 있음
Problem to get the right format of a Surf Plot
It looks as though ‘X’ is not sorted. Without the data a guess would be this possible solution: BB = sortrows (BB,1); See th...

3일 전 | 0

| 수락됨

답변 있음
How to linearly fit a semilog graph
Try this: D1 = readmatrix('Data.xlsx'); x = D1(:,1); y = D1(:,2); [ymax,idx] = max(y); idxrng = idx:numel(y); objfcn ...

3일 전 | 0

답변 있음
I don't understand why the elements are not the same on both sides
The reason is that ‘t’ needs a subscript: x(n+1) = x(n) + h * ((8*(x(n))/(t(n)+1))-(t+1)*(x(n)^2)); ...

3일 전 | 0

| 수락됨

답변 있음
Adding a new column to a table
One approach: T1 = table(randi([330 470],10,1), 'VariableNames',{'QTcorrected'}); % Create Data QTc = @(x) 1*...

4일 전 | 0

| 수락됨

답변 있음
How to Segment EMG data into time intervals
One option is the Signal Processing Toolbox buffer function. It uses samples as one of its arguments, however that is straigh...

5일 전 | 0

| 수락됨

답변 있음
Coupled rate ODEs with ode45
The concentrations change appropriately, however they don’t change much and the concentrations are vanishingly small. That’s th...

5일 전 | 0

| 수락됨

답변 있음
Figure line won't connect/display all data points
Isolated points only plot if specified as markers. Try this: D1 = load('midpoint.mat'); midpoint = D1.midpoint_overlap_seq...

5일 전 | 0

| 수락됨

답변 있음
How to solve this equation?
Probably the easiest approach: syms h z2 Eqn = h^0.66+0.0805*h == 0.045; [h,prms,cndx] = solve(Eqn,h, 'ReturnConditions',1)...

5일 전 | 0

답변 있음
ode45: use span of length 2
The tspan argument can be anything you want it to be (within limits). To have ode45 to evaluate and output at only those valu...

5일 전 | 0

답변 있음
confusing error message: 'Not enough input arguments'?
With a function in that format, it is necessary to pass a function handle to lsqnonlin (or any other function that takes a funct...

5일 전 | 0

| 수락됨

답변 있음
How to plot only the real solutions of an implicit function ?
Nothing is being generated: R = 0.35; L = 0.25; H = 0.4; f1 = @(x,y) sqrt(L^2-(R*(cosd(x)-sind(x).*sind(y))-H).^2); figu...

6일 전 | 1

Load more