Community Profile

photo

Star Strider


Last seen: Today
14,413 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.

連絡する

Star Strider's バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
How to use regexp to extract data?
Try this: tdata = {'XX__TG','GB_TH','BN__TH'}'; Out = regexp(tdata, '__|_','split') with: Out{1} Out{2} Out{3} producin...

約11時間 前 | 0

回答済み
Integral with specific range (i.e t = 0:0.1:1)
Do the integration in a loop for each value of ‘t’: function lc = intensityc(t) B = 2; ac = 0.4; lc = (B/ac)*((...

約11時間 前 | 0

回答済み
Solving using ODE45
I am not certain what you are doing. One problem is that you would have to iterate over ‘n’ with a loop, because otherwise t...

約11時間 前 | 0

回答済み
Unable to perform assignment because the left and right sides have a different number of elements.
The problem is that ‘E’ is a (1x1001) vector. That could normally be fixed by simply subscripting it (as you did ‘mu1’ in that ...

約12時間 前 | 0

回答済み
The input command problem
Yes! Although for a string input, use the 's' option: A=input('please insert your name','s') For what it’s worth, I prefer...

約12時間 前 | 0

回答済み
Loglog plot not plotting anything
The logspace call is wrong. If you want ‘f’ to go from 10 to , call it as: f = logspace(1, 9, 50); That creates a 50-eleme...

約12時間 前 | 0

回答済み
odearguments error for fitting data with system of ODEs
The ‘dydt’ definition should be: dydt = [0; 0]; that would define a column vector. The differential equation runs correctrly...

約12時間 前 | 0

回答済み
set color for scatter plot
The colour of the markers is the fifth argument, so: scatter3(pdXX, pdYY, pdZZ, 5, pdZZ,'filled') This is a bit more obvious ...

約18時間 前 | 0

| 採用済み

回答済み
store iterative solutions to matrix
Define the range of the independent variables as vectors, then use the ndgrid function to create matrices from them that you can...

約18時間 前 | 0

回答済み
How can I replace the high pass filter with a Bandpass filter? (New to matlab)
If you supply the two passband frequencies between 0 and 1 as a vector (frequencies in Hz normalised by the Nyquist frequency), ...

約20時間 前 | 1

| 採用済み

回答済み
need help convertig 10 min data interval to 1 minute data interval
Convert your data to a timetable and use the retime function. See: Create Timetables for more information.

1日 前 | 0

回答済み
Dividing in Polar format
This is phasor notation, and derives from the Euler identities. Divide the numerator magnitude by the denominator magnitude, ...

1日 前 | 0

回答済み
Parameter Estimation for a System of Differential Equations
Using this version of ‘kinetics’ (that also estimates the initial conditions for ‘DifEq’), function C=kinetics(k,t) c0=k(5:8)...

1日 前 | 0

| 採用済み

回答済み
Convert Data from array
I am not certain what your data are, or what you want to do. One option for reducing the size of the array and still getting ...

2日 前 | 1

回答済み
How to find out lag between two signals ?
One option is the finddelay function. There are related functions linked to in and at the end of that documentation page.

2日 前 | 0

回答済み
Matlab Function from code
See the documentation on Function Basics.

2日 前 | 0

回答済み
Index in position 2 is invalid. Array indices must be positive integers or logical values.
My guess is that the problem is using ‘Y(iter)’ and ‘K(ik)’ as indices in that assignment. They may not be integers greater tha...

2日 前 | 1

回答済み
Accessing values in a Cell Array using Index Values stored in another array
That requires a bit of cell array gymnastics: NewVector = [1.5 1.5 2.1 2.2 2.2 2.2 2.2 0.9 0.8 2.4 2.3 2.8 2.4 2.9 3.1]; New...

2日 前 | 0

| 採用済み

回答済み
How to reshape an array horizontally
Using the reshape function: text1 = ['words'; 'words'; 'words'] text2 = reshape(text1', 1, []) producing: text1 = 3×5...

2日 前 | 2

| 採用済み

回答済み
Unable to perform assignment because the left and right sides have a different number of elements.
Subscript the vectors in the loop that calculates the new values: for i=1:nIterations-1 S(i+1)= S(i)-dt.*(h.*S(i)+rho.*I(...

2日 前 | 2

| 採用済み

回答済み
How to plot a values inside a while loop .
The easiest way is to store the intermediate results, then plot them at the end: while t<176400 H=3600; fprintf('\t\...

2日 前 | 0

回答済み
taking samples from a vector
Try these: D = load('psi.mat'); psi = D.psi; % (10962 x 1) Every5 = psi(1:5:end); ...

3日 前 | 0

| 採用済み

回答済み
String to Datenum Format using opts and Setvaropts
Try reading those in as strings, then doing the conversion later: t = repmat('20200721T145002Z', 5, 1); ...

3日 前 | 0

回答済み
specifying the horizontal linetype '_' produces an error.
Function arguments in MATLAB are positional, so it is necessary to provide values for the interventing arguments to use later ar...

3日 前 | 0

回答済み
Shade the region above the graph
Try this: % Maximum speed rho = 0.002378; % at sea level Vmax = 987.48; K = 0.0397887; rho30 = 0.00089; rhos = 0.374; % ...

3日 前 | 0

回答済み
How do I filter out unwanted frequencies from an audio file?
It would appear that the ‘mirror image’ refers to the complex double-sided Fourier transform. In addition to fft, you will li...

3日 前 | 0

| 採用済み

回答済み
More than one frequencies
Multiply the two tones (modulate the 440 Hz with the 400 Hz) to get the ‘beat’ effect you want: sound(s, Fs) ...

3日 前 | 0

| 採用済み

回答済み
How to graph a function with a parameter that changes with time.
It is straightforward to define and calculate the result of ‘y’ while varying both ‘t’ and ‘x’ at the same time, using matrix ar...

4日 前 | 0

| 採用済み

回答済み
How to scale an axis on a plot in powers of 10?
Set xlim to the limits you want. Example — x = logspace(5, 6, 25); % Create Data y = rand(size(x)...

4日 前 | 0

| 採用済み

回答済み
ODE solvers - passing parameters
It is actually a bit more involved than simply passing parameters when you are using the function with any of the ODE solvers (o...

4日 前 | 0

Load more