
Star Strider
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. Time Zone: UTC-7 (Standard); UTC-6 (Daylight Savings/Summer)
Feeds
How to change values from negative to positive and vicer versa in a loop
I am not certain that I understand what the problem is. If you want to change the signs, I would simply multiply the vectors ...
4 hours 前 | 0
How to fix a code?
I believe it was getting confused by two different uses of ‘t’ in the ode45 argument list. When I added ‘t_vector’ and used tha...
6 hours 前 | 0
Match name to axis value in chart
Apparently, you want to put all the labels in the negative part of the y-axis. Try this — load('matlab_pl.mat') stem(p...
22 hours 前 | 0
| 已接受
How to Change the Font Size of MATLAB 2024b UI in Ubuntu 24.04.2 LTS?
Right-click on any area of the desktop background. This brings up a menu. Click on Display Settings, then Displays. Choose t...
2 days 前 | 0
Error Plotting Magnitude Spectrum of Fourier Transform With fplot
Your code just needed to be tweeaked a bit. I changed the plot lilmits to show more of the function. Try this — syms t w ...
3 days 前 | 0
help with nested loops
You don’t actually need nested loops (or for that matter, any loops) to calculate those in MATLAB. Texplore=[0 100 200 300 40...
3 days 前 | 0
Graph with raw data points for four groups in three treatments
Your best option may be the swarmchart function. There are related versions (inicluding one in the Statistics and Machine Learn...
5 days 前 | 0
graphreader tool to extract values from graph images
There are some File Exchange conntributions that can do that. Two that appear to be well-regarded are Graph Digitizer and the...
7 days 前 | 0
EEG sequencies visualization ideas
Based oin your description, my choice would be tiledlayout. It would be relatively straightforward to put each sequence in a ve...
7 days 前 | 0
Curve Fitting Young's Modulus for Stress Strain Curve
I am not certain what you want to do. To fit the initial linear portion of the curve, you can either usee polyfit or mldivide, ...
10 days 前 | 0
How to calculate the period of the 6th wave in my data when I dont have the equation of the wave
I’m not sure what the ‘6th wave’ is. The problem is that you need to give findpeaks a bit more information. Here, I added Mi...
10 days 前 | 0
How can I use Interp1 here instead of ismembertol?
That might be possible. The interp1 function requires two vectors of equal size, and then returns the interpolated value of the...
10 days 前 | 0
| 已接受
How can I change a variable and collect an vector of outputs?
One approach is to define a vector of ‘V’ values and then iterate. Try something like this — % process Parameters V = 10 %...
10 days 前 | 0
| 已接受
How to automate creating separate timetables?
Creating separate variables for each one is definitely not recommended. One option would be to create them as cell arrays, fo...
12 days 前 | 0
toolbox functions not working
Sometimes this can be due to path problems. Running these: restoredefaultpath rehash toolboxcache from a script or you...
12 days 前 | 0
How to flip a scatter3 plot?
I am not quite certain what you want. Perhaps this — xyz = rand(50,3) figure scatter3(xyz(:,1),xyz(:,2),xyz(:,3),25,xyz...
13 days 前 | 0
Getting error installing Matlab on Linux
See this recent search for potential solutions.
14 days 前 | 0
Fittg covid 19 SEIRD model
See: Parameter Estimation for a System of Differential Equations among other examples on how to do this.
14 days 前 | 1
Why do I get conj(L)
The Symbolic Math Toolbox assumes all variables are complex, so it adds the conj to be complete. Specifying that the variables ...
15 days 前 | 0
| 已接受
how to plot a certain level in a contour?
Extracting the contours for a specific level is straightforward. Try this — [x,y,c] = peaks(20); cilevels = [0.0,.005,0.01...
15 days 前 | 0
| 已接受
How do you return computational time and memory allocated during function call?
There are a few functions you can use for timing, one of which is the tic, toc pair. Most current recommendations are to use du...
16 days 前 | 1
how to plot (0 1) matrix on figure
I am not certain what you intend by ‘dot plot’, however the spy function exists to do just that, if you only want to depict the ...
17 days 前 | 0
| 已接受
Programmatically find fzero of two RCL functions
It seems that the curves don’t intersect. The ‘funcVR’ function never crosses zero, although the ‘funcVL’ function does — f...
17 days 前 | 0
| 已接受
Finding x and y values of minimum z in 2-variable function.
Is there a particular reason to use that sort of iteration? MATLAB has a number of optimization funcitons you can use, with fmi...
18 days 前 | 0
way to legend a data organized into colours in simple plot?
I am not certain what you want. One option — first_data = [[3 4 8 1];[3 6 4 9]]; % desired legend (first) & color (green) ...
19 days 前 | 1
| 已接受
I'm trying to plot a graph with if than statements but keep getting the error "Array indices must be positive integers or logical values."
The definition of ‘positive integer’ are integers greater than zero. So use: for i=(1:n) instead of: for i=(0:n) There...
19 days 前 | 0
| 已接受
period segmentation of wrist pulse signal
See: Combining repetitive curves into one average curve for an example. This demonstrates how to segment them and also how to c...
20 days 前 | 0
I am receiving an Error using plot
Use the matlabFunction function, evaluate it with ‘t’ and then plot — m1 = 49/1000; m2 = 31/1000; l1 = 0.5; l2 = 0.5; M = ...
20 days 前 | 0
| 已接受
How to create a sound like this?
Firstt, look to see what their spectrograms reveal — uz = unzip('examples.zip') for k = 1:numel(uz) fn = strrep(string...
22 days 前 | 0
graph the function using ezplot() and plot()
Perhaps this — syms x y % 2y^2 = -3x^3+5x , -2.5≤x≤2.5. Eqn = 2*y^2 == -3*x^3+5*x % Add O...
22 days 前 | 0