Community Profile

# Star Strider

Last seen: 1 day ago Active 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.

All

#### Content Feed

View by

Laplace transform not getting Value
I do not see any specific problems. syms x(t) Xs s eqn = diff(x,t,2)+2*diff(x,t)+26*x(t) == 10*cos(t)*(heaviside(t-pi)); ...

9 hours ago | 0

| accepted

For machine learning classification between two samples, how can I focus on certain frequency components as the separating feature?
There may be many approaches to this. I actually did something similar using linear discriminant analysis (the Statistics and M...

11 hours ago | 0

How can i create a discrete system with defined delays zeros and pole?
If you are starting with the pole and zero locations, you can get the transfer function representation easily by using the zpk f...

19 hours ago | 0

Plot 3rd differential equation
The documentation section on dsolve and Solve Differential Equation describes it better than I can! (It will be necessary to ...

19 hours ago | 0

How to draw line between point and plotted line?
The two plots are different, so using the provided data (and the same Wikipedia article Distance from a point to a line) provide...

1 day ago | 0

In Scatter plot, make the largest data on the top
Since the data are being plotted with scatter3, experiment with the view function to rotate the 3D figure to display it as desir...

1 day ago | 0

Plotting bode diagram with a transfer function without values
No. How would you plot it without assigning values to any of the varaibles? (It would be possible to symblically derive some...

1 day ago | 0

| accepted

Control systems failing to plot
The only thing I can think of is to try these: restoredefaultpath % savepath % <— MAY NOT BE NECESSARY rehas...

3 days ago | 0

How can I define a symbolic function with vector arguments?
A vector has only one dimension (that I am aware of), so I assume ‘x’ needs to be a (3x1) vector. syms x ...

4 days ago | 0

Solve function has no numerical answer
Try this — lambda0=1.3e-6; L=1500e-6; syms x real A=6.2*10^(-22); B=6*10^(-18); C=lambda0/(2*L); eq=x==((C-A*x)/B)^1.2...

4 days ago | 0

| accepted

estimate transfer function from power spectrum density
I would not use the PSD for this, since the Fourier transform (fft or pspectrum) are better. If the System Identification Too...

4 days ago | 0

how to get tf answer for this problem?
Almost. Use the zpk function to do the format transformation. a=[40]; b=[0.05 1]; c=[1]; d=[0.5 1]; e=[0.8]; f=[1 1...

4 days ago | 1

| accepted

ode45 inside calling funciton error
All the arguments the function needs must be passed to it as additional parameters. See the documentation section on Passing ...

5 days ago | 0

Copy the text from the command window automatically
The diary function is an option, however if the code is printing to the Command Window, it would likely be easier to print it to...

5 days ago | 0

| accepted

How to generate line from data to the origin point in 3d scatter plots?
Try this — x1 = randn(10,1); % Column Vectors y1 = randn(size(x1)); z1 = randn(size(x1...

5 days ago | 1

| accepted

plot in logarithmic scale
The contourf function plots a plane, not a surface. To plot logarithmic contours of the ‘Z’ matrix, it will be necessary to c...

5 days ago | 0

| accepted

How to plot an equation with different parameter value?
Try this — x = 0:0.01:+10; c = [1;1.1;1.4;0.3]; Y = (1-x.^2).^c; figure plot(x,Y) legend(compose('c = %.1f',c), 'Locati...

5 days ago | 1

| accepted

How do you plot RMS of a Colormap?
Depending on the desired result, either use the rms function with the entire matrix (using the (:) convention to force it to be ...

5 days ago | 0

Excel sheet time data defaulting to January 1st, 1970 on plot
My best guess is that datetime is not interpreting the time column correctly. It would need to be something like this: time...

6 days ago | 1

| accepted

Calculation of prediction interval for a new observation
The code is not doing a regression, so the ±95% confidence intervals on the vector would be the confidence intervals on the mean...

6 days ago | 0

How to simply record a string of sound from the computer microphone?
The audiorecorder , recordblocking and audioplayer functions could be helpful. .

6 days ago | 0

Using temperature and pressure data to estimate antoine coefficients for glycerol
Since both variable are present in the objective function equation, nlinfit (or lsqcurvefit) are not really good choices for thi...

7 days ago | 1

IIR Filter Coefficant Value
I do not have access to R2010b and I have no idea what application that is. I would design the filter a bit differently, usin...

7 days ago | 0

How to make circle in matrix form
I am not certain what th desired result is. This is the best I can do — k = 10; M = zeros(k); v = 0:0.2:k-2; x = ceil(...

7 days ago | 0

how can i create an amplitude sweep?
Try these — t = linspace(0, 10, 500); s = sin(2*pi*t*10); figure subplot(3,1,1) plot(t, s) grid ylim([-10 10]) titl...

7 days ago | 0

| accepted

Is there a mistake in my code?
I might be better to estimate the parameters directly — x = [2.5 6 9]; % Exce...

8 days ago | 0

| accepted

Problem adding the large number with small number
The addition is made. It is necessary to display the appropriate precision to see it — a=6.3276e+16 b=17.3304 a_plus_b = ...

8 days ago | 0

| accepted

fcontour and fplot showing distorted images...
Separate the real and imag parts of the function and it works — syms k a b x e=exp(sym(1)); assume (a>0); %a=6; z(k,a)=(...

8 days ago | 1

| accepted