photo

Star Strider


Last seen: Today Actif depuis 2012

Followers: 11   Following: 0

Message

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. Time Zone: UTC-7 (Standard); UTC-6 (Daylight Savings/Summer)

Statistiques

All
  • Scavenger Finisher
  • Most Accepted 2023
  • Most Accepted 2022
  • Solver
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • Most Accepted 2021
  • Revival Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 4

Afficher les badges

Feeds

Afficher par

Réponse apportée
I have a nonlinear equation with a symbolic variable and cant solve it.
It has a solution (of sorts), although you have to ask for it — n = 2.1; alpha0 = 0; syms p alpha eqn = p^(n+1) - alpha0*p...

26 minutes il y a | 0

Réponse apportée
Hello, How can I make the output timetable look similar in the photo, so it will 901*1 instead of 901*3
You can do that once, however if you write it and then read it, it will lose the original formatting. To illustrate — Time ...

environ 5 heures il y a | 0

| A accepté

Réponse apportée
Data Organization in ECG Analysis: Separate Leads or Individual Signals
I am not certain what you want to do, or what question you are asking. In general, EKG data are analysed column-wise, with a t...

environ 6 heures il y a | 0

Réponse apportée
Multiple Regression and Intercept
I see nothing wrong with the code, and it conforms to the example in the regress documentation. The only suggestion I have is...

environ 6 heures il y a | 1

Réponse apportée
Plotting Cylinder Surface Using fill3
It is easier to use the surf function for this — % figure() % theta = 0:0.5:2*pi; theta = linspace(0, 2*pi, 11); xs = [cos(...

1 jour il y a | 0

Réponse apportée
Is the pvalue from an lmfit table derived from a two-sided or one-sided t-test?
For what it’s worth, when I updated my polyparci function, I used a default two-sided t-distribution to calculate the probabilit...

2 jours il y a | 1

| A accepté

Réponse apportée
I want to solve the equation in the picture and use ode45 to solve it, but after running for 5 hours there is still no result, I would like to ask if the program is written wrong or is there any optimization?
The system is ‘stiff’ probably because of the large variation in the magnitudes of the parameters. Using a stiff solver (ode1...

2 jours il y a | 0

| A accepté

Réponse apportée
Plot frequency responses based on the ODE results
I am not certain what result you want. The freqz function only works on Signal Ptocessing Toolbox filter results. To use the C...

2 jours il y a | 0

Réponse apportée
How do I perform a sin^2 or a cos^2 fit for my data?
Perhaps this — x = [0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180]; y = [880,1200,1900,2700,3300,3600,3000...

2 jours il y a | 0

| A accepté

Réponse apportée
Training, validating, and testing model.
Perhaps I am missing something in your problem statement, however linear regressions such as that done by fitlm is a least-squar...

2 jours il y a | 0

Réponse apportée
Force symbolic simplification to eliminate variable
For complicated expressions, it is occasionally necessary to give the simplify function a large iteration limit. Here, I gave i...

2 jours il y a | 0

Réponse apportée
how can I write a function of another function of two variables
Create the function and then call it in the function — rho = @(t,z) something; mu = @(t,z) c .* log(rho(t,z)*b ./ (1 - rho...

3 jours il y a | 0

Réponse apportée
function where input is also output
You can certainly return the input as an output if you want to. A simple example — x = 42; [result_val, arg_val] = square_...

3 jours il y a | 0

Réponse apportée
Almanac function not work
It works here — format longG ref_pov=almanac("earth","bessel","meter") Since it worked previously, you may have a path pro...

3 jours il y a | 0

Réponse apportée
The graph doesn't disply
It actually does work. The problem is that the red line overplots it since it is plotted later, and hides the blue line. If yo...

4 jours il y a | 1

| A accepté

Réponse apportée
Derivative of table between NaN values
Depending on what you want to do, use either fillmissing or rmmissing to either interpolate the NaN values (fillmissing) or remo...

4 jours il y a | 0

Réponse apportée
Need to change the direction of polar plot theta tick labels from counterclockwise to clockwise.
Use the ThetaDir name-value pair to reverse the angle direction. (As a pilot myself, I appreciate this!)

4 jours il y a | 0

| A accepté

Réponse apportée
Tabulating the data obtained for my Matlab code
Create a table array with your variables (that I assume are ‘xi’ and ‘yi’ here) and then use writetable to save them as an Excel...

5 jours il y a | 1

Réponse apportée
How can I make the layout in the attached image with tiledlayout
It took a few experiments to get this to work. Try this — x = 0:0.1:31; y = sin((1:5).'*x*2*pi/32); figure tiledlayout...

6 jours il y a | 0

| A accepté

Réponse apportée
how to plot from CSV files?
It would help to have your data rather than an image of it. In the interim, try something like this — imshow(imread('Screen...

6 jours il y a | 0

| A accepté

Réponse apportée
Paramter optimization by curve fitting
The ‘options’ problem was easy to fix. Just use the name of the options structure you created in your ga call. There are a ...

6 jours il y a | 0

Réponse apportée
Find a peak within a pattern
It is not clear to me what you want to identify. You can easily identify the starting and ending points of the force signal u...

6 jours il y a | 0

Réponse apportée
How to create a function and call it?
See the documentation section on Function Basics.

7 jours il y a | 0

| A accepté

Réponse apportée
Digitizing a black and white Electrocardiogram scan
A File Exchange search reveals these contributions. An Interweb search also reveals GRABIT, and there are others. That shou...

8 jours il y a | 0

Réponse apportée
Fitting a data set by optimising multiple parameters
Perhaps something like this — T1 = readtable('Ask_17.05.2024.xlsx') a = T1.a; a(1) = 1E-4; ...

8 jours il y a | 0

Réponse apportée
Remove Matlab three dots
The ellipsis dots (...) are continuation operators. You would probably have to remove them manually, or use the strrep or repla...

8 jours il y a | 0

Réponse apportée
shifting axis on both ends so graph does not have points on extreme end
imshow(imread('baseresistancemultiplot.jpg')) One option is: axis('padded') That will put space between the elements of th...

9 jours il y a | 0

| A accepté

Réponse apportée
How to apply low pass filter to forces generated by OpenFOAM?
Filters do not care what data you present to them. They assume that the data are sampled at constant intervals, and that the ch...

10 jours il y a | 0

Réponse apportée
How to create line connects between two semi circles?
I finally got this to work yesterday — If you’re interested, I’ll post my code .

11 jours il y a | 0

Réponse apportée
How to solve a highly non-linear ODE containing multiple powers?
It probably depends on what the values are. When I run it, it usually takes off to occasionally at some point, however in oth...

11 jours il y a | 0

| A accepté

Charger plus