답변 있음
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...

대략 1년 전 | 0

| 수락됨

답변 있음
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 ...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

답변 있음
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...

대략 1년 전 | 0

| 수락됨

답변 있음
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 ...

대략 1년 전 | 0

| 수락됨

답변 있음
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...

대략 1년 전 | 0

| 수락됨

답변 있음
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...

대략 1년 전 | 2

| 수락됨

답변 있음
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...

대략 1년 전 | 0

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

대략 1년 전 | 1

답변 있음
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...

대략 1년 전 | 0

답변 있음
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(...

대략 1년 전 | 0

답변 있음
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...

1년 초과 전 | 0

답변 있음
[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 = ...

1년 초과 전 | 1

| 수락됨

답변 있음
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...

1년 초과 전 | 1

답변 있음
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...

1년 초과 전 | 0

답변 있음
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; ...

1년 초과 전 | 0

답변 있음
Powerline interference in ECG
Try this — Fs = 256; % Signal Sampling Frequency Fn = Fs/2; ...

1년 초과 전 | 0

답변 있음
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(...

1년 초과 전 | 0

| 수락됨

답변 있음
Detecting storms from wave height data
I am not certain what you want. Try this — load ('H.mat'); %3 hour data whos('-file','H.mat') threshold=1 % t = linspace...

1년 초과 전 | 0

| 수락됨

답변 있음
Płot sample of signal
The number of samples you need to plot is equal to the sampling frequeency multiplied by the number of seconds. Fs = 1000; t...

1년 초과 전 | 1

답변 있음
How to solve this equations using matlab code,I use solve but I have obtained a wrong and strange solution, and I don't know why.
It would help to have your code. See if using the vpa function will produce a moree understandable reesult, specifically: ...

1년 초과 전 | 0

| 수락됨

답변 있음
Process Reaction Curve: Ziegler-Nichols rules
I’m not certain that I understand what you’re asking. See if the System Identification Toolbox procest function will do what ...

1년 초과 전 | 0

답변 있음
Would you please help me to install and use FFmpeg?
Use your favourite search engine and the search string: ffmpeg windows I found several sites that apparently show how to do tha...

1년 초과 전 | 1

| 수락됨

답변 있음
Set decimal place for uitable
It may be necessary to create a string variablee or character array to get what you want, because MATLAB will use full precision...

1년 초과 전 | 0

| 수락됨

답변 있음
Reading data in MATLAB
Try this — % T = readtable('data_Labor1_CH1_AnAusSpannung.txt','VariableNamingRule','preserve') T = readtable('data_Labor1_CH...

1년 초과 전 | 0

답변 있음
Can someone help to teach how i want to upload this file into matlab and try preprocessing ?
See the documentation section on Import or Export a Sequence of Files. More specifically, I would do something like this: f...

1년 초과 전 | 0

답변 있음
Filtering nose and removing spikes at local areas
The findpeaks function may be an option, however it defines a peak as having a lower values on each side of it, so it will not p...

1년 초과 전 | 0

답변 있음
Can't access data using " .DateTime " string
Perhaps this — imshow(imread('peppers.png')) metadata = imfinfo('peppers.png') DateTime = datetime(metadata.FileModDate) ....

1년 초과 전 | 0

| 수락됨

답변 있음
Format scientific decimal place bar plot
I wrote some utility functions for just this purpose for my own use a few years ago. Try this — load('data_c.mat'); x = un...

1년 초과 전 | 0

| 수락됨

답변 있음
Trying to Filer Baseline Signal Noise - Getting Additional Peaks at High Frequencies
The problem may be your filter design. If you have R2018a or later and the Signal Processing Toolbox, use the highpass functi...

1년 초과 전 | 0

더 보기