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.

Answered

End to end plots

Try this: F = complex(rand,rand); % Use Actual Complex Value S = complex(rand,rand); ...

End to end plots

Try this: F = complex(rand,rand); % Use Actual Complex Value S = complex(rand,rand); ...

etwa 10 Stunden ago | 0

Answered

Plotting the data in the given file over time period and tabulating the results

I have no idea what you want the result to be. Try this: D1 = load('data.mat'); StateFrequency = D1.StateFrequency; Col...

Plotting the data in the given file over time period and tabulating the results

I have no idea what you want the result to be. Try this: D1 = load('data.mat'); StateFrequency = D1.StateFrequency; Col...

etwa 10 Stunden ago | 0

Answered

How to plot cubic equations ?

Here is one approach: f = @(x,y) x.*y.*(x.^2+y.^2) - 47.3; figure fih = fimplicit(f, [-10 10 -10 10]); xv = fih.XData; ...

How to plot cubic equations ?

Here is one approach: f = @(x,y) x.*y.*(x.^2+y.^2) - 47.3; figure fih = fimplicit(f, [-10 10 -10 10]); xv = fih.XData; ...

etwa 13 Stunden ago | 0

| accepted

Answered

Fit with an integral involved

Try this: function y = integralfit(b,Tv,R,nu,T0) % % % MAPPING: b(1) = E1, b(2) = E2, b(3) = Tstar, b(4) = Tdot f...

Fit with an integral involved

Try this: function y = integralfit(b,Tv,R,nu,T0) % % % MAPPING: b(1) = E1, b(2) = E2, b(3) = Tstar, b(4) = Tdot f...

etwa 16 Stunden ago | 0

| accepted

Answered

standard deviation in errorbar

Not silly at all, however it may not produce the result you want. It might be more appropriate to calculate the errors as the...

standard deviation in errorbar

Not silly at all, however it may not produce the result you want. It might be more appropriate to calculate the errors as the...

etwa 17 Stunden ago | 0

| accepted

Answered

Heat Map Cell values display

The Font property appears to set this for the entire heatmap. It would likely be necessary to create your own version of the ...

Heat Map Cell values display

The Font property appears to set this for the entire heatmap. It would likely be necessary to create your own version of the ...

etwa 18 Stunden ago | 0

Answered

How to change the datapoints(extracted from a curve) into an array?

If you plotted the curve, you should already have all the data necessary to do the plot. What exactly did you plot, and how...

How to change the datapoints(extracted from a curve) into an array?

If you plotted the curve, you should already have all the data necessary to do the plot. What exactly did you plot, and how...

etwa 18 Stunden ago | 0

Answered

Reaction kinetics parameter determination

See Parameter Estimation for a System of Differential Equations for a working example of how to do this correctly. Unfortuna...

Reaction kinetics parameter determination

See Parameter Estimation for a System of Differential Equations for a working example of how to do this correctly. Unfortuna...

ein Tag ago | 0

| accepted

Answered

Plot not generating graph

Do element-wise division in ‘L_to_D’: ratio= CL./CD; Then it works and the plotted curve appears!

Plot not generating graph

Do element-wise division in ‘L_to_D’: ratio= CL./CD; Then it works and the plotted curve appears!

ein Tag ago | 0

| accepted

Answered

Display format of numbers shown

The options are likely limited. See the Displayed Data section of the HeatmapChart Properties documentation to see what optio...

Display format of numbers shown

The options are likely limited. See the Displayed Data section of the HeatmapChart Properties documentation to see what optio...

ein Tag ago | 0

| accepted

Answered

How to sum different cells of cell array

I would do something like this: C = {[1,2,3;4,5,6] [3,24,35;46,58,69] [10,2,3;24,85,6] [11,22,33;54,15,16]}; cat...

How to sum different cells of cell array

I would do something like this: C = {[1,2,3;4,5,6] [3,24,35;46,58,69] [10,2,3;24,85,6] [11,22,33;54,15,16]}; cat...

ein Tag ago | 0

Answered

How to plot y=(exp.^(sqrt(x)))./(x*x - x*(exp(x))).^(1/3);

Try these: x = linspace(-10, 10, 150); y = (exp(sqrt(x)))./(x.*x - x.*(exp(x))).^(1/3); figure plot(x, real(y), x, ima...

How to plot y=(exp.^(sqrt(x)))./(x*x - x*(exp(x))).^(1/3);

Try these: x = linspace(-10, 10, 150); y = (exp(sqrt(x)))./(x.*x - x.*(exp(x))).^(1/3); figure plot(x, real(y), x, ima...

ein Tag ago | 0

Answered

What is wrong I have been getting errors that it is wrong

Try something like this: outputfcn = @(x,y) sin(sqrt((x.^2)+(y.^2)))./sqrt((x.^2)+(y.^2)); x = linspace(-10, 10, 25); y = li...

What is wrong I have been getting errors that it is wrong

Try something like this: outputfcn = @(x,y) sin(sqrt((x.^2)+(y.^2)))./sqrt((x.^2)+(y.^2)); x = linspace(-10, 10, 25); y = li...

ein Tag ago | 1

| accepted

Answered

MATLAB 2020b fails to start in Windows 10

See if the solution in Why will MATLAB not start up properly on my Windows based system? - MATLAB Answers - MATLAB Central will ...

MATLAB 2020b fails to start in Windows 10

See if the solution in Why will MATLAB not start up properly on my Windows based system? - MATLAB Answers - MATLAB Central will ...

ein Tag ago | 1

Answered

i have number i need save only integer without any point or 'e'

I am not certain what you want to do. To change the way the numbers are displayed, change the format options to display the n...

i have number i need save only integer without any point or 'e'

I am not certain what you want to do. To change the way the numbers are displayed, change the format options to display the n...

2 Tage ago | 1

Answered

How can I find the baseline of signal?

See if the min function will do what you want. If you want to plot a horizontal line indicating the minimum, and if ‘y’ is ...

How can I find the baseline of signal?

See if the min function will do what you want. If you want to plot a horizontal line indicating the minimum, and if ‘y’ is ...

2 Tage ago | 0

Answered

How to shade the area between two mirror curves using patch?

I am not certain how ‘C_1’ and ‘C_2’ were created, however this is one approach to filling the space between them (creating them...

How to shade the area between two mirror curves using patch?

I am not certain how ‘C_1’ and ‘C_2’ were created, however this is one approach to filling the space between them (creating them...

2 Tage ago | 1

| accepted

Answered

runge-Kutta problem command ode45

I have no idea what you want to do, or what ‘x’ and ‘y’ are. This will get you closer to an actual result: tspan = [0 5]; ...

runge-Kutta problem command ode45

I have no idea what you want to do, or what ‘x’ and ‘y’ are. This will get you closer to an actual result: tspan = [0 5]; ...

2 Tage ago | 0

| accepted

Answered

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...

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...

3 Tage ago | 1

Answered

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 ==...

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 ==...

3 Tage ago | 0

Answered

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...

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...

3 Tage ago | 0

Answered

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...

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...

4 Tage ago | 1

| accepted

Answered

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...

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...

4 Tage ago | 0

Answered

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...

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...

4 Tage ago | 0

| accepted

Answered

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...

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...

4 Tage ago | 1

| accepted

Answered

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 ...

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 ...

4 Tage ago | 1

| accepted

Answered

± 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...

± 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...

4 Tage ago | 0

Answered

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...

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...

4 Tage ago | 0

Answered

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...

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...

5 Tage ago | 0

Answered

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...

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...

5 Tage ago | 0