Community Profile

photo

Star Strider


Last seen: Today 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
  • 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

배지보기

Content Feed

보기 기준

답변 있음
How to plot specific range of values in a plot?
Perhaps: plot(X([2:5 7:end]),Y([2:5 7:end]),'ko') Create vectors with specific values by enclosing them in square brackets []...

약 1시간 전 | 0

답변 있음
Please assist! Z1= exact solution; Z2= approximate solution. Now i want to plot a 2D graph of the exact and approximate solution in ONE graph to campare the results
Try this: alpha=1; t=0.004; [x,t] = meshgrid(-4:.1:4, 0.1:.2:0.4); exact=(sech(x/4-t/4)).^2; f0=(sech(x/4)).^2; f1=(s...

약 2시간 전 | 0

답변 있음
Ode 45 / Ode xx: Solve time depending system of equations (2nd order)
The clear and clc calls are not necessary, global variables are never advisable, and the syms call is also not necessary. Creat...

약 3시간 전 | 0

답변 있음
Reorganization of experimental data
The data file you attached does not appear to bear a strong resemblance to the data file you quoted. I chose to use textscan ...

약 20시간 전 | 0

답변 있음
Finding the intersection points between two curves
Several options — h=20; K=13.6; l=1148e-6; f1 = @(beta)tan(beta*l); f2 = @(beta)2*h*beta*K./(K^2*beta.^2-h^2); figure ...

약 21시간 전 | 0

| 수락됨

답변 있음
How to obtain model parameters by fitting experimental data to the monod model. monod model.
It should be relatively straightforward to adapt your system to existing code. One example is Parameter Estimation for a Sys...

약 23시간 전 | 0

답변 있음
How can i calculate PDF and CDF of non-parametric distribution?
I am not certain what your data are. If ,they are appropriate for the function, I would begin with the ecdf function, since it ...

1일 전 | 1

| 수락됨

답변 있음
Issue solving a non-linear differential equation in Matlab
‘Am I wrong?’ No. The result is not always as simple as it might be. In R2021a, the Symbolic Math Toolbox apparently simp...

2일 전 | 0

답변 있음
isosurface with wall thickness
There does not appear to be any way to change the thickness of the plotted surface. The best I can come up with is the revise...

2일 전 | 0

답변 있음
How can I plot integral of this equation?
Try something like this — % clc; figure('color','white'); while(1) sigma.phi=input('Enter 0.1 in a.u.: '); mu=input('Enter...

2일 전 | 0

| 수락됨

답변 있음
How to get the coefficients of a fractional polynomial from syms?
It is not a polynomial, so it is necessary to create it as one and then extract them. syms x, F=29.0*x*(5.7e-4*x + (5.58e-4*...

3일 전 | 1

답변 있음
How to find and chart the frequency of a letter in column with histogram.
Perhaps — Col = {'HFHFHSHHAJHJA'; 'HSAJHFGFSAGJ'; 'HSGHSFFJHJ'}; T = cell2table(Col) RowSum = cellfun(@(x)sum(x=='H',2),T{:,...

3일 전 | 0

답변 있음
Error with find(X) statement
Taking a wild guess, since the test is: states=find(sum(UNITARY_MATRIX)~=1.0) it is likely encountering floating-point approx...

3일 전 | 0

| 수락됨

답변 있음
vector gives 0 integral
There quite definitely is! In your call to it: sd = trapz((z),0,20) the function interprets ‘z’ (the parentheses aren’t n...

3일 전 | 0

| 수락됨

답변 있음
How to shade/color overlapped area in the graph?
I honestly have no desire to download ‘plotxx’ and learn its intricacies, so I used yyaxis instead here. The same approach sh...

3일 전 | 2

| 수락됨

답변 있음
Create line between plot points
Yes. x = [0 10 20 30]; y = [355 433 510 590]; figure plot(x, y, '*-r') grid Ax = gca; Ax.XMinorGrid = 'on'; Ax.YMino...

3일 전 | 0

답변 있음
plotting a phase plane with a system of linear diff equations.
Using the numeric ODE solvers, likely the easiest way to do that is to use odeset to set options, and then choose 'OutputFcn', @...

4일 전 | 0

| 수락됨

답변 있음
Why am I getting a Parse error for a sequence?
It’s missing an equal (=) sign: for it = 1:MaxIt %this starts 'for' loop and runs for MaxIt times. .

4일 전 | 1

답변 있음
Is there any way to do LFIT (general linear least-squares fit ) on the time series data using MATLAB?
That depends entirely on what you want to do. One approach: syms a b c d e f g t y = a + b*t + c*t^2 + d*sin(2*pi*t) + e*...

4일 전 | 0

답변 있음
Problem with reshape and Surf plot
The only solution I can propose is to use either griddata or scatteredInterpolant . Try this — opts = detectImportOptions('...

5일 전 | 0

| 수락됨

답변 있음
how to sort table by row sub-string values?
Try this — wellname = {'01A58' rand; '01A59' rand; '01A62' rand; '01A63' rand; '01A66' rand; '01A58' rand; '01A59' rand} well...

5일 전 | 0

| 수락됨

답변 있음
How to filter first fixation times for participants
I had no problems getting readtable to work correctly. I have no ides what the third loop here does, however it now works by ...

5일 전 | 0

답변 있음
What is the frequency of my signal?
Try this — LD = load('Frequency.mat'); t = LD.t; CH0 = LD.CH0; Fs = 0.1; ...

5일 전 | 1

| 수락됨

답변 있음
how to do average over third dimension?
Taking a slightly shorter example, try something like this — % ucom = randi(9,21,41,24); ucom = randi(9, 3, 4, 24); sz_ucom ...

5일 전 | 0

| 수락됨

답변 있음
How to pre-allocate my loop for speed?
I am not certain what the problem is, however the preallocation would be straightforward: pk_seagrass = NaN(1,length(ping_time...

5일 전 | 1

| 수락됨

답변 있음
Find energy for each second of audio file
Use the buffer function: Fs = 44.1E+3; % Sampling Frequency s = randn(Fs*5.2,1); ...

6일 전 | 0

| 수락됨

답변 있음
Does anyone know why the second plot doesn't work?
Yes! In line #44, there is a hold off call, although no new figure call, so the subsequent plot overplots the existing plo...

6일 전 | 0

| 수락됨

답변 있음
function interpolation and root finding
Try this — points = [0.500000000000000 0.500000000000000 0.498097349045873 0.494452298903742 0.49...

6일 전 | 1

| 수락됨

답변 있음
Please someone help test run this Matlab code and debug it if possible. Please help a student
The ‘uexact’ variable does not exist, and there is nothing similar to it (for example by a different spelling, at least that I c...

7일 전 | 0

| 수락됨

답변 있음
How to solve damped forced vibration analysis using ode45 ?
One problem is with the ‘dxdt’ assignment. MATLAB interprets the spaces as delimiters, so the second row has 3 columns, as MATL...

8일 전 | 0

| 수락됨

더로드