Community Profile

photo

Star Strider


12.309 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
how to create timeline plot?
Try this: North = [datenum([2019 01 30]), datenum([2019 04 12]); datenum(2019,07,03) datenum(2019,08,25)]; Central = [datenum...

alrededor de 15 horas ago | 0

| accepted

Answered
How to color some region of plot?
I doubt if there is any one function that will do that, however it is not difficult. Using only the data you posted: Lv = y...

alrededor de 15 horas ago | 0

Answered
Plotting Weierstrass time series
There seems to be a scaling variable missing for ‘t’ in the ‘x(t)’ calculation, and your ‘t’ vector does not have fine enough re...

alrededor de 19 horas ago | 1

| accepted

Answered
Change the scale of a horizontal bar graph
I am not certain what you currently are seeing, or what you want. Try this: v = [0.1 0.3 0.2 0.4]; ...

alrededor de 21 horas ago | 0

| accepted

Answered
How do I create a 2 column matrix from my x and y data
Your data as you posted them are row vectors. Create column vectors from them to create ‘A’ by either doing a simple transpose ...

1 día ago | 0

| accepted

Answered
function f(x)=xe^x
Function Basics

1 día ago | 1

Answered
Finding the Velocity at Different intervals
You can solve the problem of varying numbers of elements in each iteration by using cell arrays for ‘v’ and ‘d’: for ii = 1:11...

1 día ago | 0

| accepted

Answered
When trying to use the Bar function it is saying it cannot find the newplot.m function
If you do: q = which('newplot.m','-all') you should get: q = 1×1 cell array {'C:\Program Files\MATLAB\R2019a\to...

2 días ago | 0

Answered
How can i find maximum value at each (x,y)location and the plane which contains it in a multidimensional matrix
Try this: M = 10; N = 15; A1 = rand(M,N); % Create Matrix A2 = rand(M,N); ...

2 días ago | 1

| accepted

Answered
how to use findpeaks function in matlab?
What does ‘is not working’ mean? An alternative function would be the islocalmax function (R2017b and later releases). Note ...

2 días ago | 0

Answered
How to combine two plots into one
Plot both data series on the same axes either in the same plot call, or use the hold function with two plot calls.

2 días ago | 1

| accepted

Answered
how can replace randi instead randint?
The appropriate Release Notes for R2016b says simply: ‘Replace all instances of randint with randi.’ According to this Answ...

2 días ago | 0

Answered
How do I fix this error? Not enough input arguments.
Your ‘a_p’ function has no idea what ‘a2’ and ‘b2’ are because you have not shared those with them. Try this: function valu...

2 días ago | 0

| accepted

Answered
matlab plot, interrupted line when y is zero
Try this, using your own ‘x’ and ‘y’ vectors: x = 0:10; % Create Data y = randi([0 5], 1, 1...

2 días ago | 0

Answered
How to draw an "error bar" between two points on a scatter plot
Without knowing what ‘(x1, y1) and (x2, y2)’ are, or what you want to plot, note that it is not necessary to draw lines with the...

2 días ago | 0

Answered
MATLAB R2019a plot function is not working
It would be helpful to knnow what ‘not working’ means. That aside, to be sure you do not have a variable named ‘plot’, run th...

2 días ago | 0

Answered
how to divide digital sequence into frames at timely basis
The Signal Processing Toolbox buffer function is an option. Choose the parameters depending on your sampling interval.

3 días ago | 0

Answered
Error in model function using fitnlm
Your model function arguments are reversed from what they should be. In all MATLAB objective functions for fitnlm, lsqcurvefit,...

3 días ago | 0

Answered
How to solve this system of ODEs
Another approach begins with using the Symbolic Math Toolbox to create functions for your equations: syms a b c d k x(t) y(t) ...

4 días ago | 0

Answered
how can I plot a unit step function?
The unit step function is also knoiwn as the heaviside step function.

4 días ago | 0

| accepted

Answered
Why it doesn’t work out?
It means you also need the Wavelet Toolbox.

4 días ago | 0

| accepted

Answered
How do you chop a number to a specified number of significant digits, not round
The print functions (such as sprintf and fprintf) round the result, so it is necessary to create more than the necessary number ...

4 días ago | 0

Answered
How to generate a set of variables with increasing numbers related to the indices of another array?
You can do that more easily with simple matrix-vector multiplication: z = y(:)*x producing: z = 1 1 1 2...

4 días ago | 0

| accepted

Answered
how to multiply values between arrays columns to rows and generate a new vector form each of the multiplication?
The operation you are looking for is not actually multiplication, it is convolution. Example: x = [ 1 1 1 ]; y = [ 1 2 3 ]...

4 días ago | 0

| accepted

Answered
writeTable won't take my parameters
The error was with table, not writetable. You are not creating the table correctly. Try this: titles={'the' 'hungry' 'dog'...

5 días ago | 0

Answered
I need turnover for last month from my table
Try this: dv = datetime({'01-Jul-2019 17:00:39'; '24-Jul-2019 14:00:18'; '01-Aug-2019 16:00:35'; '15-Aug-2019 15:40:24'; '21-A...

5 días ago | 1

| accepted

Answered
3d plot help
The description ‘Time at x-axis , cost at y-axis and Profit = revenue - cost at y-axis’ describes a 2D plot. Try this: D = ...

5 días ago | 1

| accepted

Answered
How can i find the intersection of two lines between points? One of the lines isnt well behaved
Try this: x = linspace(0, 1, 40); % Create Data y1 = 1.0592*ones(size(x)); ...

5 días ago | 1

| accepted

Answered
Plotting multiple piecewise functions onto the same graph
I coded and ran ‘y1’ as: y1 = @(x) ((0<x) & (x<1.85)).*sin(523.26*pi*x) + ((1.85<x) & (x<3.7)).*0 + ((3.7<x) & (x<5.55)).*sin(...

5 días ago | 0

| accepted

Answered
X axis is not displaying final value
We don’t have ‘t’ (or anything else). EDIT — Note that: q = 0:15:115; only goes out to 105, not to 115. The next valu...

5 días ago | 0

Load more