photo

Star Strider


Last seen: Today
15,085 total contributions since 2012

Hic sunt dracones!

专业:医师(医学博士):一个学位证书持有者merican 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.

Contact

Star Strider's Badges

  • 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

View details...

Contributions in
View by

Answered
How to extract numbers from .dat file
One option: fidi = fopen('Nasis Vangelis.dat','rt'); k = 1; while ~feof(fidi) readline = fgetl(fidi); C{k} = regex...

1 hour ago | 0

Answered
How to Plot a Continues Tiime Signal
I have no idea what ‘x(t)’ is. I usually code the uint step function as: u = @(t) t>=1; althoug other options are possible...

15 hours ago | 0

Answered
read data from delimited text file
This is one of the more difficult files I have managed to import! See if this does what you want: fidi = fopen('water.txt')...

15 hours ago | 0

|accepted

Answered
A simple LowPass Filter
Using a window inplies a FIR filter. Start with the fir1 function to design it, and freqz to analyse it. Filter your signal wi...

1 day ago | 0

Answered
Printing my Integration step by step
Use cumtrapz instead of trapz: L=F./W; lambda= 2*cumtrapz(W,L) figure plot(W, lambda) grid xlabel('W') ylabel('\int\la...

2 days ago | 0

|accepted

Answered
Cell-Matrix, I can't extract values
Change the code slightly to: F = openfig('phi_1.fig'); ax = gca; lines = findobj(ax, 'Type','Line'); for k = 1:numel(lines)...

2 days ago | 0

|accepted

Answered
Mesh with griddata, how eliminate undesidered extra surface
Without your data, posting an exact solution (if one even exists) is not possible. One possibility is that your data are actu...

2 days ago | 1

Answered
why surface plot is connecting its edges?
Try this for the file provided, and the others that likely have similar formats. Note — It is only necessary to reshape the ...

2 days ago | 0

|accepted

Answered
Help finding R^2 value for curves
I appreciate your quoting my code! The value is not difficult to calculate. One example using a much simpler single-var...

3 days ago | 0

|accepted

Answered
Predicting the kinetic constant of a reaction based on experimental data
If you have the Global Optimization Toolbox, the code I attached will estimate the parameters with reasonable accuracy, although...

3 days ago | 0

|accepted

Answered
Trouble with my function
You need to tell your ‘derivative’ function what ‘y’ is. Changing ‘derivative’ to an anonymous function (for my convenience) ...

3 days ago | 0

Answered
Error using plot3 - Vectors must be the same length
See if this does what you want: theta = [0:0.101:pi/2,3*pi/2:0.01:2*pi]; rho = sqrt(cos(theta)); [x,y]=pol2cart(theta,rho); ...

3 days ago | 0

|accepted

Answered
Plotting a Sequence over a Given Interval
I have no idea. I would just do something like this, and hope for the best with respect to whatever that exp() call is suppos...

3 days ago | 0

|accepted

Answered
help pease, how to use syms? why this is not working?
It is working. Ths eolution is simply not as straightforward as it might first appear. Consider: syms h Q = 10; k = 50...

3 days ago | 1

|accepted

Answered
How can I resolve Error Using max function
I am not certain what you want. One option is to enclose all the arguments within square brackets [], effectively concatenati...

4 days ago | 0

|accepted

Answered
Coordinates parameter & colormap
Try this for the plot: figure scatter(T(:,1),T(:,2),10,T(:,3),'filled') set(gca, 'XColor','none', 'YColor','none', 'Gri...

4 days ago | 0

Answered
Generate GA Plot after the algorithm has finnished
I am not certain what you want to do. If you want to save the interim results to plot later (or to save them in the event tha...

4 days ago | 0

|accepted

Answered
2d filled contour plot
Try this: x = [0;0.03;0.03;0.01;0.01;0;0.02;0.02;0.01;0;0.01;0.02;0.015;0.005;0.025;0.03;0.025;0.01;0.005;0;0.01;0.005;0]; y ...

4 days ago | 0

|accepted

Answered
ode45 function matrix dimensions problem
Do not use global variables! Pass the additional parameters as arguments to the function, and use an appropriate anonymous fu...

4 days ago | 0

Answered
Band-Stop Filter Design
You actually want the sos matrix and scaling factor, even if you do not realise it, since they create a stable filter when the t...

5 days ago | 0

Answered
New to matlab problem plotting
See: how to convert 2D graph to 3D? for one approach. The second image looks as though it was copied from my Answer in tha...

5 days ago | 1

|accepted

Answered
Plotting a function with 2 dependent variables
Use the mesh or surf functions. Other options are contour, and waterfall, depending on the result you want.

5 days ago | 0

|accepted

Answered
How to resolve "not enough input arguments" error
A guess: [X,iter,erroX,erroF] = newtgen(@FXJV, ... ); ↑ ← DENOTES FUNCTION HANDLE It is prob...

5 days ago | 0

Answered
Simplifying output involving symbolic variables
Try this: evec = simplify(evec, 'Steps',500) eval = simplify(eval, 'Steps',500) producing: evec = [((4*wp^4 + ws^4)^(1/2)...

5 days ago | 0

|accepted

Answered
How to solve a data length error in the function "filtfilt"?
From the filtfilt documentation: x — Input signal vector | matrix | N-D array Input signal, specified...

5 days ago | 0

|accepted

Answered
How make create 3D plots using piece wise functions?
... rest of your sentence is missing! Try this: x = linspace(-5, 5, 50); y = linspace(0, 10, 50); [X,Y] = ndgrid(x,y); Z...

6 days ago | 1

Answered
d如何o I extract a certain datapoint from a curve?
Try this: x = linspace(0, 100); % Create Vector y = 25 - 10*sin(2*pi*x/100); % C...

6 days ago | 0

|accepted

Answered
assigning values to a matrix
This: a(4,:) = 4 produces: a = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

6 days ago | 0

Answered
Matrix dimensions must agree error
The eye matrices are (699x699) because of the subtraction by 2 from the size argument. So the vectors all need to be shortened ...

6 days ago | 0

|accepted

Answered
quantifing goodness of fit between two data sets
If ‘Q’ are your data and ‘Qest’ are the model values, one option is to compute the Coefficient of determination () value: RMSE...

6 days ago | 0

|accepted

Load more