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)
Statistics
RANK
3
of 282,794
REPUTATION
64,080
CONTRIBUTIONS
0 Questions
19,572 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
8,970
RANK
2,595 of 19,075
REPUTATION
627
AVERAGE RATING
4.70
CONTRIBUTIONS
5 Files
DOWNLOADS
19
ALL TIME DOWNLOADS
5845
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
3d Plotting a decagonal pyramid
To change the side lengths, height, or all of them, multiply the appropriate dimensions by the appropriate scalar. To ask the u...
1 hour ago | 0
Why did the signal get delayed?
I am not certain what you intend by ‘delayed’. You are plotting a cosine curve, and the ‘ii1’ value is defined as being true wh...
1 day ago | 1
Count values in the given array
Try this — LD = load('matlab.mat'); AA4 = LD.AA4 [UAA4,ix1,ix2] = unique(AA4(:,1)); Zeros = accumarray(ix2, (1:numel(ix2))'...
1 day ago | 0
| accepted
How to change data stacking order for a single series in bubble charts?
MATLAB plotting functions generally plot in the order specified in the pllotting command, and later objects are plotted ‘on top ...
1 day ago | 0
extracting rows of data
Try this — T1 = readtable('07010000002.txt'); T1.Properties.VariableNames = {'V','I'} minI = min(T1.I)*0.99; maxI = max(T...
2 days ago | 0
Help finding cell array indices for unique characters in string names
Finding the matching substrings is going to be a problem because there are several options. I am not certain if the asterisk e...
2 days ago | 0
fprintf formatting problem with cell and array matrix
Eliminiating the newline character from the ‘Mix ratio’ fprintf statement: fprintf(fileID,' Mix ratio'); produces: ...
3 days ago | 0
| accepted
MATLAB Tools to Evaluate and Mitigate Sensor Noise
I am not certain that I understand the sort of processing you are doing. Some of the signal noise is broadband, however much o...
3 days ago | 0
Matlab: colorbar of contourplot only for specified contour levels
I cannot get the ticks exactly where I would like them, even doing my best to interpolate them. Perhaps this — [X,Y,Z] = pe...
3 days ago | 0
I've tried using MATLAB R2023b to generate bode plots and calculate DC gains of transfer function but I keep on receiving an error message: 'Wrong number of input arguments'
Wrong syntax. Use the tf function, not syms for Control System Toolbox functions. Try this instead — s = tf('s'); b =...
4 days ago | 0
Spectral Analysis of Water Wave Gauge Data
It would help to have the data. Be certain that the independent variable data are regularly sampled, so that the sampling fre...
4 days ago | 0
plot sine wave with exponent
I am not certain what you are asking. Try this — L = 30; % Signal Length (s) Fs =...
4 days ago | 1
| accepted
How to convert specified time to GMT/UTC?
Try this — DT = datetime({'18-Oct-2023 17:40:00' '18-Oct-2023 18:00:00'},'TimeZone','+05:00') DT_UTC = DT; DT_UTC.TimeZon...
4 days ago | 1
| accepted
error multiplying datetime (now) by 100 with *
I don’t understand summing a constant — sum(100) That aside, if you want to create a random datetime for a specific parti...
4 days ago | 0
problem plotting from function call
In general, global variables are not considered good programming practice, principally because the functions they are passed to ...
4 days ago | 0
| accepted
rotate 3D data
Use the rotate function. It will likely require a bit of experimenting to get it the way you want it. Example — imshow(imr...
4 days ago | 0
| accepted
How to inclusively extract rows of a large cell array between cells given start and end patterns?
type('sample_input.txt') fidi = fopen('sample_input.txt','rt'); k = 1; while ~feof(fidi) Line{k,:} = fgetl(fidi); ...
5 days ago | 0
| accepted
How I get area under the curve (AUC) value
The file is not provided, however it is not absolutely necessary for this. Try something like this — D = 0.1*randn(6,12000)...
5 days ago | 0
| accepted
How to group xlines in legend
Using plot to plot the vertical lines is straightforward — ax = axes; % p = xline(ax, [1 2 3], "g-"); p = plot([1;1]*[1 2 3...
5 days ago | 0
| accepted
filling missing value using linear interpolate in 2D
This works — T1 = readtable('GreenhouseData.xlsx', 'VariableNamingRule','preserve') VN = T1.Properties.VariableNames; T1(:,[...
5 days ago | 1
readtable with datetime, format problem
‘How do I properly read the date in the dd/MM/yyyy format?’ You need to tell datetime: DateTime = datetime('12/10/2023 00:0...
5 days ago | 1
| accepted
Read from text file between header and footer
One option is textscan — type('data.txt') fidi = fopen('data.txt','rt') C = textscan(fidi, '%f%f%f', 'HeaderLines',3, 'C...
6 days ago | 0
| accepted
How can I solve this nested symbolic function ?
It would be best to abandon the idea of using the Symbolic Math Toolbox here, since it is not necessary. You can do everythin...
7 days ago | 1
| accepted
Can I calculate the settling time in MATLAB?
Perhaps this — s = tf('s'); G = (7507.852*s^3 - 37030.228*s^2 - 70479.368*s + 100001.744) / (s^5 + 50*s^4 + 1000*s^3 + 10000....
7 days ago | 0
how to add percentage symbol (%) in a label
The approach seems to work here using synthetic data — % x=table{:,"Xvalues"}; % y=table{:,"Yvalues"}; x = 1:5; y = round(r...
7 days ago | 0
| accepted
Getting an equation from a signal transfer function
‘I would like to get a mathematical expression for that transfer function’ If you have access to the System Identification To...
8 days ago | 0
Error using for-loop, keep getting "Index in position 1 is invalid. Array indices must be positive integers or logical values."
The variable and the function have the same names. Change the function name and it works — %% Using single-temperature to p...
8 days ago | 0
FFT Analysis Issue: Unexpected Harmonic Multiples in Vibration Signal Frequency Plot
It appears that the fft plot as actually a double-sided fft that the function normally produces. The ‘frequencies’ should pro...
8 days ago | 0
Import data from file
This segments some of the file information into 31 individual cells of character vectors . I have no idea what you want from th...
8 days ago | 0
make separate table for sets of lat lon that appears x times in a big table.
Use accumarray for this, however we may not be discussing the same file — T1 = readtable('who_ambient_ai...3_(v6.0).xlsx', 'Sh...
9 days ago | 1