Réponse apportée
Default output for ps in the spectrogram function
Apparently the default for spectrumtype is 'psd'. At least that’s how I read it.

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Can we generate best fitted nonlinear equation between 4 inputs and 1 output, if we dont know the equation initially
Ideally, the nonlinear objective function is a mathematical model of the process that created the data. Otherwise, there are ...

plus de 2 ans il y a | 0

Réponse apportée
Loading variables to a specifc workspace
One option to transfer specific variables to your script (calling) workspace would be to include them as outputs of your functio...

plus de 2 ans il y a | 0

Réponse apportée
How do you express the root locus for k in MATLAB
Perhaps something like this — K = 1:3; % Define: 'K' (Vector) s = tf('...

plus de 2 ans il y a | 0

Réponse apportée
Draw the surface of a two variables function
All the variation occurs near the centre of the surface. You can begin to see that in the contour plot using surfc, however to ...

plus de 2 ans il y a | 0

Réponse apportée
how to plot different horizontal lines over each group of bar plot
Try something like this — A = (5+rand(10))/6; figure hb = bar(A); for k = 1:numel(hb) xep(k,:) = hb(k).XEndPoints;...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Plotting Multiple Shaded Uncertainties
That appears to be correct, although it would be necessary to provide the data to check for any errors. You can prevent the p...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Matrix dimensions do not match
Either ‘z’ or ‘jd’ has to be a (16x1) double for that to work. That discrepancy is throwing the dimension error. .

plus de 2 ans il y a | 0

Réponse apportée
textscan syntax help converting file
Try something like this — Array = {'Item1', 2526976, 8, 14, 11, [224,224,137,80] 'Item2', 2526976, 8, 18, 15, [224,2...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Scatter Plots, for Rolling data
I am not certain that I fully understaznd what you want to do. Probably the easiest way to do that (without actually deleting a...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Having trouble with confidence bands on Kaplan-Meier curve
You have one typographical error. This assignment: lower2 =datatable.Cohort1SurvivalProbability95CILower; should instead b...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
p values equal to 0
The ‘pValue’ of 0 means that with extremely high degrees-of-freedom (estimating 4 parameters with 2229207 observations) and appa...

plus de 2 ans il y a | 1

Réponse apportée
How do get 'plumblines' for scatterplot points?
Use the stem3 function. If you want to colour the points, use something like this — figure stem3(X, Y, Z) hold on scat...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
what's the index exceed error?
The indexing problem is that ‘sig’ is preallocated as a vector: sig = zeros(1,405); % Preallocate the array Preallocating it ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to put time column at X axis from timetable against column 2,3,4 Y axis.
Perhaps something like this — TT = readtable(path_to_file); TT.Time = datetime(TT.Time, 'InputFormat','yyyy-MM-dd''T''HH:mm:s...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Finding a definite integral
Use the 'ArrayValued' name-value pair with integral — u = [0.1600 0.1600 0.1599 0.1599 0.1597 0.1596 0.1594 ...

plus de 2 ans il y a | 0

Réponse apportée
Removing Error Data from Table
This is definitely an interesting problem, and one I have thought about at other times. I am not certain that I have complete...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Making an irregular cylinder using surface plotting
Here is one approach — S = rand(60,12); S = S.*((0:59).*exp(-0.1*(0:59))).'; figure surf(S) colormap(turbo) axis('equal...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Voltage find maximum of data
Try this — Table_1 = readtable('noise.txt'); Table_1.Properties.VariableNames = {'Time','Voltage'}; %Filter Filtered_Vol...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Smooth 2D colormap based on non-evenly distributed data
I am not certain that I understand what result you want. Try this — data = readmatrix('Data.txt'); figure scatter3(data...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Discrete filter bode shows wrong results
The fault, if there is one, is in not understanding the Control System Toolbox conventions. Addition creates a system with the ...

plus de 2 ans il y a | 0

Réponse apportée
two versions of filter response
The only ones that I am aware of are the time domain response (showing both the unfiltered and filtered versions of the input si...

plus de 2 ans il y a | 0

Réponse apportée
griddedInterpolant error "Interpolation requires at least two sample points for each grid dimension."
The interpn function could be an option. You will need to experiment with the ndgrid function to determine how best to reshape ...

plus de 2 ans il y a | 0

Réponse apportée
power of 10 problem
‘... values of for example pressure were imported as text and not as number’ Use the str2double function to convert them to n...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I open .bin file and transform data to .txt file
A ‘4-byte float’ is probably 'float32' (possibly 'real*4'), so one of those should work for the ‘precision’ argument in fread. ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
12 Lead ECG Problem
See Detecting QRS complex in ECG signal and how can I get cardioid graph from ecg QRS complex? for representative examples.

plus de 2 ans il y a | 0

Réponse apportée
Unrecognized function or variable 'knnimpute'
If you installed the Toolboxes using the installer, MATLAB should be able to access them. Your posted code works here — dat...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I find the minimum between a matrix and a varying matrix function? I get "Error in fmincon (line 563) initVals.f = feval(funfcn{3},X,varargin{:});"
There is one typo (. where _ should be) in: eps_dried = eps_dried.I3.epsilon; so change that to: eps_dried = eps_dried.I3_e...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
How to get data points from graph
Getting information from .fig files has changed over the years. This approach works with the most recent releases. Use the f...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
unsupervised thresholding of signal amplitudes: MLE?
I encourage you to investigate the ‘prominence’ values of the peaks. This is not a straightforward concept to define (see the f...

plus de 2 ans il y a | 0

| A accepté

Charger plus