Community Profile

photo

Star Strider


11.598 total contributions 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.

Contact

Star Strider's Badges

  • 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
Text Box location Issue
I would define the axis limits just after the plot call with an axis call. The axis limits will not then change in each iterati...

etwa 3 Stunden ago | 1

Answered
setting yticks for yyaxis
Try this (with your own data): x = linspace(0, 25); % Create Data y1 = sin(2*pi*x/10);...

etwa 3 Stunden ago | 0

Answered
How can I simplify complex symbolic equations? Simplify not working
Tell the simplify function to keep working on ‘eqn’ as long as necessary: eqns = simplify(eqn, 'Steps',150) producing: eqn...

etwa 4 Stunden ago | 0

| accepted

Answered
3D array to cell array
Use the mat2cell (link) function: A = rand(550, 129, 3); % Create Matrix C = mat2cel...

etwa 8 Stunden ago | 0

| accepted

Answered
Plotting The bodee plots extracted from LTSPICE simulator
MATLAB can read it, however it needs a bit of help in order to understand how to read it. Try this: fidi = fopen('Data.txt'...

etwa 12 Stunden ago | 0

Answered
make one struct with two datasets
Try this: data.features = rand(84, 1190); data.labels = rand(84,1); See the documentation on Create Structure Array (link) f...

ein Tag ago | 0

| accepted

Answered
I am trying for filters for my experimental data
My guess is that you used a highpass filter, since it seems that you eliminated the low frequencies and kept the noise. You pro...

ein Tag ago | 0

Answered
how to fit a surface to 3d data points
If your data points are each vectors, try this: x = rand(1, 10); % Create Data y =...

ein Tag ago | 0

| accepted

Answered
Fitting Cosine function to many different data sets.
Thi idea I deleted is to use the Angle sum and difference identities (link) to linearise your regression, since linear regressio...

2 Tage ago | 0

| accepted

Answered
Error changing data in table from char to double
The ‘GROSS_QTY’ problem is relatively easy to solve: [~,S] = xlsread('DateAndQuantity.csv'); G_Q = sscanf([S{2:end,2}],'%d;')...

2 Tage ago | 0

| accepted

Answered
i need to get the maximum amplitude in this code but my final answer is wrong
‘i am fairly certain my code is wrong’ So am I. Try this: D = load('Data.mat'); f = D.f; t = D.t; dt=t(2)-t(1);% t ve...

2 Tage ago | 1

| accepted

Answered
export frequency data from a histogram
Use a handle to return the information from the histogram function, then get the values you want: figure hh = histogram(x); ...

2 Tage ago | 0

| accepted

Answered
Matlab 2018b adds-on problem
Try this: Download R2018b (includes R2018b Update 4)

2 Tage ago | 0

Answered
In which order does polyfit command display coefficients?
The 1.33 value is the slope, and the -4.5 value is the intercept, so they would appear as [1.33 -4.5]. , corresponding to and ...

2 Tage ago | 0

| accepted

Answered
ERROR message when running code
Your code plots all three variables. Note that they only differ by phase, so the easiest way to detect the difference is where ...

2 Tage ago | 0

Answered
Finding the delta (subtraction) of two cells in an existing matrix
Use the diff (link) function, and add a ‘0’ to the output, so the row lengths will be the same: time = [ 1 5 ...

2 Tage ago | 0

| accepted

Answered
Dynamic size differential equation system
I have absolutely no idea what you’re doing. Regardless, your ‘deqns’ function must have as two of its arguments your independe...

3 Tage ago | 0

| accepted

Answered
system of 5 eq and 5 uknowns, FSOLVE error
There are a few errors in your posted code. Corrected: syms Rsa Vsa P3 q Psa Rsab Vsab Csa Pic Rsv Rlv Pvb Rnet ABP Rla re...

3 Tage ago | 0

| accepted

Answered
System of 2 differential equations
The code you posted has errors, specifically unbalanced parentheses. I edited your equations to correct this, however I am not ...

4 Tage ago | 0

Answered
How can I decrease the running time of this code?
Use the diff (link) function: Ux = diff(X); Uy = diff(Y); Uz = diff(Z); When I timed your code and diff with these matrices...

4 Tage ago | 0

Answered
Is there a way to plot everything together using the surf command in matlab?
Use the hold function, and plot the surfaces in a loop. Try this: figure hold all for k1 = 1:size(N_diesel,3) surf(R...

4 Tage ago | 1

| accepted

Answered
Please Help Me Simple Question
Try this: digprice = @(depth) 6 + ceil(fix((depth+1)))*4; % Digging Price As A Function Of Depth dep = lins...

4 Tage ago | 0

Answered
Deactivation of a licence on a broken computer not possible
You need to deactivate it in the Licence Centre. See: How can I deactivate MATLAB on a machine I cannot access? (link).

4 Tage ago | 0

Answered
how to tabulate this results using fprintf?
You only have 5 format fields in your fprintf call. Try this (with all 8): fprintf('%2.0f %12.5f %12.5f %12.5f %12.5f %12.5...

5 Tage ago | 0

| accepted

Answered
Hi guys,i am beginner at matlab.Can you help me with that?I have a problem which is not plotting my values.
It is best to take the plot call out of the loop, and save thevariables as vectors to plot later. Try this: Ea = 100; m = ...

5 Tage ago | 1

| accepted

Answered
Return X coordinate of a fft plot where 80% of the total area under the curve is achieved
Try this: t = linspace(0, 10, 150); % Create Data y = sin(2*pi*t*3) .* cos(2*pi*t*2) + 0.01...

5 Tage ago | 1

| accepted

Answered
error using bandpass and pspectrum function
The pspectrum function was released in R2017b. Depending on what you want to do, use the spectrogram (link) function or the the...

5 Tage ago | 0

| accepted

Answered
when I "str2num'110110111'" I received 110110111 as the answer
I’m not certain what you’re asking. Try this: format long g q = str2num('110110111') returns: q = 110110111 See th...

6 Tage ago | 0

Answered
How to find point of intersection ?
Try this: blue = [1 5; 1 5]; % [x1 x2; y1 y2] red = [1 5; 3 2]; % [x1 x2; y1 y2] ...

6 Tage ago | 0

| accepted

Answered
simple formula to remove rows with repeated values in N x 2 matrix
The uniquetol (link) function (introduced in R2015a) allows you to set a tolerance. Also, setdiff does not have a tolerance opt...

6 Tage ago | 0

Load more