Beantwortet
How to correct for multiple comparisons when using fitlm function?
None of the linear regression coefficients are even remotely significant (other than the Intercept). A linear regression is l...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
extract fig into surf(x,y,z)
One way is tto enlarge the y-values to a matrix using repmat and then offset them by adding a different constant to each column ...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to use "predict" to get x value for a given y value?
I generally use the interp1 function to return x-values given y-values. That generally goes something like this — x = lins...

fast 2 Jahre vor | 0

Beantwortet
I need help converting this 3d plot to a surface
Plotting it as a surface will probably require creating matrices from the vectors. Just looking at the images, that will probab...

fast 2 Jahre vor | 0

Beantwortet
How to read each column of a .BIN file as a different variable
I suggest using ‘ArduPilot Log Viewer’ once to see what the format of the file should look like (and check to be certain that ...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
isolate function is not providing multiple solutions to a polynomial problem?
Apparently isolate does not, however solve does — syms x a b c eqn = a*x^2 + b*x + c == 0; xSol = solve(eqn, x) pretty(xS...

fast 2 Jahre vor | 0

Beantwortet
Spectrometer signal processing.
One approach — Data = {1729167932375 '13:25:32.375' 405650.13 1729167932475 '13:25:32.475' 400621.04 17291...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
Why do each curve appears to be two when I zoom in on them?
Your code must be plotting them that way (original and one with a slight offset). We cannot determine what you are plotting wit...

fast 2 Jahre vor | 0

Beantwortet
How to extract the term associated with a symbolic variable and assign to another symbolic variable?
Useee theee function to find an expreessiion for — syms R_v L_v L_ph U_s U_i w s U_sr U_si real syms Z_v Z Y S sympref('Ab...

fast 2 Jahre vor | 0

Beantwortet
How to express rest of expression in terms of other variables
Try this — syms p K_B Phi_V Phi_G s K_i K_p real; Phi_G = p/s*(K_p + K_i/s) Eqn1 = p == K_B*(Phi_V - Phi_G) Eqn2 = isol...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to calculate the average of each column without taking zeros values
Try thiis — matrix = [1,3,5,0,0,0; 2,0,3,4,0,0; 3,0,0,3,0,1;4,2,2,1,8,2; 5,3,3,0,5,0; 6,7,0,0,2,0] matrix(matrix == 0) = Na...

fast 2 Jahre vor | 0

Beantwortet
Fitting and predicting from 3D data
I do not know what your data matrices are, however the scatteredInterpolant function could work.

fast 2 Jahre vor | 0

Beantwortet
How to change the color of the line in the legend of the figure?
It would help to have your code and data. The legend entries correspond to the lines being plotted, and if there are more tha...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Trying to make the plot of potency along Z that is a decaying exponential but it goes straight to zero
I am not certain what you are calculating. The ‘integral_value’ value gets very large very quickly, so ‘Pas’ decays quickly ...

fast 2 Jahre vor | 0

Beantwortet
Ways to Apply filter for Signal
A loop may be appropriiate. Put the fiilters in a cell array, and then call each filter with its appropriate signal. Example...

fast 2 Jahre vor | 0

Beantwortet
how can one assign specific colors to bars in scatterbar3?
Edit the function to return the ‘h’ vector (of patch handles) and then experiment with setting the 'FaceColor' (and perhaps 'Edg...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
plotting a line from a parameter form
In your isolate call, no longer exists as a variable. You can create ‘g3’ eartlier in the code (when it does exist), and then ...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to get a scalar from MATLAB
Probably the easiest way to do what you want is to use the dot function — A=[1:50]; B=[1:50]; rp = dot(A,B) It doesn’t car...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Confusion in matrix multiplication and dimensions
Since there are several signals in the matrix being plotted, one option would be to plot them in 3D instead. Those optioons cou...

fast 2 Jahre vor | 2

| akzeptiert

Beantwortet
Why does a marketing web page open every time I use documentation?
I am not certain that I can reproduce the behaviour that you report (although I am not certain that I understand what it is). W...

fast 2 Jahre vor | 0

Beantwortet
butterworth 필터 적용시 신호 발산
I am not certain what you are asking. Fs = 32768; %data_signal의 sampling 주파수 n = 6; %butterworth 필터 차수 wn = 5; %cut off fr...

fast 2 Jahre vor | 1

Beantwortet
why am I Unable to overplot a line on a surface plot?
Plotting on the surface itself is straightforward. It simply requires using the scatteredInterpolant function to create and plo...

fast 2 Jahre vor | 0

Beantwortet
Put arrow and its value in a plot
The 'textarrow' coordinates have to adapt to the data and then correct for the reversed y-axis direction. Try this — load(...

fast 2 Jahre vor | 0

Beantwortet
Hi, How can I create an FIR from difference of two impulse responses?
I slightly changed your original code here, in order to define my questions about it. It is possible to use the firls functio...

fast 2 Jahre vor | 0

Beantwortet
[ideas wanted]: How to find "peaks" of sloping signal?
The online ability to run scripts seems to be broken. I used MATLAB Online to devise this — % LD = load('data.mat') file = ...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
Computing error and plotting its graph
The reason the code fails is that: abs(x1-xx) is a (1 x 51) vector (because ‘x1’ is also a (1 x 51) vector), and it’s not pos...

fast 2 Jahre vor | 1

Beantwortet
Calculating the aortic flow downstream valve using Womersley and 3-element Windkessel model calculations from my FSI results - Why unusual sine waves at the end of flow curve?
I’m not familiar with your abbreviations. FSI = ? STJ = ? Beyond that, your code runs without error. Please explain what...

fast 2 Jahre vor | 0

Beantwortet
generate white noise signal with certain bandwidth?
The filtered signal iis no longer a white-noise signal, although the original signal is. Try this — Fs = 1000; ...

fast 2 Jahre vor | 0

Beantwortet
Powerline interference in ECG
Try this — Fs = 256; % Signal Sampling Frequency Fn = Fs/2; ...

fast 2 Jahre vor | 0

Beantwortet
How can I solve this confidence level error?
You are plotting it incorrectly. Use this: loglog(f_pressure, Pxxc_pressure, 'r', 'LineWidth', 1.5); instead of: loglog(...

fast 2 Jahre vor | 0

| akzeptiert

Mehr laden