
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)
Statistiques
RANG
3
of 281 765
RÉPUTATION
63 722
CONTRIBUTIONS
0 Questions
19 491 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
8 916
RANG
2 594 of 19 058
RÉPUTATION
626
CLASSEMENT MOYEN
4.70
CONTRIBUTIONS
5 Fichiers
TÉLÉCHARGEMENTS
19
ALL TIME TÉLÉCHARGEMENTS
5832
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Content Feed
Figure not showing anything
It seems to work correctly here — Uz = unzip('wine.zip'); wine = readmatrix(Uz{1}, 'FileType','text') wine_content = wine(:,...
21 minutes il y a | 0
I need help graphing a function.
It probably should be a decaying sinusoid. The problem is that it decays too fast. Decreasing the magnitude of ‘t’ helps to ...
26 minutes il y a | 0
| A accepté
Find least frequent value in an array
One approach — H = [1 1 2 2 3 3 4 5 5 5]; [Hu,~,uidx] = unique(H, 'stable'); [Out,idx] = min(accumarray(uidx,(1:numel(uidx))...
environ une heure il y a | 0
Convert array of numbers to an array of padded strings
Use the compose function — stanums = 7:12; stastrings = compose("%02d", stanums) Note the format descriptor string. .
environ 3 heures il y a | 0
How to filter a certain range of values
I am not certain what you mean by ‘filt’ since I do not know if you want to keep those values or exclude them. M1 = readmatr...
environ 5 heures il y a | 0
Distance between 2 curves from one point
Using interp1 — % Gegebene Daten x = [29.069, 44.395, 59.528, 74.76, 90.036]; y = [0.07091, 0.076187, 0.081665, 0.087588, 0....
environ 6 heures il y a | 0
Graphics from 2D data
It would be nice to have ‘x’ since I suspect that ‘x(:,1)’ cycliically repeats. Using reshape to use the cyclic repeat informat...
1 jour il y a | 0
Bar plot with lower values not fixed
Use the patch function in a loop — x = (1 : 9).'; % Assume Column Vec...
1 jour il y a | 2
| A accepté
How to make column vector from existing column vector
Perhaps create a second table. Tzoomed = T(1:1000,:) Then refer to it as you would the original ‘T’ with respect to its var...
2 jours il y a | 0
My graph is not picking up my time increments, its suppose to have a nice curve, but its coming out as a straight line.
Vectorised version — clear Ts=30; % ms Td=60; % ms Chs=.001; % L/mmhg Chd=.015; % L/mmhg N=800; % number of elements t=0...
2 jours il y a | 1
How to plot circular phase in planar axis without lines going from ymin to ymax when data goes from -pi to pi?
I am not certain what result you want. The phase plots appear to be radian measure and otherwise relatively continuous, so see ...
2 jours il y a | 0
| A accepté
I'm trying to make a for loop that has if statments that use the increments from my i to run them. How can I make this work, it won't run.
It runs. For equalities such as you are using, use the any function. Try this — Ts=30; % ms Td=60; % ms sc=10^-3; % con...
3 jours il y a | 1
| A accepté
Cannot create .txt file in Matlab online
I am not certain what the problem is. Using fopen only creates the file ID, as you discovewred. To write the file, you need ...
3 jours il y a | 0
extract audio features from music
The spectralCentroid function was introduced in R2019a. You need to have that or a later release to be able to use it.
3 jours il y a | 0
MATLAB R2023a unusable on brand new desktop computer
Use Windows Task Manager and Resource Monitor to see what else is running and what resources are being used. Also R2023b is c...
4 jours il y a | 0
How can I replace random elements of a matrix with some definite respective values in a single line command?
You are using ‘’inear indexing, and that will definitely work, although I am not certain what you want to do. For a full expl...
4 jours il y a | 0
Getting Matrix Dimensions Error from Using "/", help with understanding problem?
Without knowing the sizes of the two arrays, one problem could be due to: totalbyhour = sum(count, 1); totalbyintersection = ...
4 jours il y a | 0
Combine a signal with AM noise
The array sizes are not compatible, and the signals must be sampled at the same rate. That is the problem, because that would r...
4 jours il y a | 0
| A accepté
Problems in using map
You are seeing floating-point approximation error. Changing the first loop slightly to check that: kount = 0; format long ...
4 jours il y a | 0
| A accepté
Plotting 'HH:MM' format times against the X axis
I am not certain what ‘decimal times’ are, however it appears that they might be something like ‘HHMM’ where all are four-digit ...
5 jours il y a | 0
I want my line graph to Overlap
I believe what you want is to put the variable name at the end of each plotted line. If so, try this — x = linspace(0, 2*pi...
5 jours il y a | 0
I have a problem in performing a loop calculation
I cannot understand exactly what you want to do or what the logic vector ‘d’ does. If you simply want to get the RMS value of...
5 jours il y a | 0
| A accepté
Find Average Peaks Function
The mean value of the function between any two peaks would be — x = linspace(0, 10, 250).'; filt_RLE = 50 * sin(2*pi*x*1.5) ....
5 jours il y a | 1
If statement for 2 different variables.
Try this — x = @(i,j) (10 / pi + j ./ sin(i-1)) .* cos(j .* (i-1) * pi); i = 2:6; j = 1:7; [I,J] = ndgrid(i,j); Iv = I(:...
5 jours il y a | 0
Plotting HSP in Matlab
Use the hold function — [x,y,z] = sphere; radius = 7.1; x = x * radius; y = y * radius; z = z * radius...
5 jours il y a | 0
Efficient way to run code multiple times
I would use the ndgrid function to create matrices from the parameters that you want to vary, convert the output matrices to ve...
5 jours il y a | 0
How can I do a 3D plot after simulation.
Try this — LD = load('output_a_f_LL_bus5.mat'); Data = LD.Id_6.Data; t = LD.t.Time; figure plot3(Data(:,1), Data(:,2), t...
5 jours il y a | 0
| A accepté
Anonymous function of a series of nonlinear equations to accept vector input
Either: f= @(x1,x2,x3) [x1.^3;x2.^2;x3.^2]; x=[1;1.2;1.3]; f(x(1),x(2),x(3)) or: f= @(x) [x(1).^3;x(2).^2;x(3).^2]; x=[1...
6 jours il y a | 1
Why can't I edit y label and x labels in matlab subplot figures (.FIG)
I’m not certain what the problem is. You can get the handles to each subplot with: Axsp = subplot(3,2,4); ...
6 jours il y a | 0
| A accepté
How to surface or mesh plot imported data?
‘... I need some commands that instructs MatLab that VarName1 and VarName2 are x and y respectively, while VarName3 is the z-coo...
6 jours il y a | 0
| A accepté