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
  • Most Accepted 2021
  • Revival Level 3
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

배지보기

Content Feed

보기 기준

답변 있음
I want to write this transfer function (0.7/s^2)*sin(0.05) in MATLAB code, but sine make it complicated. Kindly, how can I make that?
Since the sin call creates a constant and is not itself a function of ‘s’, evaluate it first and then just multiply it as with a...

약 1시간 전 | 0

답변 있음
About Adding Lines to Your startup.m file
See the documentation on startup I believe that it now has to be in (Windows machines): C:\Users\<UserNAme>\Documents\MATLAB...

약 1시간 전 | 0

답변 있음
error with changing color of marker using scatter3
This is the best I cand o. See Plot Table Data with Custom Marker Sizes and Colors for a more extensive discussion. Tabl...

약 15시간 전 | 0

답변 있음
How to convert time column into a regular array?
If the time series are a datetime array, they can easily be plotted as funcitons of that variable. It would be best to convert ...

약 18시간 전 | 0

| 수락됨

답변 있음
Loop to replace outliers with NaN extremely slow
The way the table addressing is coded is likely the problem. I’m not certain, however using parentheses () addresses the tabl...

약 20시간 전 | 0

| 수락됨

답변 있음
How can i increase significant digits beyond 5 in basic fittings option in Matlab?
There are a few options, one being ytickformat (R2016b and later) and the other being the NumericRuler Properties, Exponent prop...

약 24시간 전 | 0

답변 있음
Average of two dataset
I cannot reproduce that problem here (R2021b). However, to compare all values for both curves, the (x1,y1) values need to be ...

약 24시간 전 | 0

답변 있음
I cannot extract data from syms surface plot: Struct contents reference from a non-struct array object
I can’t run the posted code because there are missing elements. Neverhteless, everything necessary to extract the data and re...

2일 전 | 0

| 수락됨

답변 있음
can't find line of best fit from simple code
The first argument to plot must be the independent variable vector. When I added that, it works! (I broke out the polyval ca...

2일 전 | 0

| 수락됨

답변 있음
A compact way to find elements of an array which are greater, equal, or less than the elements of a second array
To check all the elements against each other — a1 = [0 4 7 8 1 2 3]'; a2 = [4 4 6 9 9 1 1]'; Check = sign(a1 - a2.') ...

2일 전 | 1

답변 있음
Generate new samples from available data
This seems to be an interpolation problem, such that the original data are created by the original values, and the desire is the...

2일 전 | 0

답변 있음
Error "Cannot Create Output File" When Trying to Save Figure
I don’t often use print however it appears that the first argument needs to be the file name to print to. The argument order is...

3일 전 | 0

답변 있음
How to call a function with multi variable in real coded GA in function handle and how to define upper and lower bound of that variable in matlab?
If ‘Torque’ is the fitness function, it should be coded as: function T = Torque(p) % % % MAPPING: a = p(1), b = p(2), c = ...

3일 전 | 0

답변 있음
the for loop is only giving me the last value
There are likely a lot of zeros in the vectors because of the way ‘i’ is defined. The loop is likely not necessary anyway. ...

3일 전 | 0

| 수락됨

답변 있음
How to fit data to a function form
Yes! The mldivide,\ funciton will do this. x = randn(10,1); y = randn(10,1); z = randn(10,1); w = randn(10,1); DM = ...

3일 전 | 0

답변 있음
Is it possible to rectify the figure such that the zig-zag effect doesn't occur?
Using one of the sort functions to sort on the independent variable could work. Remember to sort both variables by the same sor...

4일 전 | 0

| 수락됨

답변 있음
Transfer Functions and Pole Zero forms
The Control System Toolbox tf and zpk functions could be helpful.

4일 전 | 0

답변 있음
How do I crop a matrix in MATLAB based on contents of one column?
I am not certain what the matrix is, or whether there are other missing entries in the matrix. If only the 5th column has missi...

4일 전 | 0

| 수락됨

답변 있음
how to plot graph for SIR epidemic model
I beleive ‘sir’ is supposed to be a system of ordinary differential equations. If so, this will get you started — tspan...

4일 전 | 0

답변 있음
how to fit ylabel for the plots?
One possibility — left_offset = 0.01; set(ylh, 'Rotation',0, 'Position',ylp+[left_offset 0],'VerticalAlignment','middle', 'Ho...

4일 전 | 0

답변 있음
extrapolate data to cross x axis
There are 19 variables in that .mat file. I have no idea which ones are to be extrapolated, so I took a wild guess on two of th...

4일 전 | 0

| 수락됨

답변 있음
finding matrix base on linear equation
I’m not certain what the desired result is here. Try this — x = linspace(-10, 10, 5); y = -0.15*x-21.3; X = [x(:), ones...

4일 전 | 0

답변 있음
Can I eliminate roundoff error caused due to floating point arithmetic limit in MATLAB?
Floating-point approximation error is simply inherent in binary representations of floating-point numbers. The best way to deal...

5일 전 | 0

답변 있음
What can I use instead of 'lsqcurvefit'
The ga function in the Global Optimization Toolbox does not use gradient descent and is therefore more resistant to getting hung...

5일 전 | 0

답변 있음
Trying to find an x value from a certain y value on my graph
I will re-post my original Answer because I believe it addresses the problem (although without the data, it is difficult to dete...

5일 전 | 0

답변 있음
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)); ...

6일 전 | 0

| 수락됨

답변 있음
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...

6일 전 | 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...

6일 전 | 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 ...

6일 전 | 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...

6일 전 | 0

더로드